Re: [PATCH] perf hists browser: Fix segfault when showing callchain

2015-01-08 Thread Arnaldo Carvalho de Melo
Em Wed, Dec 24, 2014 at 03:04:36PM +0900, Namhyung Kim escreveu: > When perf report on TUI shows callchain it checks first node has > siblings to determine whether it needs to print percentage value. But > it missed a case that first node is NULL. So sometimes it segfaults > like below: Thanks,

[PATCH] perf hists browser: Fix segfault when showing callchain

2014-12-23 Thread Namhyung Kim
When perf report on TUI shows callchain it checks first node has siblings to determine whether it needs to print percentage value. But it missed a case that first node is NULL. So sometimes it segfaults like below: $ perf top -g perf: Segmentation fault backtrace perf[0