diff options
author | avg <avg@FreeBSD.org> | 2014-02-17 12:57:13 +0000 |
---|---|---|
committer | avg <avg@FreeBSD.org> | 2014-02-17 12:57:13 +0000 |
commit | b46715eb45c047352cfcbd2055652d72d46e5deb (patch) | |
tree | 93785a3683b712612c87b437ee29ca2ce15939af /sys/cddl/dev | |
parent | 1e63cd3ce52448cd3bda34456af95882a3ae00b7 (diff) | |
download | FreeBSD-src-b46715eb45c047352cfcbd2055652d72d46e5deb.zip FreeBSD-src-b46715eb45c047352cfcbd2055652d72d46e5deb.tar.gz |
MFC r257417: Remove references to an unused fasttrap probe hook
Diffstat (limited to 'sys/cddl/dev')
-rw-r--r-- | sys/cddl/dev/dtrace/amd64/dtrace_subr.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/sys/cddl/dev/dtrace/amd64/dtrace_subr.c b/sys/cddl/dev/dtrace/amd64/dtrace_subr.c index 1ec1509..bdd6fbe 100644 --- a/sys/cddl/dev/dtrace/amd64/dtrace_subr.c +++ b/sys/cddl/dev/dtrace/amd64/dtrace_subr.c @@ -142,7 +142,6 @@ dtrace_sync(void) } #ifdef notyet -int (*dtrace_fasttrap_probe_ptr)(struct regs *); int (*dtrace_pid_probe_ptr)(struct regs *); int (*dtrace_return_probe_ptr)(struct regs *); @@ -213,13 +212,6 @@ dtrace_user_probe(struct regs *rp, caddr_t addr, processorid_t cpuid) rw_exit(rwp); rp->r_pc = npc; - } else if (rp->r_trapno == T_DTRACE_PROBE) { - rwp = &CPU->cpu_ft_lock; - rw_enter(rwp, RW_READER); - if (dtrace_fasttrap_probe_ptr != NULL) - (void) (*dtrace_fasttrap_probe_ptr)(rp); - rw_exit(rwp); - } else if (rp->r_trapno == T_BPTFLT) { uint8_t instr; rwp = &CPU->cpu_ft_lock; |