[fidlcat] decode traces

With the option --from=trace, fidlcat is able to read a program trace
and replace all the syscall dumps by their decoded version.

For example:
Attempting to connect to the daemon. This may take a couple seconds...
syscall 0x7ffc90bd25b8 channel_create 1623951365995328698 2821426 2821426 1 2 0
syscall 0x7ffc90bd2bb0 startup 2821426 2821426 Channel(1) dir /svc
syscall 0x7ffc90bd3bd8 channel_create 1623951365995367083 2821426 2821426 9 a 0
syscall 0x55fdf4fdb750 channel_write_etc 1623951365995377909 2821426 2821426 1 24 1
syscall 0x55fdf4fdb750 write_bytes 00 00 00 00 00 00 00 01 ab 89 f9 f2 d9 06 68 55 ff ff ff ff 00 00 00 00
syscall 0x55fdf4fdb750 write_etc_handle 0 0000000a 0000000e 4 0
syscall 0x55fdf4fdb750 write_status 1623951365995394610 0

Will be replaced by:
Attempting to connect to the daemon. This may take a couple seconds...

1623951365.995329 FfxDoctor 2821426:2821426 zx_channel_create()
1623951365.995329   -> ZX_OK (out0: handle = Channel:00000001, out1: handle = Channel:00000002)

1623951365.995367 FfxDoctor 2821426:2821426 zx_channel_create()
1623951365.995367   -> ZX_OK (out0: handle = Channel:00000009, out1: handle = Channel:0000000a)

1623951365.995378 FfxDoctor 2821426:2821426 zx_channel_write_etc(
    handle: handle = Channel:00000001(dir:/svc), options: uint32 = 0)
  sent request fuchsia.overnet/HostOvernet.ConnectServiceConsumer = {
    svc: handle = Move(Channel:0000000a, ZX_RIGHT_TRANSFER | ZX_RIGHT_READ | ZX_RIGHT_WRITE)
  }
1623951365.995394   -> ZX_OK

Change-Id: Ie725722998e15f15b5a744d84b5b95b7161c7f98
Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/542391
Reviewed-by: Jeremy Manson <jeremymanson@google.com>
Reviewed-by: Michael Jones <michaelrj@google.com>
Commit-Queue: Vincent Belliard <vbelliard@google.com>
13 files changed
tree: c3b09bd69861e97c3129a4bee5902bbf2a4c60a4
  1. boards/
  2. build/
  3. buildtools/
  4. bundles/
  5. docs/
  6. examples/
  7. garnet/
  8. products/
  9. scripts/
  10. sdk/
  11. src/
  12. third_party/
  13. tools/
  14. zircon/
  15. .clang-format
  16. .clang-tidy
  17. .git-blame-ignore-revs
  18. .gitattributes
  19. .gitignore
  20. .gn
  21. .style.yapf
  22. AUTHORS
  23. BUILD.gn
  24. CODE_OF_CONDUCT.md
  25. CONTRIBUTING.md
  26. LICENSE
  27. OWNERS
  28. PATENTS
  29. README.md
  30. rustfmt.toml
README.md

Fuchsia

Pink + Purple == Fuchsia (a new operating system)

What is Fuchsia?

Fuchsia is a modular, capability-based operating system. Fuchsia runs on modern 64-bit Intel and ARM processors.

Fuchsia is an open source project with a code of conduct that we expect everyone who interacts with the project to respect.

Read more about Fuchsia's principles.

How can I build and run Fuchsia?

See Getting Started.

Where can I learn more about Fuchsia?

See fuchsia.dev.