Re: [PATCH 1/1] Fixes: cfc8874a485 ("perf script: Process cpu/threads maps")

From: Arnaldo Carvalho de Melo
Date: Wed Mar 09 2016 - 08:35:45 EST


Em Wed, Mar 09, 2016 at 09:02:46AM +0100, Jiri Olsa escreveu:
> On Tue, Mar 08, 2016 at 09:11:54PM -0800, Chris Phlipot wrote:
> > fix the perf script python database export crash.
> > Remove the union in evsel so that the database id and priv pointer can be
> > used simultainously without conflicting and crashing.
> >
> > Detailed Description for the fixed bug follows:
> >
> > perf script crashes with a segmentaiton fault on user space tool version
> > 4.5.rc7.ge2857b when using the python database export API. It works
> > properly in 4.4 and prior versions.
> >
> > the crash fist appeared in
> > cfc8874a485 ("perf script: Process cpu/threads maps")
>
> ouch, missed this one..
>
> Acked-by: Jiri Olsa <jolsa@xxxxxxxxxx>

Thanks, applied.

- Arnaldo