Searched hist:183033 (Results 1 - 3 of 3) sorted by relevance
/freebsd-11.0-release/sys/dev/hwpmc/ | ||
H A D | hwpmc_x86.c | diff 183033 Mon Sep 15 06:49:03 MDT 2008 jkoshy Correct a callchain capture bug on the i386. On the i386 architecture, the processor only saves the current value of `%esp' on stack if a privilege switch is necessary when entering the interrupt handler. Thus, `frame->tf_esp' is only valid for an entry from user mode. For interrupts taken in kernel mode, we need to determine the top-of-stack for the interrupted kernel procedure by adding the appropriate offset to the current frame pointer. Reported by: kris, Fabien Thomas Tested by: Fabien Thomas <fabien.thomas at netasq dot com> |
/freebsd-11.0-release/sys/amd64/include/ | ||
H A D | pmc_mdep.h | diff 183033 Mon Sep 15 06:49:03 MDT 2008 jkoshy Correct a callchain capture bug on the i386. On the i386 architecture, the processor only saves the current value of `%esp' on stack if a privilege switch is necessary when entering the interrupt handler. Thus, `frame->tf_esp' is only valid for an entry from user mode. For interrupts taken in kernel mode, we need to determine the top-of-stack for the interrupted kernel procedure by adding the appropriate offset to the current frame pointer. Reported by: kris, Fabien Thomas Tested by: Fabien Thomas <fabien.thomas at netasq dot com> |
/freebsd-11.0-release/sys/i386/include/ | ||
H A D | pmc_mdep.h | diff 183033 Mon Sep 15 06:49:03 MDT 2008 jkoshy Correct a callchain capture bug on the i386. On the i386 architecture, the processor only saves the current value of `%esp' on stack if a privilege switch is necessary when entering the interrupt handler. Thus, `frame->tf_esp' is only valid for an entry from user mode. For interrupts taken in kernel mode, we need to determine the top-of-stack for the interrupted kernel procedure by adding the appropriate offset to the current frame pointer. Reported by: kris, Fabien Thomas Tested by: Fabien Thomas <fabien.thomas at netasq dot com> |
Completed in 52 milliseconds