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 2d542368de3c..da8f67483ae7 100644
--- a/tools/perf/builtin-sched.c
+++ b/tools/perf/builtin-sched.c
@@ -1204,13 +1204,13 @@ static void output_lat_thread(struct work_atoms *work_list)
1204 /* 1204 /*
1205 * Ignore idle threads: 1205 * Ignore idle threads:
1206 */ 1206 */
1207 if (!work_list->thread->pid) 1207 if (!strcmp(work_list->thread->comm, "swapper"))
1208 return; 1208 return;
1209 1209
1210 all_runtime += work_list->total_runtime; 1210 all_runtime += work_list->total_runtime;
1211 all_count += work_list->nb_atoms; 1211 all_count += work_list->nb_atoms;
1212 1212
1213 ret = printf(" %s-%d ", work_list->thread->comm, work_list->thread->pid); 1213 ret = printf(" %s:%d ", work_list->thread->comm, work_list->thread->pid);
1214 1214
1215 for (i = 0; i < 24 - ret; i++) 1215 for (i = 0; i < 24 - ret; i++)
1216 printf(" "); 1216 printf(" ");