diff options
author | Simon Glass <sjg@chromium.org> | 2019-04-08 22:20:51 +0300 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2019-04-24 05:26:43 +0300 |
commit | a24a78d7e3e8b6008423d1a6aa49a6c9eb904752 (patch) | |
tree | 1a48500249768c160e290a4d10af2ef0bb1a35bd | |
parent | f564d09608f422d4584ae7416d9da040a89ebee3 (diff) | |
download | u-boot-a24a78d7e3e8b6008423d1a6aa49a6c9eb904752.tar.xz |
Convert CONFIG_TRACE to Kconfig
This converts the following to Kconfig:
CONFIG_TRACE
Signed-off-by: Simon Glass <sjg@chromium.org>
-rw-r--r-- | cmd/Kconfig | 2 | ||||
-rw-r--r-- | lib/Kconfig | 9 | ||||
-rw-r--r-- | scripts/config_whitelist.txt | 1 |
3 files changed, 10 insertions, 2 deletions
diff --git a/cmd/Kconfig b/cmd/Kconfig index f6e7cd4303..8744cec5c0 100644 --- a/cmd/Kconfig +++ b/cmd/Kconfig @@ -1905,7 +1905,7 @@ config CMD_TRACE 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 + for analysis (e.g. using bootchart). See doc/README.trace for full details. config CMD_AVB diff --git a/lib/Kconfig b/lib/Kconfig index 2120216593..a3352a4fa1 100644 --- a/lib/Kconfig +++ b/lib/Kconfig @@ -165,6 +165,15 @@ config RBTREE config BITREVERSE bool "Bit reverse library from Linux" +config TRACE + bool "Support for tracing of function calls and timing" + imply CMD_TRACE + help + Enables function tracing within U-Boot. This allows recording of call + traces including timing information. The command can write data to + memory for exporting for analysis (e.g. using bootchart). + See doc/README.trace for full details. + source lib/dhry/Kconfig menu "Security support" diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt index 421362d953..2942c6945b 100644 --- a/scripts/config_whitelist.txt +++ b/scripts/config_whitelist.txt @@ -4401,7 +4401,6 @@ CONFIG_TMU_TIMER CONFIG_TPL_PAD_TO CONFIG_TPM_TIS_BASE_ADDRESS CONFIG_TPS6586X_POWER -CONFIG_TRACE CONFIG_TRACE_BUFFER_SIZE CONFIG_TRACE_EARLY CONFIG_TRACE_EARLY_ADDR |