summaryrefslogtreecommitdiffstats
path: root/tapset/scheduler.stp
diff options
context:
space:
mode:
authormmason <mmason>2006-12-13 15:58:15 +0000
committermmason <mmason>2006-12-13 15:58:15 +0000
commit31e356b2e149b7433b4a92a385ef316275d877d5 (patch)
tree596daf8fc9191409aecc444f252f401e61d647e8 /tapset/scheduler.stp
parent8c3051485ff29d04f43e4c739ecee9b5f7ed9a31 (diff)
downloadsystemtap-steved-31e356b2e149b7433b4a92a385ef316275d877d5.tar.gz
systemtap-steved-31e356b2e149b7433b4a92a385ef316275d877d5.tar.xz
systemtap-steved-31e356b2e149b7433b4a92a385ef316275d877d5.zip
In scheduler.ctxswitch, fixed last line to reference $prev_p->state instead of $prev_p->pid.
Diffstat (limited to 'tapset/scheduler.stp')
-rw-r--r--tapset/scheduler.stp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tapset/scheduler.stp b/tapset/scheduler.stp
index e2aa3177..b513e97e 100644
--- a/tapset/scheduler.stp
+++ b/tapset/scheduler.stp
@@ -134,6 +134,6 @@ probe scheduler.ctxswitch
next_pid = $next_p->pid
prev_task = $prev_p
next_task = $next_p
- prevtsk_state = $prev_p->pid
+ prevtsk_state = $prev_p->state
%)
}