Skip to content

2 leak fixes and lower 2 test fails to skips

Ian Rogers linux-perf-users lkml 2 versions – Applied

Status from this message: Applied to perf-tools-next, thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 2 repliesApplied
  2. v14 patches 1 replySuperseded

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/4perf stat: Fix affinity memory leaks on error pathtools/perf/builtin-stat.c+2 -01 reply
2/4perf test: Fix memory leaks on event-times error pathstools/perf/tests/event-times.c+3 -20 replies
3/4perf test: Skip not fail tp fields test when insufficient permissionstools/perf/tests/evsel-tp-sched.c+25 -150 replies
4/4perf test: Skip not fail syscall tp fields test when insufficient permissionstools/perf/tests/openat-syscall-tp-fields.c+15 -40 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/4] 2 leak fixes and lower 2 test fails to skips

Fix some memory leaks that show up testing as !root. Lower some test failures to skips for the !root case with a skip reason of permissions.

v2: Rebase that also cleans up on the bpf_counter__load error path, as
pointed out by Namhyung.
v1: https://lore.kernel.org/lkml/[email protected]/

Ian Rogers (4):
perf stat: Fix affinity memory leaks on error path
perf test: Fix memory leaks on event-times error paths perf test: Skip not fail tp fields test when insufficient permissions perf test: Skip not fail syscall tp fields test when insufficient
permissions

 tools/perf/builtin-stat.c                   |  2 ++
 tools/perf/tests/event-times.c              |  5 +--
 tools/perf/tests/evsel-tp-sched.c           | 40 +++++++++++++--------
 tools/perf/tests/openat-syscall-tp-fields.c | 19 +++++++---
 4 files changed, 45 insertions(+), 21 deletions(-)
Signature · 1 line
2.46.1.824.gd892dcdcdd-goog