mbox series

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

Message ID 20180124230459.8985-1-dann.frazier@canonical.com
Headers show
Series perf stat segfaults on uncore events w/o -a Edit | expand

Message

dann frazier Jan. 24, 2018, 11:04 p.m. UTC
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(-)

Comments

Khalid Elmously Jan. 30, 2018, 5:37 p.m. UTC | #1
On 2018-01-24 16:04:57 , 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(-)
> 
Acked-by: Khalid Elmously <khalid.elmously@canonical.com>
Kamal Mostafa Jan. 31, 2018, 7:03 p.m. UTC | #2
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@lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/kernel-team

Acked-by: Kamal Mostafa <kamal@canonical.com>
Khalid Elmously Feb. 3, 2018, 2:02 a.m. UTC | #3
Applied to artful

On 2018-01-24 16:04:57 , 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@lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/kernel-team