diff options
author | guanglei <guanglei> | 2006-05-25 08:05:12 +0000 |
---|---|---|
committer | guanglei <guanglei> | 2006-05-25 08:05:12 +0000 |
commit | 0c8218db09676f097da5a5643482b3b8a655dd80 (patch) | |
tree | 7c073874cc0f2cb51448a53235e6e4f8f30af04a /tapset/scheduler.stp | |
parent | a44a0785c9869062b431573678237c5a646a71a7 (diff) | |
download | systemtap-steved-0c8218db09676f097da5a5643482b3b8a655dd80.tar.gz systemtap-steved-0c8218db09676f097da5a5643482b3b8a655dd80.tar.xz systemtap-steved-0c8218db09676f097da5a5643482b3b8a655dd80.zip |
src/tapset/LKET/*.stp:
explicitly add type qualifier for different arch
to make _stp_vsnprintf get the argument by va_arg correctly
src/tapset/scheduler.stp:
add prev_task and next_task variable
src/stapprobes.5.in:
add lket (5) in the "SEE ALSO"
Diffstat (limited to 'tapset/scheduler.stp')
-rw-r--r-- | tapset/scheduler.stp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tapset/scheduler.stp b/tapset/scheduler.stp index 442a8105..66f0a644 100644 --- a/tapset/scheduler.stp +++ b/tapset/scheduler.stp @@ -126,10 +126,14 @@ probe scheduler.ctxswitch %( arch == "ppc64" %? prev_pid = $prev->pid next_pid = $new->pid + prev_task = $prev + next_task = $new prevtsk_state = $prev->state %: prev_pid = $prev_p->pid next_pid = $next_p->pid + prev_task = $prev_p + next_task = $next_p prevtsk_state = $prev_p->pid %) } |