Re: [PATCH v2] perf: report/annotate: fix segfault problem.

2015-04-06 Thread Arnaldo Carvalho de Melo
Em Fri, Apr 03, 2015 at 12:57:21PM +0200, Jiri Olsa escreveu: > On Fri, Apr 03, 2015 at 05:56:25AM +, Wang Nan wrote: > > perf report and perf annotate are easy to trigger segfault if trace data > > contain kernel module information like this: > > # perf report -D -i ./perf.data > > 0 0

Re: [PATCH v2] perf: report/annotate: fix segfault problem.

2015-04-06 Thread Arnaldo Carvalho de Melo
Em Fri, Apr 03, 2015 at 12:57:21PM +0200, Jiri Olsa escreveu: On Fri, Apr 03, 2015 at 05:56:25AM +, Wang Nan wrote: perf report and perf annotate are easy to trigger segfault if trace data contain kernel module information like this: # perf report -D -i ./perf.data 0 0 0x188

Re: [PATCH v2] perf: report/annotate: fix segfault problem.

2015-04-03 Thread Jiri Olsa
On Fri, Apr 03, 2015 at 05:56:25AM +, Wang Nan wrote: > perf report and perf annotate are easy to trigger segfault if trace data > contain kernel module information like this: > > # perf report -D -i ./perf.data > ... > 0 0 0x188 [0x50]: PERF_RECORD_MMAP -1/0:

Re: [PATCH v2] perf: report/annotate: fix segfault problem.

2015-04-03 Thread Jiri Olsa
On Fri, Apr 03, 2015 at 05:56:25AM +, Wang Nan wrote: > perf report and perf annotate are easy to trigger segfault if trace data > contain kernel module information like this: > > # perf report -D -i ./perf.data > ... > 0 0 0x188 [0x50]: PERF_RECORD_MMAP -1/0:

Re: [PATCH v2] perf: report/annotate: fix segfault problem.

2015-04-03 Thread Ingo Molnar
* Wang Nan wrote: > perf report and perf annotate are easy to trigger segfault if trace data > contain kernel module information like this: > > # perf report -D -i ./perf.data > ... > 0 0 0x188 [0x50]: PERF_RECORD_MMAP -1/0: [0xffbff1018000(0xf068000) @ > 0]: x [test_module] > ... >

Re: [PATCH v2] perf: report/annotate: fix segfault problem.

2015-04-03 Thread Ingo Molnar
* Wang Nan wangn...@huawei.com wrote: perf report and perf annotate are easy to trigger segfault if trace data contain kernel module information like this: # perf report -D -i ./perf.data ... 0 0 0x188 [0x50]: PERF_RECORD_MMAP -1/0: [0xffbff1018000(0xf068000) @ 0]: x

Re: [PATCH v2] perf: report/annotate: fix segfault problem.

2015-04-03 Thread Jiri Olsa
On Fri, Apr 03, 2015 at 05:56:25AM +, Wang Nan wrote: perf report and perf annotate are easy to trigger segfault if trace data contain kernel module information like this: # perf report -D -i ./perf.data ... 0 0 0x188 [0x50]: PERF_RECORD_MMAP -1/0: [0xffbff1018000(0xf068000) @

Re: [PATCH v2] perf: report/annotate: fix segfault problem.

2015-04-03 Thread Jiri Olsa
On Fri, Apr 03, 2015 at 05:56:25AM +, Wang Nan wrote: perf report and perf annotate are easy to trigger segfault if trace data contain kernel module information like this: # perf report -D -i ./perf.data ... 0 0 0x188 [0x50]: PERF_RECORD_MMAP -1/0: [0xffbff1018000(0xf068000) @

[PATCH v2] perf: report/annotate: fix segfault problem.

2015-04-02 Thread Wang Nan
perf report and perf annotate are easy to trigger segfault if trace data contain kernel module information like this: # perf report -D -i ./perf.data ... 0 0 0x188 [0x50]: PERF_RECORD_MMAP -1/0: [0xffbff1018000(0xf068000) @ 0]: x [test_module] ... # perf report -i ./perf.data

[PATCH v2] perf: report/annotate: fix segfault problem.

2015-04-02 Thread Wang Nan
perf report and perf annotate are easy to trigger segfault if trace data contain kernel module information like this: # perf report -D -i ./perf.data ... 0 0 0x188 [0x50]: PERF_RECORD_MMAP -1/0: [0xffbff1018000(0xf068000) @ 0]: x [test_module] ... # perf report -i ./perf.data