Re: Segfault in perf tool

From: Stephane Eranian
Date: Wed Dec 26 2012 - 12:38:51 EST


On Wed, Dec 26, 2012 at 6:10 AM, Namhyung Kim <namhyung@xxxxxxxxxx> wrote:
> Hi Stefan,
>
> On Sun, 23 Dec 2012 22:18:32 +0100, Stefan Beller wrote:
>> Hi,
>>
>> I get segmentation faults when running one of these commands:
>> perf report -g --sort symbol_to
>> perf report -g --sort symbol_from
>> perf report -g --sort dso_from
>> perf report -g --sort dso_to
>
> Those sort keys are only applicable for branch filtered perf.data file
> (i.e. recorded with -j or -b option) and should not be used for others.

That's true. Should print an error and not segfault.

> I'll work on the fix soon.
>
Thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/