diff options
author | Edward Tomasz Napierala <trasz@FreeBSD.org> | 2020-10-03 12:03:08 +0000 |
---|---|---|
committer | Edward Tomasz Napierala <trasz@FreeBSD.org> | 2020-10-03 12:03:08 +0000 |
commit | 4658877815f78aea73353b288bec4076854430a3 (patch) | |
tree | a8593716dd17584cbce6aa02fe90b08211800d96 /sys/kern/subr_trap.c | |
parent | fedeb08b6a58e708e1153224d37ad26bdc1062a2 (diff) |
Notes
Diffstat (limited to 'sys/kern/subr_trap.c')
-rw-r--r-- | sys/kern/subr_trap.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/kern/subr_trap.c b/sys/kern/subr_trap.c index 3c7e54e3b195a..0c7e43c40ea26 100644 --- a/sys/kern/subr_trap.c +++ b/sys/kern/subr_trap.c @@ -130,9 +130,6 @@ userret(struct thread *td, struct trapframe *frame) PROC_UNLOCK(p); } #endif -#ifdef KTRACE - KTRUSERRET(td); -#endif /* * Charge system time if profiling. @@ -341,6 +338,10 @@ ast(struct trapframe *framep) if (td->td_pflags & TDP_SIGFASTPENDING) sigfastblock_setpend(td, false); +#ifdef KTRACE + KTRUSERRET(td); +#endif + /* * We need to check to see if we have to exit or wait due to a * single threading requirement or some other STOP condition. |