diff options
author | Namhyung Kim <namhyung@kernel.org> | 2022-09-30 13:21:05 -0700 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2022-10-06 08:03:53 -0300 |
commit | 429b8e84517b0ccdb3feace4b264c74ab61b16b0 (patch) | |
tree | 449305226867e6e49b47344a505b2354d98bd82f /scripts/spdxcheck-test.sh | |
parent | 66b76e30ee36c0c58836bf91b8602f5f2c94093a (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 <james.clark@arm.com>
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: Ian Rogers <irogers@google.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Kan Liang <kan.liang@linux.intel.com>
Cc: Leo Yan <leo.yan@linaro.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Xing Zhengjun <zhengjun.xing@linux.intel.com>
Link: https://lore.kernel.org/r/20220930202110.845199-3-namhyung@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'scripts/spdxcheck-test.sh')
0 files changed, 0 insertions, 0 deletions