aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi
diff options
context:
space:
mode:
authorThomas Renninger <trenn@suse.de>2007-05-31 11:20:39 -0400
committerLen Brown <len.brown@intel.com>2007-07-22 02:20:07 -0400
commit798d91039849486c7a4f1a458a5680cb55a65408 (patch)
tree913aa33232986dc38b73a7f606c73c8281d208f6 /drivers/acpi
parent54ca4123363f388ab724fc66da92b87dc05395c3 (diff)
ACPI: create CONFIG_ACPI_DEBUG_FUNC_TRACE
Split ACPI_DEBUG into function trace enabled and not enabled. Function trace is most of the ACPI_DEBUG costs, but is not much of use for kernel ACPI debugging. Size of kernel image increased on test compile: + 48k (Full ACPI_DEBUG) + 35k (ACPI_DEBUG with function trace compiled out) Performance without function trace is also much better. Also remove ACPI_LV_DEBUG_OBJECT from default debug level as a lot vendors let Store (value, debug) in their code and this might confuse users when it pops up in syslog. Signed-off-by: Thomas Renninger <trenn@suse.de> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi')
-rw-r--r--drivers/acpi/Kconfig8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/acpi/Kconfig b/drivers/acpi/Kconfig
index 139f41f033d8..1121a1f4b5d7 100644
--- a/drivers/acpi/Kconfig
+++ b/drivers/acpi/Kconfig
@@ -280,6 +280,14 @@ config ACPI_DEBUG
280 of verbosity. Saying Y enables these statements. This will increase 280 of verbosity. Saying Y enables these statements. This will increase
281 your kernel size by around 50K. 281 your kernel size by around 50K.
282 282
283config ACPI_DEBUG_FUNC_TRACE
284 bool "Additionally enable ACPI function tracing"
285 default n
286 depends on ACPI_DEBUG
287 help
288 ACPI Debug Statements slow down ACPI processing. Function trace
289 is about half of the penalty and is rarely useful.
290
283config ACPI_EC 291config ACPI_EC
284 bool 292 bool
285 default y 293 default y