diff options
author | Ingo Molnar <mingo@kernel.org> | 2016-06-16 04:27:35 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2016-06-16 04:27:35 -0400 |
commit | 02469a95096a549508c5adf61d84a1d72851c85b (patch) | |
tree | 130c83a2f6937ffa81d00ec661d223cab7a37715 /tools/perf/builtin-diff.c | |
parent | 2c95afc1e83d93fac3be6923465e1753c2c53b0a (diff) | |
parent | 2fd457a34525ea3bc609e377b46af759af8a7934 (diff) |
Merge tag 'perf-core-for-mingo-20160615' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/core
Pull perf/core improvements and fixes from Arnaldo Carvalho de Melo:
User visible changes:
- Add --ldlat option to 'perf mem' to specify load latency for loads
event (e.g. cpu/mem-loads/ ) (Jiri Olsa)
Build fixes:
- Fix libunwind related compile error for static cross build (He Kuang)
Infrastructure changes:
- UI refactorings to support headers with multiple lines, non-evsel
hists browsers, toggle showing callchains, etc (Jiri Olsa)
- More prep work for caching probe definitions, paving the way
for supporting SDT (Statically Defined Traces) userspace probes (Masami Hiramatsu)
- Handle NULL at perf_config_set__delete() (Taeung Song)
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'tools/perf/builtin-diff.c')
-rw-r--r-- | tools/perf/builtin-diff.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/tools/perf/builtin-diff.c b/tools/perf/builtin-diff.c index f7645a42708e..7f628f9c2fb4 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) |
@@ -1044,7 +1045,7 @@ static int hpp__entry_global(struct perf_hpp_fmt *_fmt, struct perf_hpp *hpp, | |||
1044 | } | 1045 | } |
1045 | 1046 | ||
1046 | static int hpp__header(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, | 1047 | static int hpp__header(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, |
1047 | struct perf_evsel *evsel __maybe_unused) | 1048 | struct hists *hists __maybe_unused) |
1048 | { | 1049 | { |
1049 | struct diff_hpp_fmt *dfmt = | 1050 | struct diff_hpp_fmt *dfmt = |
1050 | container_of(fmt, struct diff_hpp_fmt, fmt); | 1051 | container_of(fmt, struct diff_hpp_fmt, fmt); |
@@ -1055,7 +1056,7 @@ static int hpp__header(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, | |||
1055 | 1056 | ||
1056 | static int hpp__width(struct perf_hpp_fmt *fmt, | 1057 | static int hpp__width(struct perf_hpp_fmt *fmt, |
1057 | struct perf_hpp *hpp __maybe_unused, | 1058 | struct perf_hpp *hpp __maybe_unused, |
1058 | struct perf_evsel *evsel __maybe_unused) | 1059 | struct hists *hists __maybe_unused) |
1059 | { | 1060 | { |
1060 | struct diff_hpp_fmt *dfmt = | 1061 | struct diff_hpp_fmt *dfmt = |
1061 | container_of(fmt, struct diff_hpp_fmt, fmt); | 1062 | container_of(fmt, struct diff_hpp_fmt, fmt); |