aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin-sched.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/builtin-sched.c')
-rw-r--r--tools/perf/builtin-sched.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/perf/builtin-sched.c b/tools/perf/builtin-sched.c
index c9c68563e964..57ad3f458ef5 100644
--- a/tools/perf/builtin-sched.c
+++ b/tools/perf/builtin-sched.c
@@ -1667,14 +1667,14 @@ process_sample_event(event_t *event, unsigned long offset, unsigned long head)
1667 (void *)(long)ip, 1667 (void *)(long)ip,
1668 (long long)period); 1668 (long long)period);
1669 1669
1670 dump_printf(" ... thread: %s:%d\n", thread->comm, thread->pid);
1671
1672 if (thread == NULL) { 1670 if (thread == NULL) {
1673 eprintf("problem processing %d event, skipping it.\n", 1671 eprintf("problem processing %d event, skipping it.\n",
1674 event->header.type); 1672 event->header.type);
1675 return -1; 1673 return -1;
1676 } 1674 }
1677 1675
1676 dump_printf(" ... thread: %s:%d\n", thread->comm, thread->pid);
1677
1678 if (profile_cpu != -1 && profile_cpu != (int) cpu) 1678 if (profile_cpu != -1 && profile_cpu != (int) cpu)
1679 return 0; 1679 return 0;
1680 1680