mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-25 17:43:34 +08:00
bloaty show full demangle, increase number of lines, and combine segments + sections
This commit is contained in:
Vendored
-4
@@ -109,7 +109,6 @@ pipeline {
|
|||||||
sh 'make px4_io-v2_default'
|
sh 'make px4_io-v2_default'
|
||||||
sh 'make px4_io-v2_default bloaty_compileunits'
|
sh 'make px4_io-v2_default bloaty_compileunits'
|
||||||
sh 'make px4_io-v2_default bloaty_inlines'
|
sh 'make px4_io-v2_default bloaty_inlines'
|
||||||
sh 'make px4_io-v2_default bloaty_sections'
|
|
||||||
sh 'make px4_io-v2_default bloaty_segments'
|
sh 'make px4_io-v2_default bloaty_segments'
|
||||||
sh 'make px4_io-v2_default bloaty_symbols'
|
sh 'make px4_io-v2_default bloaty_symbols'
|
||||||
sh 'make px4_io-v2_default bloaty_templates'
|
sh 'make px4_io-v2_default bloaty_templates'
|
||||||
@@ -142,7 +141,6 @@ pipeline {
|
|||||||
sh 'make px4_fmu-v2_default'
|
sh 'make px4_fmu-v2_default'
|
||||||
sh 'make px4_fmu-v2_default bloaty_compileunits'
|
sh 'make px4_fmu-v2_default bloaty_compileunits'
|
||||||
sh 'make px4_fmu-v2_default bloaty_inlines'
|
sh 'make px4_fmu-v2_default bloaty_inlines'
|
||||||
sh 'make px4_fmu-v2_default bloaty_sections'
|
|
||||||
sh 'make px4_fmu-v2_default bloaty_segments'
|
sh 'make px4_fmu-v2_default bloaty_segments'
|
||||||
sh 'make px4_fmu-v2_default bloaty_symbols'
|
sh 'make px4_fmu-v2_default bloaty_symbols'
|
||||||
sh 'make px4_fmu-v2_default bloaty_templates'
|
sh 'make px4_fmu-v2_default bloaty_templates'
|
||||||
@@ -175,7 +173,6 @@ pipeline {
|
|||||||
sh 'make px4_fmu-v5_default'
|
sh 'make px4_fmu-v5_default'
|
||||||
sh 'make px4_fmu-v5_default bloaty_compileunits'
|
sh 'make px4_fmu-v5_default bloaty_compileunits'
|
||||||
sh 'make px4_fmu-v5_default bloaty_inlines'
|
sh 'make px4_fmu-v5_default bloaty_inlines'
|
||||||
sh 'make px4_fmu-v5_default bloaty_sections'
|
|
||||||
sh 'make px4_fmu-v5_default bloaty_segments'
|
sh 'make px4_fmu-v5_default bloaty_segments'
|
||||||
sh 'make px4_fmu-v5_default bloaty_symbols'
|
sh 'make px4_fmu-v5_default bloaty_symbols'
|
||||||
sh 'make px4_fmu-v5_default bloaty_templates'
|
sh 'make px4_fmu-v5_default bloaty_templates'
|
||||||
@@ -208,7 +205,6 @@ pipeline {
|
|||||||
sh 'make px4_sitl_default'
|
sh 'make px4_sitl_default'
|
||||||
sh 'make px4_sitl_default bloaty_compileunits'
|
sh 'make px4_sitl_default bloaty_compileunits'
|
||||||
sh 'make px4_sitl_default bloaty_inlines'
|
sh 'make px4_sitl_default bloaty_inlines'
|
||||||
sh 'make px4_sitl_default bloaty_sections'
|
|
||||||
sh 'make px4_sitl_default bloaty_segments'
|
sh 'make px4_sitl_default bloaty_segments'
|
||||||
sh 'make px4_sitl_default bloaty_symbols'
|
sh 'make px4_sitl_default bloaty_symbols'
|
||||||
sh 'make px4_sitl_default bloaty_templates'
|
sh 'make px4_sitl_default bloaty_templates'
|
||||||
|
|||||||
+3
-10
@@ -34,7 +34,7 @@
|
|||||||
find_program(BLOATY_PROGRAM bloaty)
|
find_program(BLOATY_PROGRAM bloaty)
|
||||||
if (BLOATY_PROGRAM)
|
if (BLOATY_PROGRAM)
|
||||||
|
|
||||||
set(BLOATY_OPTS --demangle=short --domain=vm -s vm -n 100 -w)
|
set(BLOATY_OPTS --demangle=full --domain=vm -s vm -n 200 -w)
|
||||||
|
|
||||||
# bloaty compilation units
|
# bloaty compilation units
|
||||||
add_custom_target(bloaty_compileunits
|
add_custom_target(bloaty_compileunits
|
||||||
@@ -50,16 +50,9 @@ if (BLOATY_PROGRAM)
|
|||||||
USES_TERMINAL
|
USES_TERMINAL
|
||||||
)
|
)
|
||||||
|
|
||||||
# bloaty sections
|
# bloaty segments,sections
|
||||||
add_custom_target(bloaty_sections
|
|
||||||
COMMAND ${BLOATY_PROGRAM} -d sections ${BLOATY_OPTS} $<TARGET_FILE:px4>
|
|
||||||
DEPENDS px4
|
|
||||||
USES_TERMINAL
|
|
||||||
)
|
|
||||||
|
|
||||||
# bloaty segments
|
|
||||||
add_custom_target(bloaty_segments
|
add_custom_target(bloaty_segments
|
||||||
COMMAND ${BLOATY_PROGRAM} -d segments ${BLOATY_OPTS} $<TARGET_FILE:px4>
|
COMMAND ${BLOATY_PROGRAM} -d segments,sections ${BLOATY_OPTS} $<TARGET_FILE:px4>
|
||||||
DEPENDS px4
|
DEPENDS px4
|
||||||
USES_TERMINAL
|
USES_TERMINAL
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user