aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorIan Rogers <[email protected]>2023-08-30 07:07:53 +0000
committerArnaldo Carvalho de Melo <[email protected]>2023-08-31 02:03:03 +0000
commit30f0b435bbf2b83cf822dbe40d23b41bdcae7156 (patch)
tree91ac890ec60e16d726d24a9f34f4e83cdde8239c /tools/perf/scripts/python/export-to-sqlite.py
parentperf parse-events: Make common term list to strbuf helper (diff)
downloadkernel-30f0b435bbf2b83cf822dbe40d23b41bdcae7156.tar.gz
kernel-30f0b435bbf2b83cf822dbe40d23b41bdcae7156.zip
perf pmu: Remove str from perf_pmu_alias
Currently the value is only used in perf list. Compute the value just when needed to avoid unnecessary overhead. Recycle the strbuf to avoid memory allocation overhead. Signed-off-by: Ian Rogers <[email protected]> Cc: Adrian Hunter <[email protected]> Cc: Alexander Shishkin <[email protected]> Cc: James Clark <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Kan Liang <[email protected]> Cc: Mark Rutland <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Peter Zijlstra <[email protected]> Link: http://lore.kernel.org/lkml/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions