summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sched-migration.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
-rw-r--r--tools/perf/scripts/python/sched-migration.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/perf/scripts/python/sched-migration.py b/tools/perf/scripts/python/sched-migration.py
index 7304d86c76c0..e9898c5dbcc8 100644
--- a/tools/perf/scripts/python/sched-migration.py
+++ b/tools/perf/scripts/python/sched-migration.py
@@ -260,8 +260,7 @@ def taskState(state):
}
if state not in states:
- print "Unhandled task state %d" % state
- return ""
+ return "Unknown"
return states[state]