perf sched: Make idle thread and comm/pid names more consistent
[cascardo/linux.git] / tools / perf / util / thread.c
index 3acd37f..12c4341 100644 (file)
@@ -85,7 +85,7 @@ register_idle_thread(struct rb_root *threads, struct thread **last_match)
 {
        struct thread *thread = threads__findnew(0, threads, last_match);
 
-       if (!thread || thread__set_comm(thread, "[idle]")) {
+       if (!thread || thread__set_comm(thread, "swapper")) {
                fprintf(stderr, "problem inserting idle task.\n");
                exit(-1);
        }