diff options
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
| -rw-r--r-- | tools/perf/scripts/python/sched-migration.py | 3 |
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): | |||
| 260 | } | 260 | } |
| 261 | 261 | ||
| 262 | if state not in states: | 262 | if state not in states: |
| 263 | print "Unhandled task state %d" % state | 263 | return "Unknown" |
| 264 | return "" | ||
| 265 | 264 | ||
| 266 | return states[state] | 265 | return states[state] |
| 267 | 266 | ||
