Re: [PATCH] perf hists browser: Fix segfault if use symbol filter in cmdline

2015-12-06 Thread Arnaldo Carvalho de Melo
Em Thu, Dec 03, 2015 at 12:49:42AM +0900, Namhyung Kim escreveu: > Hi, > > On Wed, Dec 02, 2015 at 11:28:52AM +, Wang Nan wrote: > > If feed perf a symbol filter in cmdline and the result is empty, > > pressing 'Enter' in the hist browser causes crash: > > > > # ./perf report perf.data <--

Re: [PATCH] perf hists browser: Fix segfault if use symbol filter in cmdline

2015-12-02 Thread Wangnan (F)
On 2015/12/2 23:49, Namhyung Kim wrote: Hi, On Wed, Dec 02, 2015 at 11:28:52AM +, Wang Nan wrote: If feed perf a symbol filter in cmdline and the result is empty, pressing 'Enter' in the hist browser causes crash: # ./perf report perf.data <-- Common mistake for beginners Then press

Re: [PATCH] perf hists browser: Fix segfault if use symbol filter in cmdline

2015-12-02 Thread Namhyung Kim
Hi, On Wed, Dec 02, 2015 at 11:28:52AM +, Wang Nan wrote: > If feed perf a symbol filter in cmdline and the result is empty, > pressing 'Enter' in the hist browser causes crash: > > # ./perf report perf.data <-- Common mistake for beginners > > Then press 'Enter': > > perf: Segmentation

[PATCH] perf hists browser: Fix segfault if use symbol filter in cmdline

2015-12-02 Thread Wang Nan
If feed perf a symbol filter in cmdline and the result is empty, pressing 'Enter' in the hist browser causes crash: # ./perf report perf.data <-- Common mistake for beginners Then press 'Enter': perf: Segmentation fault backtrace /home/wangnan/perf[0x53e578] /lib64/libc.