[PATCH 0/2][SRU Artful] perf stat segfaults on uncore events w/o -a Edit
dann frazier
dann.frazier at canonical.com
Wed Jan 24 23:04:57 UTC 2018
BugLink: https://bugs.launchpad.net/bugs/1745246
Fixes a perf segfault - both clean cherry picks from upstream.
Andi Kleen (2):
perf xyarray: Save max_x, max_y
perf evsel: Fix buffer overflow while freeing events
tools/perf/tests/openat-syscall-all-cpus.c | 2 +-
tools/perf/tests/openat-syscall.c | 2 +-
tools/perf/util/evlist.c | 12 +++-------
tools/perf/util/evsel.c | 37 ++++++++++--------------------
tools/perf/util/evsel.h | 7 +++---
tools/perf/util/xyarray.c | 2 ++
tools/perf/util/xyarray.h | 12 ++++++++++
7 files changed, 34 insertions(+), 40 deletions(-)
--
2.15.1
More information about the kernel-team
mailing list