mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-17 20:51:39 +00:00
Convert CONFIG_CMD_TRACE to Kconfig
This converts the following to Kconfig: CONFIG_CMD_TRACE Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
This commit is contained in:
parent
7a76431845
commit
ce058ae5f2
4 changed files with 9 additions and 3 deletions
|
@ -1416,6 +1416,15 @@ config CMD_KGDB
|
||||||
single-stepping, inspecting variables, etc. This is supported only
|
single-stepping, inspecting variables, etc. This is supported only
|
||||||
on PowerPC at present.
|
on PowerPC at present.
|
||||||
|
|
||||||
|
config CMD_TRACE
|
||||||
|
bool "trace - Support tracing of function calls and timing"
|
||||||
|
help
|
||||||
|
Enables a command to control using of function tracing within
|
||||||
|
U-Boot. This allows recording of call traces including timing
|
||||||
|
information. The command can write data to memory for exporting
|
||||||
|
for analsys (e.g. using bootchart). See doc/README.trace for full
|
||||||
|
details.
|
||||||
|
|
||||||
endmenu
|
endmenu
|
||||||
|
|
||||||
config CMD_UBI
|
config CMD_UBI
|
||||||
|
|
|
@ -17,7 +17,6 @@
|
||||||
|
|
||||||
#ifdef FTRACE
|
#ifdef FTRACE
|
||||||
#define CONFIG_TRACE
|
#define CONFIG_TRACE
|
||||||
#define CONFIG_CMD_TRACE
|
|
||||||
#define CONFIG_TRACE_BUFFER_SIZE (16 << 20)
|
#define CONFIG_TRACE_BUFFER_SIZE (16 << 20)
|
||||||
#define CONFIG_TRACE_EARLY_SIZE (8 << 20)
|
#define CONFIG_TRACE_EARLY_SIZE (8 << 20)
|
||||||
#define CONFIG_TRACE_EARLY
|
#define CONFIG_TRACE_EARLY
|
||||||
|
|
|
@ -8,7 +8,6 @@
|
||||||
|
|
||||||
#ifdef FTRACE
|
#ifdef FTRACE
|
||||||
#define CONFIG_TRACE
|
#define CONFIG_TRACE
|
||||||
#define CONFIG_CMD_TRACE
|
|
||||||
#define CONFIG_TRACE_BUFFER_SIZE (16 << 20)
|
#define CONFIG_TRACE_BUFFER_SIZE (16 << 20)
|
||||||
#define CONFIG_TRACE_EARLY_SIZE (8 << 20)
|
#define CONFIG_TRACE_EARLY_SIZE (8 << 20)
|
||||||
#define CONFIG_TRACE_EARLY
|
#define CONFIG_TRACE_EARLY
|
||||||
|
|
|
@ -293,7 +293,6 @@ CONFIG_CM922T_XA10
|
||||||
CONFIG_CMDLINE_EDITING
|
CONFIG_CMDLINE_EDITING
|
||||||
CONFIG_CMDLINE_PS_SUPPORT
|
CONFIG_CMDLINE_PS_SUPPORT
|
||||||
CONFIG_CMDLINE_TAG
|
CONFIG_CMDLINE_TAG
|
||||||
CONFIG_CMD_TRACE
|
|
||||||
CONFIG_CMD_TSI148
|
CONFIG_CMD_TSI148
|
||||||
CONFIG_CMD_UNIVERSE
|
CONFIG_CMD_UNIVERSE
|
||||||
CONFIG_CMD_UUID
|
CONFIG_CMD_UUID
|
||||||
|
|
Loading…
Add table
Reference in a new issue