summaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin-top.c
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2011-03-11 12:38:48 -0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2011-03-11 13:28:45 -0300
commit8b8ba4a9a5b04916858f79cee71873f973931649 (patch)
treec42f76dc40e01a5d539dd63f22eadbe696c96c49 /tools/perf/builtin-top.c
parentec52d9765a0f3603c62b4238482bf38897e4d42f (diff)
downloadop-kernel-dev-8b8ba4a9a5b04916858f79cee71873f973931649.zip
op-kernel-dev-8b8ba4a9a5b04916858f79cee71873f973931649.tar.gz
perf top: Remove redundant syme->origin field
We can get it from syme->map->dso->kernel (that should be renamed to origin, but leave this for another patch). Cc: Frederic Weisbecker <fweisbec@gmail.com> Cc: Ingo Molnar <mingo@elte.hu> Cc: Mike Galbraith <efault@gmx.de> Cc: Paul Mackerras <paulus@samba.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Stephane Eranian <eranian@google.com> Cc: Tom Zanussi <tzanussi@gmail.com> LKML-Reference: <new-submission> Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/builtin-top.c')
-rw-r--r--tools/perf/builtin-top.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/perf/builtin-top.c b/tools/perf/builtin-top.c
index 4bf6e02..4976400 100644
--- a/tools/perf/builtin-top.c
+++ b/tools/perf/builtin-top.c
@@ -782,7 +782,6 @@ static void perf_event__process_sample(const union perf_event *event,
if (!syme->skip) {
struct perf_evsel *evsel;
- syme->origin = origin;
evsel = perf_evlist__id2evsel(top.evlist, sample->id);
assert(evsel != NULL);
syme->count[evsel->idx]++;
OpenPOWER on IntegriCloud