commit | 0203514227cc970ad74249b2fab5d1751023ad0f | [log] [tgz] |
---|---|---|
author | Nikita Ioffe <ioffe@google.com> | Thu Mar 02 16:57:35 2023 +0000 |
committer | Nikita Ioffe <ioffe@google.com> | Thu Mar 02 16:57:35 2023 +0000 |
tree | 05f35c05a92a08d88fa62f7bea9cbffab8bbd9e5 | |
parent | 4bda78645d1d23a98473b793bc532a3ebff6c7f9 [diff] |
Add hyp_enter and hyp_exit hypervisor events and show them in UI Hypervisor events are similar to the ftrace evetns, however they don't have a pid. In order to work around this issue, ftrace_parser uses the pid 0 when processing hypervisor events. Support for showing them in the UI is quite basic so far. Once trace_processors sees a hyp_enter event it will start a slice on the corresponding pKVM Hypervisor CPU track. Once it sees hyp_exit event, it will end the slice. Bug: 249050813 Test: ui/run-dev-server Change-Id: Ic6393bb5e11c004e0c5d0486bbe11925a4f198d0
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.