Re: perf list segfaults on the v4.4-rc8 (bisect log added)

From: Alexei Starovoitov
Date: Fri Jan 08 2016 - 16:01:50 EST


On Sat, Jan 09, 2016 at 02:09:41AM +0530, Srikar Dronamraju wrote:
> With latest mainline perf, perf list results in a Segmentation fault on
> a powerpc machine.
>
> $ ./perf list
> Segmentation fault (core dumped)
> $
..
> Attached is the patch that causes this issue for quick reference.
>
> From a43eec304259a6c637f4014a6d4767159b6a3aa3 Mon Sep 17 00:00:00 2001
> From: Alexei Starovoitov <ast@xxxxxxxxxxxx>
> Date: Tue, 20 Oct 2015 20:02:34 -0700
> Subject: [PATCH] bpf: introduce bpf_perf_event_output() helper

https://lkml.org/lkml/2016/1/8/330
this pull req contains the fix.
Pls double check.