diff options
Diffstat (limited to 'tapset/scheduler.stp')
-rw-r--r-- | tapset/scheduler.stp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/tapset/scheduler.stp b/tapset/scheduler.stp index ddc1f192..06922146 100644 --- a/tapset/scheduler.stp +++ b/tapset/scheduler.stp @@ -121,11 +121,9 @@ probe scheduler.balance = kernel.inline("idle_balance") {} * prevtsk_state: the state of the process to be switched out */ probe scheduler.ctxswitch - = kernel.function("__switch_to")?, never + = kernel.function("__switch_to") { -%( arch == "x86_64" %? %: -%( -arch == "ppc64" %? +%( arch == "ppc64" %? prev_pid = $prev->pid next_pid = $new->pid prev_task = $prev @@ -138,5 +136,4 @@ arch == "ppc64" %? next_task = $next_p prevtsk_state = $prev_p->pid %) -%) } |