[PATCH v2 0/4] 2 leak fixes and lower 2 test fails to skips
Posted by
Ian Rogers
1 month, 4 weeks ago
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/20240924202916.1560687-1-irogers@google.com/
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(-)
--
2.46.1.824.gd892dcdcdd-goog
Re: [PATCH v2 0/4] 2 leak fixes and lower 2 test fails to skips
Posted by
Namhyung Kim
1 month, 3 weeks ago
On Mon, 30 Sep 2024 22:23:23 -0700, Ian Rogers wrote:
> 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/20240924202916.1560687-1-irogers@google.com/
>
> [...]
Applied to perf-tools-next, thanks!
Best regards,
Namhyung