This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[PATCH 2/5] Remove return probes for exit[_group] in nd_syscalls.stp.
- From: Przemyslaw Pawelczyk <przemyslaw at pawelczyk dot it>
- To: systemtap at sourceware dot org
- Date: Fri, 22 May 2009 16:31:15 +0200
- Subject: [PATCH 2/5] Remove return probes for exit[_group] in nd_syscalls.stp.
- Mail-from: 49dcd7504bfbf63b106a434c0c1407eaa6bb22c4 Mon Sep 17 00:00:00 2001
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