Stop printing an error message when we don't have the letter for a given task state. All we need to know is if the task is in the TASK_RUNNING state.
Showing the changes to tools/perf/scripts/python (1 of 1 file). Show all
Unified · Split
| @@ -260,8 +260,7 @@ def taskState(state): · 259 unmodified lines | |||
| 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 | ||