diff options
author | Jiri Olsa <jolsa@kernel.org> | 2016-06-14 14:19:18 -0400 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2016-06-15 09:48:02 -0400 |
commit | d05e3aaeea56d7cd23976cb1fa626faf1a8bfbed (patch) | |
tree | cf3e9bd1525fe0c41503e1a1af47f4215a10e83e /tools/perf/builtin-diff.c | |
parent | 8f1d1b4452ce71a231d1a22e6357285fb773c551 (diff) |
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.c | 3 |
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) | |||
666 | hists__precompute(hists); | 666 | hists__precompute(hists); |
667 | hists__output_resort(hists, NULL); | 667 | hists__output_resort(hists, NULL); |
668 | 668 | ||
669 | hists__fprintf(hists, true, 0, 0, 0, stdout); | 669 | hists__fprintf(hists, true, 0, 0, 0, stdout, |
670 | symbol_conf.use_callchain); | ||
670 | } | 671 | } |
671 | 672 | ||
672 | static void data__fprintf(void) | 673 | static void data__fprintf(void) |