diff options
author | Ian Rogers <[email protected]> | 2023-08-30 00:07:53 -0700 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2023-08-30 23:03:03 -0300 |
commit | 30f0b435bbf2b83cf822dbe40d23b41bdcae7156 (patch) | |
tree | 91ac890ec60e16d726d24a9f34f4e83cdde8239c /scripts/gdb/linux/utils.py | |
parent | 7a6e91644708d514082a00fce3cd509960935fb8 (diff) |
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 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions