commit | bd532747c05e60bf3b99c20d4ac6ebf7db5adef7 | [log] [tgz] |
---|---|---|
author | Zim <zezeozue@google.com> | Thu Jul 27 12:34:27 2023 +0100 |
committer | Zim <zezeozue@google.com> | Thu Jul 27 16:50:17 2023 +0100 |
tree | 3c39399b68655941d5eaea0280d2d133db7a4732 | |
parent | ab16995d92ae1354633b3025682bc34c29411c20 [diff] |
[tp]: Fix runnable state after process fork We already parsed the task_newtask ftrace events which tell us when a new thread is created including process forks. Unfortunately, in the process fork case, we didn't actually open a runnable state. Fixed by simply opening a runnable state in the process fork case. Test: tools/diff_test_trace_processor.py out/android/trace_processor_shell Test: ./out/android/perfetto_unittests Bug: 287930911 Change-Id: I991a3685a8124d90617b9ea1a22d390428f3cf5d
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.