ACK: [PATCH 0/2][SRU Artful] perf stat segfaults on uncore events w/o -a Edit

Kamal Mostafa kamal at canonical.com
Wed Jan 31 19:03:19 UTC 2018


On Wed, Jan 24, 2018 at 04:04:57PM -0700, dann frazier wrote:
> 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
> 
> 
> -- 
> kernel-team mailing list
> kernel-team at lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/kernel-team

Acked-by: Kamal Mostafa <kamal at canonical.com>




More information about the kernel-team mailing list