perf hists browser: Put hist_entry folding logic into single function
authorJiri Olsa <jolsa@kernel.org>
Fri, 20 Jan 2017 09:20:29 +0000 (10:20 +0100)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 20 Jan 2017 13:04:45 +0000 (10:04 -0300)
commitb33f922651011effafec4508474e8591569a3e98
treeb43eb0bf311b641aa91845c2fc0c886e7d6cca40
parent9343e45bf6cc4a05f6e271e9f8d06bc87875c604
perf hists browser: Put hist_entry folding logic into single function

It will be used in following patch to expand or collapse only the
current browser entry.

Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Cc: David Ahern <dsahern@gmail.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1484904032-11040-2-git-send-email-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/ui/browsers/hists.c