diff options
| author | Peter Zijlstra <[email protected]> | 2016-01-08 10:39:10 +0000 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2016-01-21 17:54:23 +0000 |
| commit | 63e30d3e52d4d85854ce6c761ffc6ab55209a630 (patch) | |
| tree | f0833f9173a358737aadfefe56e7e60bb741b337 /tools/perf/scripts/python/sched-migration.py | |
| parent | perf: Optimize perf_sched_events() usage (diff) | |
| download | kernel-63e30d3e52d4d85854ce6c761ffc6ab55209a630.tar.gz kernel-63e30d3e52d4d85854ce6c761ffc6ab55209a630.zip | |
perf: Make ctx->is_active and cpuctx->task_ctx consistent
For no apparent reason and to great confusion the rules for
ctx->is_active and cpuctx->task_ctx are different. This means that its
not always possible to find all active (task) contexts.
Fix this such that if ctx->is_active gets set, we also set (or verify)
cpuctx->task_ctx.
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Cc: Arnaldo Carvalho de Melo <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Stephane Eranian <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Vince Weaver <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions
