diff options
author | Frank Ch. Eigler <fche@elastic.org> | 2008-07-08 18:37:09 -0400 |
---|---|---|
committer | Frank Ch. Eigler <fche@elastic.org> | 2008-07-08 18:37:09 -0400 |
commit | 1027502bf8cae522bac37847931a05feceae96d1 (patch) | |
tree | 9126f1d50187febdaa986068144c04ac188e9c74 | |
parent | b7278cda1ffbe3f1e711adb40577ad12f3527260 (diff) | |
download | systemtap-steved-1027502bf8cae522bac37847931a05feceae96d1.tar.gz systemtap-steved-1027502bf8cae522bac37847931a05feceae96d1.tar.xz systemtap-steved-1027502bf8cae522bac37847931a05feceae96d1.zip |
PR2111: add general blurbage to stapprobes.5 on syscalls tapset
-rw-r--r-- | stapprobes.5.in | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/stapprobes.5.in b/stapprobes.5.in index 5d400cb6..700452a7 100644 --- a/stapprobes.5.in +++ b/stapprobes.5.in @@ -121,6 +121,47 @@ handler is never run, though its statements are analyzed for symbol / type correctness as usual. This probe point may be useful in conjunction with optional probes. +.SS SYSCALL + +The +.IR syscall.* +aliases define several hundred probes, too many to +summarize here. They are: + +.SAMPLE +syscall.NAME +.br +syscall.NAME.return +.ESAMPLE + +Generally, two probes are defined for each normal system call as listed in the +.IR syscalls(2) +manual page, one for entry and one for return. Those system calls that never +return do not have a corresponding +.IR .return +probe. +.PP +Each probe alias defines a variety of variables. Looking at the tapset source +code is the most reliable way. Generally, each variable listed in the standard +manual page is made available as a script-level variable, so +.IR syscall.open +exposes +.IR filename ", " flags ", and " mode . +In addition, a standard suite of variables is available at most aliases: +.TP +.IR argstr +A pretty-printed form of the entire argument list, without parentheses. +.TP +.IR name +The name of the system call. +.TP +.IR retstr +For return probes, a pretty-printed form of the system-call result. +.PP +Not all probe aliases obey all of these general guidelines. Please report +any bothersome ones you encounter as a bug. + + .SS TIMERS Intervals defined by the standard kernel "jiffies" timer may be used |