Date: Sun, 23 May 2004 11:38:27 -0700 (PDT) From: Bruce Evans <bde@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/conf files.amd64 Message-ID: <200405231838.i4NIcR0a041943@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
bde 2004/05/23 11:38:27 PDT
FreeBSD src repository
Modified files:
sys/conf files.amd64
Log:
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.
Revision Changes Path
1.35 +1 -0 src/sys/conf/files.amd64
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200405231838.i4NIcR0a041943>
