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

From: Srikar Dronamraju
Date: Fri Jan 08 2016 - 17:03:08 EST


> > 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.
>

Yes, this fixes the problem.

--
Thanks and Regards
Srikar Dronamraju