summaryrefslogtreecommitdiffstats
path: root/tools/perf/ui/gtk/hists.c
diff options
context:
space:
mode:
authorJiri Olsa <jolsa@kernel.org>2016-08-07 17:28:27 +0200
committerArnaldo Carvalho de Melo <acme@redhat.com>2016-08-23 20:37:33 +0200
commit74bb43f29ec80bc998804fa7399930d86c4bae67 (patch)
tree9b39e66f54add5532129cdb1c1b73380219ae221 /tools/perf/ui/gtk/hists.c
parentperf hists: Introduce nr_header_lines into struct perf_hpp_list (diff)
downloadlinux-74bb43f29ec80bc998804fa7399930d86c4bae67.tar.xz
linux-74bb43f29ec80bc998804fa7399930d86c4bae67.zip
perf hists: Add line argument into perf_hpp_fmt's header callback
Adding line argument into perf_hpp_fmt's header callback to be able to request specific header line. 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/1470583710-1649-3-git-send-email-jolsa@kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/ui/gtk/hists.c')
-rw-r--r--tools/perf/ui/gtk/hists.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/ui/gtk/hists.c b/tools/perf/ui/gtk/hists.c
index c5f3677f6679..79cb5c4d5e2e 100644
--- a/tools/perf/ui/gtk/hists.c
+++ b/tools/perf/ui/gtk/hists.c
@@ -549,7 +549,7 @@ static void perf_gtk__show_hierarchy(GtkWidget *window, struct hists *hists,
strcat(buf, "+");
first_col = false;
- fmt->header(fmt, &hpp, hists);
+ fmt->header(fmt, &hpp, hists, 0);
strcat(buf, ltrim(rtrim(hpp.buf)));
}
}