diff options
| author | Ingo Molnar <mingo@elte.hu> | 2009-07-18 06:19:57 -0400 |
|---|---|---|
| committer | Ingo Molnar <mingo@elte.hu> | 2009-07-18 06:20:01 -0400 |
| commit | 45bceffc3013bda7d2ebc7802e9b153b674e2d44 (patch) | |
| tree | 222d7dd8fd300925cbf12cdc0fba5bee2528997e /lib/Kconfig.debug | |
| parent | 6f2f3cf00ee32f75ba007a46bab88a54d68a5deb (diff) | |
| parent | 78af08d90b8f745044b1274430bc4bc6b2b27aca (diff) | |
Merge branch 'linus' into tracing/core
Merge reason: tracing/core was on an older, pre-rc1 base.
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'lib/Kconfig.debug')
| -rw-r--r-- | lib/Kconfig.debug | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index 4c32b1a1a06e..12327b2bb785 100644 --- a/lib/Kconfig.debug +++ b/lib/Kconfig.debug | |||
| @@ -359,6 +359,18 @@ config DEBUG_KMEMLEAK | |||
| 359 | In order to access the kmemleak file, debugfs needs to be | 359 | In order to access the kmemleak file, debugfs needs to be |
| 360 | mounted (usually at /sys/kernel/debug). | 360 | mounted (usually at /sys/kernel/debug). |
| 361 | 361 | ||
| 362 | config DEBUG_KMEMLEAK_EARLY_LOG_SIZE | ||
| 363 | int "Maximum kmemleak early log entries" | ||
| 364 | depends on DEBUG_KMEMLEAK | ||
| 365 | range 200 2000 | ||
| 366 | default 400 | ||
| 367 | help | ||
| 368 | Kmemleak must track all the memory allocations to avoid | ||
| 369 | reporting false positives. Since memory may be allocated or | ||
| 370 | freed before kmemleak is initialised, an early log buffer is | ||
| 371 | used to store these actions. If kmemleak reports "early log | ||
| 372 | buffer exceeded", please increase this value. | ||
| 373 | |||
| 362 | config DEBUG_KMEMLEAK_TEST | 374 | config DEBUG_KMEMLEAK_TEST |
| 363 | tristate "Simple test for the kernel memory leak detector" | 375 | tristate "Simple test for the kernel memory leak detector" |
| 364 | depends on DEBUG_KMEMLEAK | 376 | depends on DEBUG_KMEMLEAK |
