[roll] Roll fuchsia [trace] Add Custom Track API to Rust bindings

This introduces a dedicated Track API to the fuchsia_trace Rust library,
wrapping Virtual Threads (VThread) under the hood to allow developers to
easily group related status and state-machine events onto a named process-scoped
track.

This avoids having to hack with async events, prevents track name typos,
and offers safe RAII complete duration macros (track_duration!).

Also includes an integration test to verify in-memory FXT output and
updates the tracing documentation.

Original-Original-Bug: 394080630
Test: fx test rust-trace-test (verifies correct FXT record sequence)

TAG=agy
CONV=c9c1f893-692f-4659-a715-95805038c2c1

Original-Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1609249
Original-Original-Revision: 50548cf097d5760986740f5febbb1ec9cd52b245
GitOrigin-RevId: c03e43e1c745b112cde55ed7a8fc044d4899971b
Change-Id: Ic94910f0b8cae8b232ff599e4d733691b5c0fc4b
Reviewed-on: https://fuchsia-review.googlesource.com/c/integration/+/1630547
Cr-Commit-Position: refs/heads/main@{#193642}
1 file changed
tree: 6403adceee0a4e82efa46696fa2a01d183ff5573
  1. ctf/
  2. git-hooks/
  3. infra/
  4. third_party/
  5. cobalt
  6. flower
  7. jiri.lock
  8. MILESTONE
  9. minimal
  10. prebuilts
  11. README.md
  12. stem
  13. test_durations
README.md

Integration

This repository contains Fuchsia's Global Integration manifest files.

Making changes

All changes should be made to the internal version of this repository. Our infrastructure automatically updates this version when the internal one changes.

Currently all changes must be made by a Google employee. Non-Google employees wishing to make a change can ask for assistance in one of the communication channels documented at get involved.

Obtaining the source

First install Jiri.

Next run:

$ jiri init
$ jiri import minimal https://fuchsia.googlesource.com/integration
$ jiri update

Third party

Third party projects should have their own subdirectory in ./third_party.