[Fuchsia] Use ThreadId to identify threads GetThreadId() was returning thread handle. Handles are process-specific, so they cannot be used as identifiers. Updated GetThreadId() to return thread KOID, which is consistent with how threads are identified elsewhere (e.g. in `ps`). Bug: 1166873 Change-Id: Id4fc726503ff3d5d5e948a082b3761f75a7e6584
Perfetto is a production-grade open-source stack for performance instrumentation and trace analysis. It offers services and libraries and for recording system-level and app-level traces, native + java heap profiling, a library for analyzing traces using SQL and a web-based UI to visualize and explore multi-GB traces.
See https://perfetto.dev/docs or the /docs/ directory for documentation.