aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/trace/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/trace/Kconfig')
-rw-r--r--kernel/trace/Kconfig22
1 files changed, 22 insertions, 0 deletions
diff --git a/kernel/trace/Kconfig b/kernel/trace/Kconfig
index e2a4ff6fc3a6..27fb74b06b3c 100644
--- a/kernel/trace/Kconfig
+++ b/kernel/trace/Kconfig
@@ -264,6 +264,28 @@ config HW_BRANCH_TRACER
264 This tracer records all branches on the system in a circular 264 This tracer records all branches on the system in a circular
265 buffer giving access to the last N branches for each cpu. 265 buffer giving access to the last N branches for each cpu.
266 266
267config KMEMTRACE
268 bool "Trace SLAB allocations"
269 select TRACING
270 depends on RELAY
271 help
272 kmemtrace provides tracing for slab allocator functions, such as
273 kmalloc, kfree, kmem_cache_alloc, kmem_cache_free etc.. Collected
274 data is then fed to the userspace application in order to analyse
275 allocation hotspots, internal fragmentation and so on, making it
276 possible to see how well an allocator performs, as well as debug
277 and profile kernel code.
278
279 This requires an userspace application to use. See
280 Documentation/vm/kmemtrace.txt for more information.
281
282 Saying Y will make the kernel somewhat larger and slower. However,
283 if you disable kmemtrace at run-time or boot-time, the performance
284 impact is minimal (depending on the arch the kernel is built for).
285
286 If unsure, say N.
287
288
267config DYNAMIC_FTRACE 289config DYNAMIC_FTRACE
268 bool "enable/disable ftrace tracepoints dynamically" 290 bool "enable/disable ftrace tracepoints dynamically"
269 depends on FUNCTION_TRACER 291 depends on FUNCTION_TRACER