When compiling with profiling, we define PROF for userspace and GPROF
for the kernel.
This commit is contained in:
parent
88c7d17a4c
commit
f9988e6402
@ -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; \
|
||||
|
Loading…
x
Reference in New Issue
Block a user