Date: Fri, 16 Dec 2005 22:11:52 +0000 (UTC) From: John Baldwin <jhb@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern kern_clock.c Message-ID: <200512162211.jBGMBqRT009057@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jhb 2005-12-16 22:11:52 UTC FreeBSD src repository Modified files: sys/kern kern_clock.c Log: - Use uintfptr_t rather than int for the kernel profiling index (though it really should be a fptrdiff_t if we had that) in profclock(). - Don't try to profile kernel pc's that are >= the kernel lowpc to avoid underflows when computing a profiling index. - Use the PC_TO_I() macro to compute the kernel profiling index rather than doing it inline. Discussed with: bde Revision Changes Path 1.182 +3 -3 src/sys/kern/kern_clock.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200512162211.jBGMBqRT009057>