Nice addition - tested on FreeBSD 6.2, works great!
Cool - thanks for the quick feedback.
The name for the define variable could perhaps be better - feels silly
adding -DLINUX_PROFILE on Freebsd! (maybe just PROFILE or GPROF_PROFILE?).
That wasn't my choice, there is other code elsewhere that depends on that symbol, I just added a little bit more.
-- Korry