diff options
author | Peter Zijlstra <[email protected]> | 2011-05-31 10:49:20 +0200 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2011-05-31 14:19:57 +0200 |
commit | f339b9dc1f03591761d5d930800db24bc0eda1e1 (patch) | |
tree | 901c78b6e8ccaf9e74515d176084c75389bc2832 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | f01114cb59d670e9b4f2c335930dd57db96e9360 (diff) |
sched: Fix schedstat.nr_wakeups_migrate
While looking over the code I found that with the ttwu rework the
nr_wakeups_migrate test broke since we now switch cpus prior to
calling ttwu_stat(), hence the test is always true.
Cure this by passing the migration state in wake_flags. Also move the
whole test under CONFIG_SMP, its hard to migrate tasks on UP :-)
Signed-off-by: Peter Zijlstra <[email protected]>
Link: http://lkml.kernel.org/n/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions