perf report: Don't show blank lines if entry has no callchain
authorNamhyung Kim <namhyung@kernel.org>
Thu, 28 Jan 2016 12:24:54 +0000 (21:24 +0900)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 1 Feb 2016 20:51:09 +0000 (17:51 -0300)
commit3848c23b19e07188bfa15e3d9a2ac27692f2ff3c
treed1574887114562c508c484be5ecfdf4be81b0325
parent59c624e2391080fa6315a376a4ee74d0eb393d1d
perf report: Don't show blank lines if entry has no callchain

When all callchains of a hist entry is percent-limited, do not add a
blank line at the end.  It makes the entry look like it doesn't have
callchains.

Reported-and-Tested-by: Jiri Olsa <jolsa@kernel.org>
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Cc: Andi Kleen <andi@firstfloor.org>
Cc: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Wang Nan <wangnan0@huawei.com>
Link: http://lkml.kernel.org/r/20160128122454.GA27446@danjae.kornet
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/ui/stdio/hist.c