sys_stats: add tracking of cycles stolen by host for executing something else than the guest (#1141) When tracing a guest OS, it is hard to deduce how much time was taken by guest n actually running in the absence of knowing cycles stolen by host to execute something else that this guest. Add logging for this from /proc/stat so that this can be sampled and shown in perfetto UI.
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.