summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorIan Rogers <irogers@google.com>2025-11-13 10:05:10 -0800
committerNamhyung Kim <namhyung@kernel.org>2025-11-17 18:43:08 -0800
commit3d65f6445fd93e3eb4cb63a828c36625b4929abd (patch)
tree75359e699546b17dd79a3d3d2670c0c1cab24309 /tools/perf/scripts/python
parentbdf96c4ecd69523d97c98e47284caddde20b1df7 (diff)
downloadlinux-3d65f6445fd93e3eb4cb63a828c36625b4929abd.tar.gz
linux-3d65f6445fd93e3eb4cb63a828c36625b4929abd.zip
perf stat-shadow: Read tool events directly
When reading time values for metrics don't use the globals updated in builtin-stat, just read the events as regular events. The only exception is for time events where nanoseconds need converting to seconds as metrics assume time metrics are in seconds. Signed-off-by: Ian Rogers <irogers@google.com> Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions