summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorAnas Nashif <anas.nashif@intel.com>2015-12-05 09:36:38 -0500
committerAnas Nashif <anas.nashif@intel.com>2016-02-05 20:25:04 -0500
commit9fe306bc2a568b67664ef2d67bc9eb566cb2b2b0 (patch)
treec4bbb8883035ae4627c4ef922ad6bb1d81a30147 /misc
parentcf81e1ff871310f0c3f770b4bd7b306180d067d2 (diff)
Generate stack usage information only when enabled
This will only generate the .su files when CONFIG_STACK_USAGE is specified, otherwise the tree will be full of .su files. Change-Id: I3ffc7a7f5ab09aaae49ff65e8ad5de0832370777 Signed-off-by: Anas Nashif <anas.nashif@intel.com>
Diffstat (limited to 'misc')
-rw-r--r--misc/Kconfig7
1 files changed, 7 insertions, 0 deletions
diff --git a/misc/Kconfig b/misc/Kconfig
index 49510e6ed..01eb70732 100644
--- a/misc/Kconfig
+++ b/misc/Kconfig
@@ -141,6 +141,13 @@ config DEBUG
only disables optimization, more debugging variants can be selected
from here to allow more debugging.
+config STACK_USAGE
+ bool "Generate stack usage information"
+ default n
+ help
+ Generate an extra file that specifies the maximum amount of stack used,
+ on a per-function basis.
+
config PRINTK
bool
prompt "Send printk() to console"