From 0bb1b57065e18804ed8ddcc07bb7ae193845815f Mon Sep 17 00:00:00 2001 From: Kris Van Hees Date: Tue, 21 May 2013 02:48:39 -0400 Subject: [PATCH] Update syscall tracing in view of Linux 3.8 changes. The handling of various stub-based syscalls in Linux 3.8 changed to no longer use the saved registers directly. This change is now also reflected in the DTrace overrides for those system calls. Also reset the compilatio debug settings to all-off (they should only be turned on in local compilations - never in the repo.) Signed-off-by: Kris Van Hees --- dtrace/dtrace_debug.h | 4 ++-- dtrace/systrace_dev.c | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/dtrace/dtrace_debug.h b/dtrace/dtrace_debug.h index f376cfc18cbb..a8cd96972f03 100644 --- a/dtrace/dtrace_debug.h +++ b/dtrace/dtrace_debug.h @@ -5,9 +5,9 @@ # undef DT_DBG_AGG # undef DT_DBG_BUF -# define DT_DBG_DOF +# undef DT_DBG_DOF # undef DT_DBG_IOCTL -# define DT_DBG_PROBE +# undef DT_DBG_PROBE #else /* CONFIG_DT_DEBUG */ diff --git a/dtrace/systrace_dev.c b/dtrace/systrace_dev.c index 50ea38862b76..5afee49ef6cd 100644 --- a/dtrace/systrace_dev.c +++ b/dtrace/systrace_dev.c @@ -98,8 +98,6 @@ static dt_sys_call_t get_intercept(int sysnum) return systrace_info->stubs[SCE_FORK]; case __NR_vfork: return systrace_info->stubs[SCE_VFORK]; - case __NR_sigaltstack: - return systrace_info->stubs[SCE_SIGALTSTACK]; case __NR_iopl: return systrace_info->stubs[SCE_IOPL]; case __NR_execve: -- 2.50.1