When compiling with profiling, we define PROF for userspace and GPROF

for the kernel.
This commit is contained in:
Marcel Moolenaar 2010-07-01 00:30:35 +00:00
parent 2c9459d167
commit 57764700bc
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=209618

View File

@ -43,7 +43,7 @@
/*
* MCOUNT
*/
#if defined(GPROF)
#if defined(PROF) || (defined(_KERNEL) && defined(GPROF))
#define MCOUNT \
alloc out0 = ar.pfs, 8, 0, 4, 0; \
mov out1 = r1; \