aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorIan Rogers <[email protected]>2024-06-04 23:38:28 -0700
committerNamhyung Kim <[email protected]>2024-06-07 13:00:03 -0700
commitf5803651b4a4b67d9521994d501619a0d8ff3b11 (patch)
tree8b9516b7cd44512ef22d521f74b68d2d40ff4707 /tools/perf/scripts/python/flamegraph.py
parent0dddd91ab68fed4fe12b69fe225cb00a4ea16126 (diff)
perf stat: Choose the most disaggregate command line option
When multiple aggregation options are passed to perf stat the behavior isn't clear. Consider "perf stat -A --per-socket .." and "perf stat --per-socket -A ..", the first won't aggregate at all while the second will do per-socket aggregation, even though the same options were passed. Rather than set an enum value, gather the options in a struct and process them from most to least aggregate. This ensures the least aggregate option always applies, so no aggregation if "-A" is passed. Signed-off-by: Ian Rogers <[email protected]> Cc: Stephane Eranian <[email protected]> Signed-off-by: Namhyung Kim <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions