aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorIan Rogers <[email protected]>2023-06-13 18:26:29 +0000
committerArnaldo Carvalho de Melo <[email protected]>2023-06-14 02:40:33 +0000
commit6ec9503f45740b6ae4cb7f3e7441b1539c6d51d6 (patch)
tree8781cdf44224fa99129cc8b68bc6a8d88aff0a3f /tools/perf/scripts/python
parentperf metric: Fix no group check (diff)
downloadkernel-6ec9503f45740b6ae4cb7f3e7441b1539c6d51d6.tar.gz
kernel-6ec9503f45740b6ae4cb7f3e7441b1539c6d51d6.zip
perf parse-events: Avoid string for PE_BP_COLON, PE_BP_SLASH
There's no need to read the string ':' or '/' for PE_BP_COLON or PE_BP_SLASH and doing so causes parse-events.y to leak memory. The original patch has a committer note about not using these tokens presumably as yacc spotted they were a memory leak because no %destructor could be run. Remove the unused token workaround as there is now no value associated with these tokens. Fixes: f0617f526cb0c482 ("perf parse: Allow config terms with breakpoints") Signed-off-by: Ian Rogers <[email protected]> Cc: Adrian Hunter <[email protected]> Cc: Alexander Shishkin <[email protected]> Cc: Ingo Molnar <[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]> Cc: Rob Herring <[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')
0 files changed, 0 insertions, 0 deletions