diff options
author | Ingo Molnar <mingo@elte.hu> | 2008-12-29 09:16:24 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-12-29 09:16:24 -0500 |
commit | 2ff9f9d9629bf9530fe2ab8d803d612761ffc059 (patch) | |
tree | b22e3fddffbc0f58b1e1974f4819896d58b7bdaf /lib | |
parent | 0f01f07fad4ee11d98fe6faa442afbeb0328a378 (diff) | |
parent | a4900437f3d76761a1646cd90254ccb01714a9ed (diff) |
Merge branch 'topic/kmemtrace' of git://git.kernel.org/pub/scm/linux/kernel/git/penberg/slab-2.6 into tracing/kmemtrace
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Kconfig.debug | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index b0f239e443bc..b5417e23ba94 100644 --- a/lib/Kconfig.debug +++ b/lib/Kconfig.debug | |||
@@ -803,6 +803,26 @@ config FIREWIRE_OHCI_REMOTE_DMA | |||
803 | 803 | ||
804 | If unsure, say N. | 804 | If unsure, say N. |
805 | 805 | ||
806 | config KMEMTRACE | ||
807 | bool "Kernel memory tracer (kmemtrace)" | ||
808 | depends on RELAY && DEBUG_FS && MARKERS | ||
809 | help | ||
810 | kmemtrace provides tracing for slab allocator functions, such as | ||
811 | kmalloc, kfree, kmem_cache_alloc, kmem_cache_free etc.. Collected | ||
812 | data is then fed to the userspace application in order to analyse | ||
813 | allocation hotspots, internal fragmentation and so on, making it | ||
814 | possible to see how well an allocator performs, as well as debug | ||
815 | and profile kernel code. | ||
816 | |||
817 | This requires an userspace application to use. See | ||
818 | Documentation/vm/kmemtrace.txt for more information. | ||
819 | |||
820 | Saying Y will make the kernel somewhat larger and slower. However, | ||
821 | if you disable kmemtrace at run-time or boot-time, the performance | ||
822 | impact is minimal (depending on the arch the kernel is built for). | ||
823 | |||
824 | If unsure, say N. | ||
825 | |||
806 | menuconfig BUILD_DOCSRC | 826 | menuconfig BUILD_DOCSRC |
807 | bool "Build targets in Documentation/ tree" | 827 | bool "Build targets in Documentation/ tree" |
808 | depends on HEADERS_CHECK | 828 | depends on HEADERS_CHECK |