summaryrefslogtreecommitdiffstats
path: root/sys/amd64/amd64/exception.S
diff options
context:
space:
mode:
authorrpaulo <rpaulo@FreeBSD.org>2010-08-28 08:03:29 +0000
committerrpaulo <rpaulo@FreeBSD.org>2010-08-28 08:03:29 +0000
commit707917e57b9e89c2d8a0b8c5ef3f2fd4abe19556 (patch)
treedb25003fe1513ee1e6b3319f1520510b66d46406 /sys/amd64/amd64/exception.S
parent145f151a7942ca39adbf26b7aabd3df7c445a9a2 (diff)
downloadFreeBSD-src-707917e57b9e89c2d8a0b8c5ef3f2fd4abe19556.zip
FreeBSD-src-707917e57b9e89c2d8a0b8c5ef3f2fd4abe19556.tar.gz
Register an interrupt vector for DTrace return probes. There is some
code missing in lapic to make sure that we don't overwrite this entry, but this will be done on a sequent commit. Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'sys/amd64/amd64/exception.S')
-rw-r--r--sys/amd64/amd64/exception.S4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/amd64/amd64/exception.S b/sys/amd64/amd64/exception.S
index c18f27f..37e89a00 100644
--- a/sys/amd64/amd64/exception.S
+++ b/sys/amd64/amd64/exception.S
@@ -108,6 +108,10 @@ IDTVEC(dbg)
TRAP_NOEN(T_TRCTRAP)
IDTVEC(bpt)
TRAP_NOEN(T_BPTFLT)
+#ifdef KDTRACE_HOOKS
+IDTVEC(dtrace_ret)
+ TRAP_NOEN(T_DTRACE_RET)
+#endif
/* Regular traps; The cpu does not supply tf_err for these. */
#define TRAP(a) \
OpenPOWER on IntegriCloud