diff options
| author | Ian Rogers <[email protected]> | 2023-06-13 18:26:29 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2023-06-14 02:40:33 +0000 |
| commit | 6ec9503f45740b6ae4cb7f3e7441b1539c6d51d6 (patch) | |
| tree | 8781cdf44224fa99129cc8b68bc6a8d88aff0a3f /tools/perf/scripts/python | |
| parent | perf metric: Fix no group check (diff) | |
| download | kernel-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
