gprof: Add a configuration dependency
arm-none-eabi-g++: error: -pg and -fomit-frame-pointer are incompatible Signed-off-by: wangmingrong1 <wangmingrong1@xiaomi.com>
This commit is contained in:
parent
f2aeb5e56f
commit
7421e099ca
1 changed files with 3 additions and 1 deletions
|
@ -1377,10 +1377,12 @@ config SCHED_GPROF
|
|||
cause the linker to include the gmon.out file in the final
|
||||
executable.
|
||||
Add the "-pg" parameter to the Makefile when compiling to obtain
|
||||
the function call graph of the specified module.
|
||||
the function call graph of the specified module. If you do this,
|
||||
please enable "CONFIG_FRAME_POINTER"
|
||||
|
||||
config SCHED_GPROF_ALL
|
||||
bool "Enable gprof call graph for all modules"
|
||||
depends on FRAME_POINTER
|
||||
depends on SCHED_GPROF
|
||||
default n
|
||||
---help---
|
||||
|
|
Loading…
Reference in a new issue