summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorNamhyung Kim <namhyung@kernel.org>2025-11-06 13:53:50 -0800
committerNamhyung Kim <namhyung@kernel.org>2025-11-06 17:43:29 -0800
commit268a31a9f88759c2f1a85a1d81524326d0e47290 (patch)
treea2f8afb2eabf97fed4f5d4336b10124667d30ced /tools/perf/scripts/python/stackcollapse.py
parent6bd89ae7d14788ba15e25289479addcb98e7dc26 (diff)
downloadlinux-268a31a9f88759c2f1a85a1d81524326d0e47290.tar.gz
linux-268a31a9f88759c2f1a85a1d81524326d0e47290.zip
perf stat: Add ScaleUnit to {cpu,task}-clock JSON description
This changes the output of the event like below. In fact, that's the output it used to have before the JSON conversion. Before: $ perf stat -e task-clock true Performance counter stats for 'true': 313,848 task-clock # 0.290 CPUs utilized 0.001081223 seconds time elapsed 0.001122000 seconds user 0.000000000 seconds sys After: $ perf stat -e task-clock true Performance counter stats for 'true': 0.36 msec task-clock # 0.297 CPUs utilized 0.001225435 seconds time elapsed 0.001268000 seconds user 0.000000000 seconds sys Reviewed-by: Ian Rogers <irogers@google.com> Fixes: 9957d8c801fe0cb90 ("perf jevents: Add common software event json") Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions