commit | 4dc08287cdb7125ab1afbc98efb982568196a3ae | [log] [tgz] |
---|---|---|
author | Zim <zezeozue@google.com> | Tue May 23 19:37:26 2023 +0100 |
committer | Zim <zezeozue@google.com> | Thu May 25 10:46:46 2023 +0100 |
tree | fff7bca6984e9f38dcc9f2573bc03b9e662b8e07 | |
parent | 603af5820895ff5b344fd8b2b7e90a5336f2de30 [diff] |
[trace_processor] Improved sched_wakeup attribution 1. Created a spurious_sched_wakeup table Schema: - ts - thread_state_id - irq_context - utid - waker_utid This table will strictly hold wakeup information missing from the thread_state table, i.e. wakeups that occurred while a thread was already running 2. Added an irq_context column to the thread_state table to tell if a wakeup occurred in interrupt vs process context. 3. Added the raw common_flags into the raw table. This is the ftrace flag that is used to derive the irq_context value. Change-Id: I42c8f84d09c4b4853d8df86831efcf746b3475a0 Test: tools/diff_test_trace_processor.py out/android/trace_processor_shell
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.