summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorjistone <jistone>2006-08-10 00:40:08 +0000
committerjistone <jistone>2006-08-10 00:40:08 +0000
commite7a14b9aa750f7e50d8bd1b8a527e8cd383399c9 (patch)
treea94063628e9829bd5349fc691ea7b620b59555f3 /examples
parented80b5263da50b6e8a6143d5c2d830d9daf52ea2 (diff)
downloadsystemtap-steved-e7a14b9aa750f7e50d8bd1b8a527e8cd383399c9.tar.gz
systemtap-steved-e7a14b9aa750f7e50d8bd1b8a527e8cd383399c9.tar.xz
systemtap-steved-e7a14b9aa750f7e50d8bd1b8a527e8cd383399c9.zip
2006-08-09 Josh Stone <joshua.i.stone@intel.com>
* tapset/signal.stp: Create a new tapset that addresses process signals. Much of this was contributed by Manoj Pattabhiraman (IBM). * tapset/process.stp: Remove aliases that now belong in signal tapset * examples/small_demos/proc_snoop.stp, testsuite/buildok/process_test.stp: Rename process.signal_* to new signal.* tapset.
Diffstat (limited to 'examples')
-rwxr-xr-xexamples/small_demos/proc_snoop.stp8
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/small_demos/proc_snoop.stp b/examples/small_demos/proc_snoop.stp
index df0f2c81..24499b4b 100755
--- a/examples/small_demos/proc_snoop.stp
+++ b/examples/small_demos/proc_snoop.stp
@@ -45,11 +45,11 @@ probe process.release {
report(sprintf("remove %s", id(task)))
}
-probe process.signal_send {
- report(sprintf("sigsend %d (%s) to %s%s", signal, signal_name, id(task),
+probe signal.send {
+ report(sprintf("sigsend %d (%s) to %s%s", sig, sig_name, id(task),
shared? " [SHARED]" : ""))
}
-probe process.signal_handle {
- report(sprintf("sighandle %d (%s)", signal, signal_name))
+probe signal.handle {
+ report(sprintf("sighandle %d (%s)", sig, sig_name))
}