diff options
author | Simon Glass <sjg@chromium.org> | 2017-08-04 16:34:59 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-08-11 17:44:51 -0400 |
commit | ce058ae5f2c539e4fc8f2ceec591c78eb8b0ae57 (patch) | |
tree | ac2ab1f6ff8a022c32b6c1241359425ea7d7020a | |
parent | 7a7643184597a72e3b3791de068a402dfc4a66ec (diff) | |
download | u-boot-ce058ae5f2c539e4fc8f2ceec591c78eb8b0ae57.tar.gz |
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>
-rw-r--r-- | cmd/Kconfig | 9 | ||||
-rw-r--r-- | include/configs/exynos5-common.h | 1 | ||||
-rw-r--r-- | include/configs/sandbox.h | 1 | ||||
-rw-r--r-- | scripts/config_whitelist.txt | 1 |
4 files changed, 9 insertions, 3 deletions
diff --git a/cmd/Kconfig b/cmd/Kconfig index a5c557e5b2..bb1980ddb3 100644 --- a/cmd/Kconfig +++ b/cmd/Kconfig @@ -1416,6 +1416,15 @@ config CMD_KGDB single-stepping, inspecting variables, etc. This is supported only 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 config CMD_UBI diff --git a/include/configs/exynos5-common.h b/include/configs/exynos5-common.h index 3b73bbc525..9c9681e8ac 100644 --- a/include/configs/exynos5-common.h +++ b/include/configs/exynos5-common.h @@ -17,7 +17,6 @@ #ifdef FTRACE #define CONFIG_TRACE -#define CONFIG_CMD_TRACE #define CONFIG_TRACE_BUFFER_SIZE (16 << 20) #define CONFIG_TRACE_EARLY_SIZE (8 << 20) #define CONFIG_TRACE_EARLY diff --git a/include/configs/sandbox.h b/include/configs/sandbox.h index 13777abb4c..7567ccd905 100644 --- a/include/configs/sandbox.h +++ b/include/configs/sandbox.h @@ -8,7 +8,6 @@ #ifdef FTRACE #define CONFIG_TRACE -#define CONFIG_CMD_TRACE #define CONFIG_TRACE_BUFFER_SIZE (16 << 20) #define CONFIG_TRACE_EARLY_SIZE (8 << 20) #define CONFIG_TRACE_EARLY diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt index 0621e7b001..a865bfecf5 100644 --- a/scripts/config_whitelist.txt +++ b/scripts/config_whitelist.txt @@ -293,7 +293,6 @@ CONFIG_CM922T_XA10 CONFIG_CMDLINE_EDITING CONFIG_CMDLINE_PS_SUPPORT CONFIG_CMDLINE_TAG -CONFIG_CMD_TRACE CONFIG_CMD_TSI148 CONFIG_CMD_UNIVERSE CONFIG_CMD_UUID |