mirror of
https://github.com/apache/nuttx.git
synced 2026-05-19 03:03:37 +08:00
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:
committed by
Xiang Xiao
parent
f2aeb5e56f
commit
7421e099ca
+3
-1
@@ -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---
|
||||
|
||||
Reference in New Issue
Block a user