diff options
| author | Namhyung Kim <namhyung@kernel.org> | 2026-06-24 13:58:28 -0700 |
|---|---|---|
| committer | Namhyung Kim <namhyung@kernel.org> | 2026-06-30 17:04:50 -0700 |
| commit | 445a625a66b15f7f8fbe70dea27269aa85c87bdf (patch) | |
| tree | b772cca29d89ae57640ce38595ad8f4c018fe4f7 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 4933d4f45b5ce2a1d0d9c4ab703460997439d6a7 (diff) | |
perf timechart: Generate backtrace only if needed
The backtrace was used by sched-switch and sched-wakeup only. No need
to call cat_backtrace() in the process_sample_event(). Let's pass NULL
backtrace and generate it from the sched events.
As it needs a pointer to the 'machine', let's save the session in the
timechart struct and use the host machine of the session instead of
passing the pointer to all handlers. It should be fine to assume the
host machine as timechart command doesn't deal with guest machines and
there's no way to get tracepoints from the guest events.
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions
