aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorShang XiaoJing <[email protected]>2022-09-08 10:11:41 +0800
committerArnaldo Carvalho de Melo <[email protected]>2022-10-04 08:55:21 -0300
commit3e8d21b922af782954d083d938c117b488c4578c (patch)
treeb7750370472edaa5fe32fa271405c54a5c0b302e /tools/perf/scripts/python/exported-sql-viewer.py
parent569c746b8a1eab64ebf5b3ebb5d414742c8fc40b (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