diff options
author | Jeff Smith <jsmith@nvidia.com> | 2012-10-03 13:56:55 -0700 |
---|---|---|
committer | Rohan Somvanshi <rsomvanshi@nvidia.com> | 2012-11-12 03:05:23 -0800 |
commit | 47a48e891bc1c52e18faf96fadd30713a5f566b7 (patch) | |
tree | 6f9080452254469892ed4673e2d21ac68fb53316 /lib | |
parent | a008b2ea3b62d320ff5694bf8436cec01779e809 (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.debug | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index 924a70c4d395..cdf48bbea116 100644 --- a/lib/Kconfig.debug +++ b/lib/Kconfig.debug @@ -152,8 +152,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" |