summaryrefslogtreecommitdiff
path: root/tools/perf/ui/hist.c
diff options
context:
space:
mode:
authorNamhyung Kim <namhyung@kernel.org>2016-03-09 16:47:00 +0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2016-03-10 22:46:04 +0300
commit325a62834e81452d2a6e253444022cf493bbabfc (patch)
tree856482b9ddfb226ee410baf3ff288a00ea1253c0 /tools/perf/ui/hist.c
parenta515d8ff7085d5e9fde867f2048b8da36b95dc51 (diff)
downloadlinux-325a62834e81452d2a6e253444022cf493bbabfc.tar.xz
perf hists browser: Cleanup hist_browser__fprintf_hierarchy_entry()
The hist_browser__fprintf_hierarchy_entry() if to dump current output into a file so it needs to be sync-ed with the corresponding function hist_browser__show_hierarchy_entry(). So use hists->nr_hpp_node to indent width and use first fmt_node to print overhead columns instead of checking whether it's a sort entry (or dynamic entry). Signed-off-by: Namhyung Kim <namhyung@kernel.org> Tested-by: Jiri Olsa <jolsa@kernel.org> Cc: Andi Kleen <andi@firstfloor.org> Cc: David Ahern <dsahern@gmail.com> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Stephane Eranian <eranian@google.com> Cc: Wang Nan <wangnan0@huawei.com> Link: http://lkml.kernel.org/r/1457531222-18130-6-git-send-email-namhyung@kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/ui/hist.c')
0 files changed, 0 insertions, 0 deletions