aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/builtin-diff.c
diff options
context:
space:
mode:
authorJiri Olsa <jolsa@kernel.org>2016-06-14 20:19:18 +0200
committerArnaldo Carvalho de Melo <acme@redhat.com>2016-06-15 10:48:02 -0300
commitd05e3aaeea56d7cd23976cb1fa626faf1a8bfbed (patch)
treecf3e9bd1525fe0c41503e1a1af47f4215a10e83e /tools/perf/builtin-diff.c
parentperf stdio: Do not pass hists in hist_entry__fprintf (diff)
downloadwireguard-linux-d05e3aaeea56d7cd23976cb1fa626faf1a8bfbed.tar.xz
wireguard-linux-d05e3aaeea56d7cd23976cb1fa626faf1a8bfbed.zip
perf stdio: Add use_callchain parameter to hists__fprintf
It will be convenient in following patches to display hists entries without callchains even if they are defined. 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/1465928361-2442-9-git-send-email-jolsa@kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/builtin-diff.c')
-rw-r--r--tools/perf/builtin-diff.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/perf/builtin-diff.c b/tools/perf/builtin-diff.c
index f7645a42708e..69bad45deadd 100644
--- a/tools/perf/builtin-diff.c
+++ b/tools/perf/builtin-diff.c
@@ -666,7 +666,8 @@ static void hists__process(struct hists *hists)
hists__precompute(hists);
hists__output_resort(hists, NULL);
- hists__fprintf(hists, true, 0, 0, 0, stdout);
+ hists__fprintf(hists, true, 0, 0, 0, stdout,
+ symbol_conf.use_callchain);
}
static void data__fprintf(void)