From b1f3e1bd060020f36c35d449914955c3f9cd2aba Mon Sep 17 00:00:00 2001 From: guanglei Date: Tue, 10 Oct 2006 08:32:06 +0000 Subject: stapprobes.signal.5.in: document signal syscall hookiddefs.stp: some changes to the hookid: Now the hookid of a return type event(addevent.*.return) should be an even number and its value should be the corresponding entry event hookid +1. The hookid of a non-return type event should be an odd number. Add the hookid of HOOKID_REGEVTDESC register_event.stp: add register_evt_desc() to register the description of an event. Change the register_sys_event() to add the an argument representing event description Allow to use empty format string and empty field name when calling register_event(). Change all calling to register_sys_event() to add an argument which represents the event description. Change register_evt_desc() and register_event() to add an argument representing the event description string, which could help facilitate the error debugging. iosyscall.stp: bugfix to add the variable GroupID and hookID nfs.stp: bugfix to add some omitted probe definitions. nfs_proc.stp: bugfix of the wrong calling to _lket_trace() for nfs_proc.remove.entry. --- man/stapprobes.signal.5.in | 63 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 63 insertions(+) (limited to 'man/stapprobes.signal.5.in') diff --git a/man/stapprobes.signal.5.in b/man/stapprobes.signal.5.in index 7a1f16ee..15a43045 100644 --- a/man/stapprobes.signal.5.in +++ b/man/stapprobes.signal.5.in @@ -254,6 +254,69 @@ Fires when return from signal.force_segv .I retstr return value. Always return 0 +.P +.TP +.B signal.syskill + +Fires when sys_kill is called to send a signal to a process. + +.B Arguments: + +.I pid + pid of the recipient process + +.I sig + the signal to be sent + +.P +.TP +.B signal.syskill.return + +Fires when returning from sys_kill + +.P +.TP +.B signal.tgkill + +Fires when sys_tgkill is called to send a signal to one specific thread + +.B Arguments: + +.I pid + pid of the recipient thread + +.I tgid + thread group id which the target thread should have + +.I sig + the signal to be sent + +.P +.TP +.B signal.tgkill.return + +Fires when returning from sys_tgkill + +.P +.TP +.B signal.tkill + +Fires when sys_tkill is called to send a signal to a single process. + +.B Arguments: + +.I pid + pid of the recipient process + +.I sig + the signal to be sent + +.P +.TP +.B signal.tkill.return + +Fires when returning from sys_tkill + .P .TP .B signal.send_sig_queue -- cgit