X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=arch%2Fum%2FKconfig.debug;h=c86f5eb29fd584619a807e4c10520a40fa81b6eb;hb=af6521ea8af210fea094b183a9ad29ab73945ee1;hp=09c1aca6339f94cf629a419387eff7f4f2517820;hpb=7b69a4c360e8787877ebf5e42609b8bab13afa6a;p=linux-2.6 diff --git a/arch/um/Kconfig.debug b/arch/um/Kconfig.debug index 09c1aca633..c86f5eb29f 100644 --- a/arch/um/Kconfig.debug +++ b/arch/um/Kconfig.debug @@ -47,4 +47,13 @@ config GCOV If you're involved in UML kernel development and want to use gcov, say Y. If you're unsure, say N. +config DEBUG_STACK_USAGE + bool "Stack utilization instrumentation" + default N + help + Track the maximum kernel stack usage - this will look at each + kernel stack at process exit and log it if it's the deepest + stack seen so far. + + This option will slow down process creation and destruction somewhat. endmenu