diff options
Diffstat (limited to 'tools/perf/util/session.c')
-rw-r--r-- | tools/perf/util/session.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/util/session.c b/tools/perf/util/session.c index 4ba7b548e055..3c1b30103d54 100644 --- a/tools/perf/util/session.c +++ b/tools/perf/util/session.c | |||
@@ -1100,7 +1100,7 @@ static struct thread *perf_session__register_idle_thread(struct perf_session *se | |||
1100 | { | 1100 | { |
1101 | struct thread *thread = perf_session__findnew(self, 0); | 1101 | struct thread *thread = perf_session__findnew(self, 0); |
1102 | 1102 | ||
1103 | if (thread == NULL || thread__set_comm(thread, "swapper")) { | 1103 | if (thread == NULL || thread__set_comm(thread, "swapper", 0)) { |
1104 | pr_err("problem inserting idle task.\n"); | 1104 | pr_err("problem inserting idle task.\n"); |
1105 | thread = NULL; | 1105 | thread = NULL; |
1106 | } | 1106 | } |