summaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin-diff.c
diff options
context:
space:
mode:
authorJiri Olsa <jolsa@redhat.com>2012-10-05 16:44:46 +0200
committerArnaldo Carvalho de Melo <acme@redhat.com>2012-10-05 14:14:49 -0300
commitd88c48f9b5bfcbd2e296b2d240e8cb0aec99f042 (patch)
treeec3ab80bf5fdd3ec64e4f357c3ce6637fb27c0a4 /tools/perf/builtin-diff.c
parented279da2fc9774b4c0dc9fd513fa89a11cae3f56 (diff)
downloadop-kernel-dev-d88c48f9b5bfcbd2e296b2d240e8cb0aec99f042.zip
op-kernel-dev-d88c48f9b5bfcbd2e296b2d240e8cb0aec99f042.tar.gz
perf diff: Include samples without symbol in overall stats
Currently we omit samples without symbols. This way we get different and confusing numbers for samples than from report command. Signed-off-by: Jiri Olsa <jolsa@redhat.com> Cc: Andi Kleen <andi@firstfloor.org> Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com> Cc: Frederic Weisbecker <fweisbec@gmail.com> Cc: Ingo Molnar <mingo@elte.hu> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Paul Mackerras <paulus@samba.org> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Link: http://lkml.kernel.org/r/1349448287-18919-8-git-send-email-jolsa@redhat.com 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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/builtin-diff.c b/tools/perf/builtin-diff.c
index dd9c064..b4db513 100644
--- a/tools/perf/builtin-diff.c
+++ b/tools/perf/builtin-diff.c
@@ -269,7 +269,7 @@ static int diff__process_sample_event(struct perf_tool *tool __maybe_unused,
return -1;
}
- if (al.filtered || al.sym == NULL)
+ if (al.filtered)
return 0;
if (hists__add_entry(&evsel->hists, &al, sample->period)) {
OpenPOWER on IntegriCloud