aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/annotate.c
diff options
context:
space:
mode:
authorIan Rogers <[email protected]>2023-06-11 23:36:10 +0000
committerArnaldo Carvalho de Melo <[email protected]>2023-06-12 21:18:14 +0000
commite57d739334d55688bfbf161b1501426467d02c86 (patch)
tree0282c488bc9bb982ea9aca2dd8da39f3b2b57cd2 /tools/perf/util/annotate.c
parentperf bench futex: Avoid memory leaks from pthread_attr (diff)
downloadkernel-e57d739334d55688bfbf161b1501426467d02c86.tar.gz
kernel-e57d739334d55688bfbf161b1501426467d02c86.zip
perf bench sched messaging: Free contexts on exit
Place sender and receiver contexts onto lists so that they may be freed on exit. Add missing pthread_attr_destroy. Fixes memory leaks reported by leak sanitizer. Signed-off-by: Ian Rogers <[email protected]> Cc: Adrian Hunter <[email protected]> Cc: Alexander Shishkin <[email protected]> Cc: AndrĂ© Almeida <[email protected]> Cc: Darren Hart <[email protected]> Cc: Davidlohr Bueso <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Mark Rutland <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Thomas Gleixner <[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/annotate.c')
0 files changed, 0 insertions, 0 deletions