diff options
| author | Shang XiaoJing <[email protected]> | 2022-09-08 10:11:41 +0800 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2022-10-04 08:55:21 -0300 |
| commit | 3e8d21b922af782954d083d938c117b488c4578c (patch) | |
| tree | b7750370472edaa5fe32fa271405c54a5c0b302e /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | 569c746b8a1eab64ebf5b3ebb5d414742c8fc40b (diff) | |
perf timechart: Add p_state_end helper
Wrap repeated code in helper functions p_state_end, which alloc a new
power_event recording last pstate, and insert to the head of
tchart->power_events.
Signed-off-by: Shang XiaoJing <[email protected]>
Acked-by: Namhyung Kim <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Mark Rutland <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions