Re: [PATCH] perf: fix a segfault problem.

2015-03-13 Thread Namhyung Kim
On Fri, Mar 13, 2015 at 06:07:34PM +0800, Wang Nan wrote: > On 2015/3/13 17:46, Namhyung Kim wrote: > > On Fri, Mar 13, 2015 at 08:41:32AM +, Wang Nan wrote: > >> Without this patch, perf report cause segfault if pass "" as '-t': > >> > >> $ perf report -t "" > >> > >> # To display the pe

Re: [PATCH] perf: fix a segfault problem.

2015-03-13 Thread Wang Nan
On 2015/3/13 17:46, Namhyung Kim wrote: > On Fri, Mar 13, 2015 at 08:41:32AM +, Wang Nan wrote: >> Without this patch, perf report cause segfault if pass "" as '-t': >> >> $ perf report -t "" >> >> # To display the perf.data header info, please use >> --header/--header-only options. >>

Re: [PATCH] perf: fix a segfault problem.

2015-03-13 Thread Namhyung Kim
On Fri, Mar 13, 2015 at 08:41:32AM +, Wang Nan wrote: > Without this patch, perf report cause segfault if pass "" as '-t': > > $ perf report -t "" > > # To display the perf.data header info, please use --header/--header-only > options. > # > # Samples: 37 of event 'syscalls:sy

[PATCH] perf: fix a segfault problem.

2015-03-13 Thread Wang Nan
Without this patch, perf report cause segfault if pass "" as '-t': $ perf report -t "" # To display the perf.data header info, please use --header/--header-only options. # # Samples: 37 of event 'syscalls:sys_enter_write' # Event count (approx.): 37 # # ChildrenSel