aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorFabian Frederick <[email protected]>2015-02-20 19:12:53 +0100
committerBenjamin Herrenschmidt <[email protected]>2015-03-25 16:53:28 +1100
commit111fbc68fd895ba437bcb03d5dcc4dd21bc61df8 (patch)
treee1d46889e5888dc4c9ef8da7b96bffd14355cf08 /tools/perf/scripts/python/check-perf-trace.py
parent1f8c82ab1b0bc7e24601c0fca411fd27b9c883ef (diff)
powerpc/pmac: replace current->state by set_current_state()
Use helper functions to access current->state. Direct assignments are prone to races and therefore buggy. current->state = TASK_RUNNING can be replaced by __set_current_state() Thanks to Peter Zijlstra for the exact definition of the problem. Suggested-By: Peter Zijlstra <[email protected]> Signed-off-by: Fabian Frederick <[email protected]> Signed-off-by: Benjamin Herrenschmidt <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions