summaryrefslogtreecommitdiffstats
path: root/sys/sys/dtrace_bsd.h
diff options
context:
space:
mode:
authormarkj <markj@FreeBSD.org>2014-12-23 15:38:19 +0000
committermarkj <markj@FreeBSD.org>2014-12-23 15:38:19 +0000
commit7ea63e4fb49b9fd6e09141a3b07ab5137e249a08 (patch)
treed6778eb5fb483953bf06a32dbffc3c9ff0294312 /sys/sys/dtrace_bsd.h
parent5130d48f9c63ccf0aa81c3b9272eb734601d088e (diff)
downloadFreeBSD-src-7ea63e4fb49b9fd6e09141a3b07ab5137e249a08.zip
FreeBSD-src-7ea63e4fb49b9fd6e09141a3b07ab5137e249a08.tar.gz
Restore the trap type argument to the DTrace trap hook, removed in r268600.
It's redundant at the moment since it can be obtained from the trapframe on the architectures where DTrace is supported, but this won't be the case with ARM.
Diffstat (limited to 'sys/sys/dtrace_bsd.h')
-rw-r--r--sys/sys/dtrace_bsd.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/sys/dtrace_bsd.h b/sys/sys/dtrace_bsd.h
index 6bcaf29..f46b900 100644
--- a/sys/sys/dtrace_bsd.h
+++ b/sys/sys/dtrace_bsd.h
@@ -39,14 +39,14 @@ struct vattr;
struct vnode;
struct reg;
-int dtrace_trap(struct trapframe *);
+int dtrace_trap(struct trapframe *, u_int);
/*
* The dtrace module handles traps that occur during a DTrace probe.
* This type definition is used in the trap handler to provide a
* hook for the dtrace module to register its handler with.
*/
-typedef int (*dtrace_trap_func_t)(struct trapframe *);
+typedef int (*dtrace_trap_func_t)(struct trapframe *, u_int);
extern dtrace_trap_func_t dtrace_trap_func;
/*
OpenPOWER on IntegriCloud