diff options
author | Namhyung Kim <namhyung.kim@lge.com> | 2013-03-12 00:59:20 -0400 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2013-03-15 12:06:07 -0400 |
commit | 0d7f5b57a4373993121df4b4216e9628233b075b (patch) | |
tree | 91db39b2228e1aaeb9a4cc965448ae4192b0d3b9 /tools/perf/builtin-trace.c | |
parent | c7e7b6101361025fbea03833c6aee18e3d7bed34 (diff) |
perf trace: Get rid of a duplicate code
Checking of sample.raw_data is duplicated and seems an artifact of some
git auto merging stuff. Kill it.
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1363064360-7641-1-git-send-email-namhyung@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/builtin-trace.c')
-rw-r--r-- | tools/perf/builtin-trace.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/tools/perf/builtin-trace.c b/tools/perf/builtin-trace.c index f0c20ef0cd1c..49fedb51d569 100644 --- a/tools/perf/builtin-trace.c +++ b/tools/perf/builtin-trace.c | |||
@@ -527,13 +527,6 @@ again: | |||
527 | continue; | 527 | continue; |
528 | } | 528 | } |
529 | 529 | ||
530 | if (sample.raw_data == NULL) { | ||
531 | printf("%s sample with no payload for tid: %d, cpu %d, raw_size=%d, skipping...\n", | ||
532 | perf_evsel__name(evsel), sample.tid, | ||
533 | sample.cpu, sample.raw_size); | ||
534 | continue; | ||
535 | } | ||
536 | |||
537 | handler = evsel->handler.func; | 530 | handler = evsel->handler.func; |
538 | handler(trace, evsel, &sample); | 531 | handler(trace, evsel, &sample); |
539 | } | 532 | } |