summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJeff Smith <jsmith@nvidia.com>2012-10-03 13:56:55 -0700
committerDan Willemsen <dwillemsen@nvidia.com>2013-09-14 12:41:34 -0700
commit2f1e5fa6807da32ed43a31f30b1e872db11b121e (patch)
tree92a8fd5a4451cd162c28441ac5693c0d6b070a3a /lib
parent70ca30082c15a4638631f8b4eaa724c2d30fa853 (diff)
kernel: Leave LESS_GCC_OPT off by default
Change-Id: Ic8bbc5bbf9ef9cff65d93b14a655df1bdc7cd691 Signed-off-by: Jeff Smith <jsmith@nvidia.com> Reviewed-on: http://git-master/r/141352 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit
Diffstat (limited to 'lib')
-rw-r--r--lib/Kconfig.debug8
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug
index 840cb7d34958..60b7b9bd81e8 100644
--- a/lib/Kconfig.debug
+++ b/lib/Kconfig.debug
@@ -165,8 +165,12 @@ config DEBUG_KERNEL
config LESS_GCC_OPT
bool "Compile with -O1 for debugging"
depends on DEBUG_KERNEL
- default y if TEGRA_SIMULATION_PLATFORM
- default n if !TEGRA_SIMULATION_PLATFORM
+ default n
+ help
+ Enable this if you are using a source level debugger and
+ experience poor correlation between the program counter
+ and the source display. This will reduce kernel peformance
+ and is only used when debugging.
config DEBUG_SHIRQ
bool "Debug shared IRQ handlers"