diff options
Diffstat (limited to 'tapset/scheduler.stp')
-rw-r--r-- | tapset/scheduler.stp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tapset/scheduler.stp b/tapset/scheduler.stp index 83b14642..8b6db182 100644 --- a/tapset/scheduler.stp +++ b/tapset/scheduler.stp @@ -53,7 +53,7 @@ probe scheduler.cpu_off * idle - boolean indicating whether current is the idle process */ probe scheduler.cpu_on - = kernel.function("finish_task_switch") + = kernel.function("finish_task_switch")? { task_prev = $prev idle = __is_idle() @@ -89,9 +89,9 @@ probe scheduler.tick = kernel.function("scheduler_tick") * cpu_from - the cpu that is losing the task * cpu_to - the cpu that is claiming the task */ -probe scheduler.migrate = kernel.function("pull_task") { +probe scheduler.migrate = kernel.function("pull_task")? { task = $p - cpu_from = $p->thread_info->cpu + cpu_from = task_cpu($p) /*thread_info renamed to stack since 2.6.22*/ cpu_to = $this_cpu } |