Date: Sun, 5 Jan 2003 23:40:49 -0800 (PST) From: Poul-Henning Kamp <phk@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern subr_prof.c Message-ID: <200301060740.h067enjF021619@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
phk 2003/01/05 23:40:49 PST
Modified files:
sys/kern subr_prof.c
Log:
This is all "#if defined(__i386__) && __GNUC__ >= 2":
Add support for GCC's --test-coverage --profile-arcs options.
Add code to call the functions listed in the .ctors section, these are
used to string the per .o file counter blocks into a linked list.
Add empty __bb_fork_func() to cope with GCC magic gandling of exec*()
named functions.
To add support for other platforms should be trivial, but involves
determining the exact data-types gcc uses on that platform.
Revision Changes Path
1.56 +47 -0 src/sys/kern/subr_prof.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200301060740.h067enjF021619>
