mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-03 19:08:58 +00:00
When compiling with profiling, we define PROF for userspace and GPROF
for the kernel.
This commit is contained in:
parent
2c9459d167
commit
57764700bc
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=209618
@ -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…
Reference in New Issue
Block a user