git: "Fix" kernel profiling for i386
alexh at crater.dragonflybsd.org
Thu May 19 08:35:55 PDT 2011
Author: Alex Hornung <ahornung at gmail.com>
Date: Sat Jan 3 06:16:21 1970 +0100
"Fix" kernel profiling for i386
* It is actually quite a hack-ish fix, but better than nothing; it even
seems to work with these changes.
* Note that the ICU bintr/eintr has been removed because it gave
link-time collisions with the bintr/eintr macros in the apic code.
If one doesn't use the APIC, it's probably a good idea to restore
those bintr/eintr macros.
* The spinlock foo is using some old spinlock_deprecated structures
which should probably be changed.
Summary of changes:
sys/cpu/i386/include/asmacros.h | 2 +-
sys/cpu/i386/include/profile.h | 8 ++++++--
sys/kern/subr_prof.c | 2 +-
sys/platform/pc32/icu/icu_vector.s | 2 --
4 files changed, 8 insertions(+), 6 deletions(-)
DragonFly BSD source repository
More information about the Commits