aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/annotate.c
diff options
context:
space:
mode:
authorIan Rogers <[email protected]>2023-06-11 23:36:09 +0000
committerArnaldo Carvalho de Melo <[email protected]>2023-06-12 21:18:14 +0000
commit8351498d5204ef572ace0582c33b2302fe303c57 (patch)
treebf03fd925c3d6b902a3e322024efaf83a8b141a4 /tools/perf/util/annotate.c
parentperf bench epoll: Fix missing frees/puts on the exit path (diff)
downloadkernel-8351498d5204ef572ace0582c33b2302fe303c57.tar.gz
kernel-8351498d5204ef572ace0582c33b2302fe303c57.zip
perf bench futex: Avoid memory leaks from pthread_attr
Remove code sharing the pthread_attr_t and initialize/destroy pthread_attr_t when needed. This avoids the same attribute being set that leak sanitizer reports as a memory leak. 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