diff options
| author | Ian Rogers <[email protected]> | 2023-06-11 23:36:09 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2023-06-12 21:18:14 +0000 |
| commit | 8351498d5204ef572ace0582c33b2302fe303c57 (patch) | |
| tree | bf03fd925c3d6b902a3e322024efaf83a8b141a4 /tools/perf/util/annotate.c | |
| parent | perf bench epoll: Fix missing frees/puts on the exit path (diff) | |
| download | kernel-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
