aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf
diff options
context:
space:
mode:
authorNamhyung Kim <[email protected]>2022-09-30 13:21:05 -0700
committerArnaldo Carvalho de Melo <[email protected]>2022-10-06 08:03:53 -0300
commit429b8e84517b0ccdb3feace4b264c74ab61b16b0 (patch)
tree449305226867e6e49b47344a505b2354d98bd82f /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf
parent66b76e30ee36c0c58836bf91b8602f5f2c94093a (diff)
perf stat: Don't call perf_stat_evsel_id_init() repeatedly
evsel__reset_stat_priv() is called more than once if user gave -r option for multiple runs. But it doesn't need to re-initialize the id. Reviewed-by: James Clark <[email protected]> Signed-off-by: Namhyung Kim <[email protected]> Cc: Adrian Hunter <[email protected]> Cc: Andi Kleen <[email protected]> Cc: Ian Rogers <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Kan Liang <[email protected]> Cc: Leo Yan <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Xing Zhengjun <[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/Perf-Trace-Util/lib/Perf')
0 files changed, 0 insertions, 0 deletions