summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorjistone <jistone>2006-05-18 00:47:48 +0000
committerjistone <jistone>2006-05-18 00:47:48 +0000
commit7018ffc32898930158a83d04248554581d3168f4 (patch)
tree9a0f1a90aaa56ac5c9b332f322059e4ae93a1637 /examples
parentf8e6042eef05612c93efee7adb00cb006fbcc643 (diff)
downloadsystemtap-steved-7018ffc32898930158a83d04248554581d3168f4.tar.gz
systemtap-steved-7018ffc32898930158a83d04248554581d3168f4.tar.xz
systemtap-steved-7018ffc32898930158a83d04248554581d3168f4.zip
2006-05-17 Josh Stone <joshua.i.stone@intel.com>
* process.stp: Rename signal.send to signal_send and process.complete to process_complete, to allow process.* to work properly. * process.stp (_IS_ERR): declare parameter type * process.stp (process.create): correct new_pid assignment
Diffstat (limited to 'examples')
-rwxr-xr-xexamples/small_demos/proc_snoop.stp6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/small_demos/proc_snoop.stp b/examples/small_demos/proc_snoop.stp
index c7517496..5b46d343 100755
--- a/examples/small_demos/proc_snoop.stp
+++ b/examples/small_demos/proc_snoop.stp
@@ -30,7 +30,7 @@ probe process.exec {
report(sprintf("exec %s", filename))
}
-probe process.exec.complete {
+probe process.exec_complete {
if (success)
report("exec success")
else
@@ -45,13 +45,13 @@ probe process.release {
report(sprintf("remove %s", id(task)))
}
-probe process.signal.send {
+probe process.signal_send {
report(sprintf("sigsend %d (%s) to %s%s", signal, signal_name, id(task),
shared? " [SHARED]" : ""))
}
/* FIXME this probepoint is not fully implemented
-probe process.signal.handle {
+probe process.signal_handle {
report(sprintf("sighandle %d (%s)", signal, signal_name))
}
*/