]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - tools/perf/util/hist.c
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)
commit87e90f43285f4096e9ba5fc18b05c2e04caf3fab
tree15471067776fb84f5c97df2af9718fdbad985c8c
parent9283ba9bd77a6940ecad8721429131d773c704b8
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