diff options
author | marcel <marcel@FreeBSD.org> | 2011-10-30 02:19:39 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2011-10-30 02:19:39 +0000 |
commit | 11d8234b9717134e53e5322cc2acf1e39ea1e9c8 (patch) | |
tree | 1116012f8caabba16fe2ebf0086a4c0f7ee98cfa /sys/i386/i386/trap.c | |
parent | d794f830d2c5baee3e912352d66bf666bd2be9ec (diff) | |
download | FreeBSD-src-11d8234b9717134e53e5322cc2acf1e39ea1e9c8.zip FreeBSD-src-11d8234b9717134e53e5322cc2acf1e39ea1e9c8.tar.gz |
Revert rev. 226893: subr_syscall.c is being included from C files and
on amd64 with FREEBSD32 enabled, this means that systrace_probe_func
gets defined twice.
Diffstat (limited to 'sys/i386/i386/trap.c')
-rw-r--r-- | sys/i386/i386/trap.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sys/i386/i386/trap.c b/sys/i386/i386/trap.c index c19846b..5006f41 100644 --- a/sys/i386/i386/trap.c +++ b/sys/i386/i386/trap.c @@ -113,6 +113,13 @@ dtrace_trap_func_t dtrace_trap_func; dtrace_doubletrap_func_t dtrace_doubletrap_func; /* + * This is a hook which is initialised by the systrace module + * when it is loaded. This keeps the DTrace syscall provider + * implementation opaque. + */ +systrace_probe_func_t systrace_probe_func; + +/* * These hooks are necessary for the pid, usdt and fasttrap providers. */ dtrace_fasttrap_probe_ptr_t dtrace_fasttrap_probe_ptr; |