summaryrefslogtreecommitdiffstats
path: root/sys/i386/isa
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>2004-05-26 07:43:41 +0000
committerbde <bde@FreeBSD.org>2004-05-26 07:43:41 +0000
commitf3d67a1356f86fc772d88ffcc2c7b92d00bb9bca (patch)
treedacd447a3953e0b1b65df3469f508e94314afc18 /sys/i386/isa
parent1f5642e8bb05c1d3715f0cad1ce60a826a2e60eb (diff)
downloadFreeBSD-src-f3d67a1356f86fc772d88ffcc2c7b92d00bb9bca.zip
FreeBSD-src-f3d67a1356f86fc772d88ffcc2c7b92d00bb9bca.tar.gz
MFamd64:
Fixed profiling of trap, syscall and interrupt handlers and some ordinary functions, essentially by backing out half of rev.1.106 of i386/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. vm86bios.s is included as before, but it is now between the labels for interrupt handlers again, which seems to be wrong since half of it is for a non-interrupt handler.
Diffstat (limited to 'sys/i386/isa')
-rw-r--r--sys/i386/isa/atpic_vector.s2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/i386/isa/atpic_vector.s b/sys/i386/isa/atpic_vector.s
index c1fe463..52aaded 100644
--- a/sys/i386/isa/atpic_vector.s
+++ b/sys/i386/isa/atpic_vector.s
@@ -67,7 +67,6 @@ IDTVEC(vec_name) ; \
MEXITCOUNT ; \
jmp doreti
-MCOUNT_LABEL(bintr)
INTR(0, atpic_intr0)
INTR(1, atpic_intr1)
INTR(2, atpic_intr2)
@@ -84,4 +83,3 @@ MCOUNT_LABEL(bintr)
INTR(13, atpic_intr13)
INTR(14, atpic_intr14)
INTR(15, atpic_intr15)
-MCOUNT_LABEL(eintr)
OpenPOWER on IntegriCloud