summaryrefslogtreecommitdiffstats
path: root/sys/amd64/amd64/apic_vector.S
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>2004-05-24 12:08:56 +0000
committerbde <bde@FreeBSD.org>2004-05-24 12:08:56 +0000
commit5e80bb386e1f3e56b71b623679f23756fa18d524 (patch)
treeb4fbb14aa6de21bf8d3bf90c0fee6fe20d088dcb /sys/amd64/amd64/apic_vector.S
parent04f0693a84eeb160251cb8679567ce771c7cf4af (diff)
downloadFreeBSD-src-5e80bb386e1f3e56b71b623679f23756fa18d524.zip
FreeBSD-src-5e80bb386e1f3e56b71b623679f23756fa18d524.tar.gz
Fixed profiling of trap, syscall and interrupt handlers and some
ordinary functions, essentially by backing out half of rev.1.115 of amd64/exception.S. The handlers must be between certain labels for the purposes of profiling, and this was broken by scattering them in separately compiled .S files, especially for ordinary functions that ended up between the labels. Merge the files by #including them as before, except with different pathnames and better comments and organization. Changes to the scattered files are minimal -- just move the labels to the file that does the #includes. This also partly fixes profiling of IPIs -- all IPI handlers are now correctly classified as interrupt handlers, but many are still missing mcount calls.
Diffstat (limited to 'sys/amd64/amd64/apic_vector.S')
-rw-r--r--sys/amd64/amd64/apic_vector.S2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/amd64/amd64/apic_vector.S b/sys/amd64/amd64/apic_vector.S
index 3adb3cc..75d2372 100644
--- a/sys/amd64/amd64/apic_vector.S
+++ b/sys/amd64/amd64/apic_vector.S
@@ -129,7 +129,6 @@ IDTVEC(spuriousint)
iretq
-MCOUNT_LABEL(bintr2)
ISR_VEC(1, apic_isr1)
ISR_VEC(2, apic_isr2)
ISR_VEC(3, apic_isr3)
@@ -137,7 +136,6 @@ MCOUNT_LABEL(bintr2)
ISR_VEC(5, apic_isr5)
ISR_VEC(6, apic_isr6)
ISR_VEC(7, apic_isr7)
-MCOUNT_LABEL(eintr2)
#ifdef SMP
/*
OpenPOWER on IntegriCloud