aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/scripting-engines/trace-event-perl.c
diff options
context:
space:
mode:
authorNamhyung Kim <[email protected]>2023-04-27 23:05:01 +0000
committerArnaldo Carvalho de Melo <[email protected]>2023-05-02 11:36:14 +0000
commit7586d11d36fad5e6a28736be7ac8f9495e28289a (patch)
tree9b55c0336a6e3589dfd240f59292ba94c542b9c5 /tools/perf/util/scripting-engines/trace-event-perl.c
parentperf lock contention: Rework offset calculation with BPF CO-RE (diff)
downloadkernel-7586d11d36fad5e6a28736be7ac8f9495e28289a.tar.gz
kernel-7586d11d36fad5e6a28736be7ac8f9495e28289a.zip
perf list: Fix memory leaks in print_tracepoint_events()
It should free entries (not only the array) filled by scandirat() after use. Reviewed-by: Ian Rogers <[email protected]> Signed-off-by: Namhyung Kim <[email protected]> Cc: Adrian Hunter <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Peter Zijlstra <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-perl.c')
0 files changed, 0 insertions, 0 deletions