diff options
author | jistone <jistone> | 2006-08-10 00:40:08 +0000 |
---|---|---|
committer | jistone <jistone> | 2006-08-10 00:40:08 +0000 |
commit | e7a14b9aa750f7e50d8bd1b8a527e8cd383399c9 (patch) | |
tree | a94063628e9829bd5349fc691ea7b620b59555f3 /tapset/process.stp | |
parent | ed80b5263da50b6e8a6143d5c2d830d9daf52ea2 (diff) | |
download | systemtap-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 'tapset/process.stp')
-rw-r--r-- | tapset/process.stp | 64 |
1 files changed, 1 insertions, 63 deletions
diff --git a/tapset/process.stp b/tapset/process.stp index 005a698a..e1e9257d 100644 --- a/tapset/process.stp +++ b/tapset/process.stp @@ -7,7 +7,7 @@ // later version. -function _IS_ERR:long(ptr:long) %{ +function _IS_ERR:long(ptr:long) %{ /* pure */ THIS->__retvalue = IS_ERR((const void *)(long)THIS->ptr); %} @@ -112,65 +112,3 @@ probe process.exit = kernel.function("do_exit") { probe process.release = kernel.function("release_task") { task = $p } - - -/* probe process.signal_send - * - * Fires when a process sends a signal to another process. This does not - * include ignored signals. - * - * Context: - * The signal's sender. - * - * Arguments: - * signal - the number of the signal - * signal_name - a string representation of the signal - * task - a task handle to the signal recipient - * shared - indicates whether this signal is shared by the thread group - */ -probe process.signal_send = _process.signal_send.* { - signal = $sig - signal_name = _signal_name($sig) -} - -probe _process.signal_send.part1 = - kernel.function("__group_send_sig_info"), - kernel.function("send_group_sigqueue") -{ - task = $p - shared = 1 -} - -probe _process.signal_send.part2 = - kernel.function("send_sigqueue") -{ - task = $p - shared = 0 -} - -probe _process.signal_send.part3 = - kernel.function("specific_send_sig_info") -{ - task = $t - shared = 0 -} - - -/* probe process.signal_handle - * - * Fires when a process handles a signal. - * - * Context: - * The signal recipient. - * - * Arguments: - * signal - the number of the signal - * signal_name - a string representation of the signal - */ -probe process.signal_handle = - kernel.function("handle_signal") ?, - kernel.inline("handle_signal") ? -{ - signal = $sig - signal_name = _signal_name($sig) -} |