Skip to content

Fix some 'perf trace' leaks found with -fsanitize=address.

Arnaldo Carvalho de Melo linux-perf-users lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6perf evsel: Free evsel->filter on the destructortools/perf/util/evsel.c+1 -00 replies
2/6perf thread: Allow tools to register a thread->priv destructortools/perf/util/thread.c tools/perf/util/thread.h+13 -02 replies
3/6perf trace: Register a thread priv destructortools/perf/builtin-trace.c+15 -00 replies
4/6perf trace: Really free the evsel->priv areatools/perf/builtin-trace.c+2 -70 replies
5/6perf trace: Free thread_trace->files tabletools/perf/builtin-trace.c+14 -00 replies
6/6MAINTAINERS: Add git information for perf-tools and perf-tools-next trees/branchesMAINTAINERS+2 -00 replies

Reviews trailers per patch

None of the 6 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchIan Rogers
SeriesA-b
1/6
2/6
3/6
4/6
5/6
6/6

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCHES 0/6] Fix some 'perf trace' leaks found with -fsanitize=address.

Hi,

Please review/ack, I put it as well on the tmp.perf-tools-next
in the perf-tools-next tree:

https://git.kernel.org/pub/scm/linux/kernel/git/perf/perf-tools-next.git/commit/?h=tmp.perf-tools-next

Best regards,

- Arnaldo

Arnaldo Carvalho de Melo (6):
perf evsel: Free evsel->filter on the destructor
perf thread: Allow tools to register a thread->priv destructor perf trace: Register a thread priv destructor
perf trace: Really free the evsel->priv area
perf trace: Free thread_trace->files table
MAINTAINERS: Add git information for perf-tools and perf-tools-next
trees/branches

 MAINTAINERS                |  2 ++
 tools/perf/builtin-trace.c | 38 +++++++++++++++++++++++++++++++-------
 tools/perf/util/evsel.c    |  1 +
 tools/perf/util/thread.c   | 11 +++++++++++
 tools/perf/util/thread.h   |  2 ++
 5 files changed, 47 insertions(+), 7 deletions(-)
Signature · 1 line
2.41.0