[PATCH 2/5] Remove return probes for exit[_group] in nd_syscalls.stp.
Przemyslaw Pawelczyk
przemyslaw@pawelczyk.it
Fri May 22 16:37:00 GMT 2009
Analogue of commit 39a8b0bc.
---
tapset/nd_syscalls.stp | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/tapset/nd_syscalls.stp b/tapset/nd_syscalls.stp
index 71c9f9f..65d846a 100644
--- a/tapset/nd_syscalls.stp
+++ b/tapset/nd_syscalls.stp
@@ -832,7 +832,8 @@ probe nd_syscall.exit = kprobe.function("do_exit")
status = int_arg(1)
argstr = sprint(status)
}
-probe nd_syscall.exit.return = end {}
+# sys_exit() never returns, and is blacklisted for return probes,
+# so no alias here. See bz6588.
# exit_group _________________________________________________
# void sys_exit_group(int error_code)
@@ -846,8 +847,8 @@ probe nd_syscall.exit_group = kprobe.function("sys_exit_group")
status = int_arg(1)
argstr = sprint(status)
}
-
-probe nd_syscall.exit_group.return = end {}
+# sys_exit_group() never returns, and is blacklisted for return probes,
+# so no alias here. See bz6588.
%(arch != "x86_64" %?
# fadvise64 __________________________________________________
--
1.5.6.5
More information about the Systemtap
mailing list