diff options
Diffstat (limited to 'tools/perf/builtin-trace.c')
-rw-r--r-- | tools/perf/builtin-trace.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/perf/builtin-trace.c b/tools/perf/builtin-trace.c index ce8459ac2845..4c129ff0bb16 100644 --- a/tools/perf/builtin-trace.c +++ b/tools/perf/builtin-trace.c | |||
@@ -80,14 +80,14 @@ process_sample_event(event_t *event, unsigned long offset, unsigned long head) | |||
80 | (void *)(long)ip, | 80 | (void *)(long)ip, |
81 | (long long)period); | 81 | (long long)period); |
82 | 82 | ||
83 | dump_printf(" ... thread: %s:%d\n", thread->comm, thread->pid); | ||
84 | |||
85 | if (thread == NULL) { | 83 | if (thread == NULL) { |
86 | eprintf("problem processing %d event, skipping it.\n", | 84 | eprintf("problem processing %d event, skipping it.\n", |
87 | event->header.type); | 85 | event->header.type); |
88 | return -1; | 86 | return -1; |
89 | } | 87 | } |
90 | 88 | ||
89 | dump_printf(" ... thread: %s:%d\n", thread->comm, thread->pid); | ||
90 | |||
91 | if (sample_type & PERF_SAMPLE_RAW) { | 91 | if (sample_type & PERF_SAMPLE_RAW) { |
92 | struct { | 92 | struct { |
93 | u32 size; | 93 | u32 size; |