cvs commit: src/sys/libkern mcount.c

Bruce Evans brde at optusnet.com.au
Thu Jun 14 11:22:59 UTC 2007


On Wed, 13 Jun 2007, Kip Macy wrote:

>> It's unlikely because 0.01% of users configure kernel profiling and
>> you didn't report configuring it.

>> Profiling doesn't hang for me, but I use uncommitted fixes for locking,
>> and only use it on amd64 and i386, and haven't tried it under SMP
>> lately.  Profiling never worked right for SMP and hangs are one
>> possibility for it not working.  -pp is only supported for amd64 and
>> i386.  I only tried it lately to see if gcc-4.2 broke it.  gcc-4.2
>> certainly broke -pp, but AFAIK not in a way that causes additional
>> hangs or breaks -p.
>
> "-p" works "-pp" does not. This is a dual Woodcrest (2x2) running
> x86_64. I guess I can try running with SMP disabled as another data
> point.

Try my fixes sent to freebsd-amd64.

gcc-4.2 will give unusuable (but faster) results with -pp since the main
known new problem with gcc-4.2 is it not emitting any profiler-epilogue
calls.

Bruce


More information about the cvs-src mailing list