]> git.baikalelectronics.ru Git - kernel.git/commit
perf hists: Collapse expanded callchains after filter is applied
authorNamhyung Kim <namhyung@kernel.org>
Thu, 24 Apr 2014 07:44:16 +0000 (16:44 +0900)
committerJiri Olsa <jolsa@kernel.org>
Thu, 24 Apr 2014 14:31:50 +0000 (16:31 +0200)
commite51ef3346f79baf2561974c43325c133e028f993
tree15471067776fb84f5c97df2af9718fdbad985c8c
parent9159bca52f55a651d85b0b0798431a79e5256744
perf hists: Collapse expanded callchains after filter is applied

When a filter is applied a hist entry checks whether its callchain was
folded and account it to the output stat.  But this is rather hacky
and only TUI-specific.  Simply fold the callchains for the entry looks
like a simpler and more generic solution IMHO.

Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Link: http://lkml.kernel.org/r/1398327843-31845-6-git-send-email-namhyung@kernel.org
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
tools/perf/util/hist.c