summaryrefslogtreecommitdiffstats
path: root/sys/conf/files.amd64
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>2004-05-23 18:38:27 +0000
committerbde <bde@FreeBSD.org>2004-05-23 18:38:27 +0000
commit1bfae52f16a11a993a0ed44c40a2f881efad64eb (patch)
tree76716a849a1d3e8329d31349065e5bb8290897d6 /sys/conf/files.amd64
parent9614176a64c59634ab7380dba855262f30fa39b6 (diff)
downloadFreeBSD-src-1bfae52f16a11a993a0ed44c40a2f881efad64eb.zip
FreeBSD-src-1bfae52f16a11a993a0ed44c40a2f881efad64eb.tar.gz
Build prof_machdep.c if profiling.
Kernel profiling for amd64's (normal and high resolution) should now compile and work as (un)well as on i386's. It works better than user profiling because: - it uses _cyg_profile_func_*() instead of .mcount(), so it doesn't suffer from gcc misspelling .mcount as mcount. - it doesn't neglect saving %rax in .mcount(). The SMP case hasn't been tested. The high resolution subcase of this uses the i8254, and as on i386's, the locking for this is deficient and the i8254 is too inefficient. The acpi timer is also too inefficient.
Diffstat (limited to 'sys/conf/files.amd64')
-rw-r--r--sys/conf/files.amd641
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/conf/files.amd64 b/sys/conf/files.amd64
index 3176469..1953474 100644
--- a/sys/conf/files.amd64
+++ b/sys/conf/files.amd64
@@ -69,6 +69,7 @@ amd64/amd64/mpboot.S optional smp
amd64/amd64/mptable.c optional mptable
amd64/amd64/mptable_pci.c optional mptable pci
amd64/amd64/nexus.c standard
+amd64/amd64/prof_machdep.c optional profiling-routine
amd64/amd64/pmap.c standard
amd64/amd64/sigtramp.S standard
amd64/amd64/support.S standard
OpenPOWER on IntegriCloud