]> git.ipfire.org Git - thirdparty/linux.git/commit - Makefile
checkstack: allow to pass MINSTACKSIZE parameter
authorHeiko Carstens <hca@linux.ibm.com>
Mon, 20 Nov 2023 18:37:19 +0000 (19:37 +0100)
committerAndrew Morton <akpm@linux-foundation.org>
Mon, 11 Dec 2023 01:21:32 +0000 (17:21 -0800)
commit66242cfafeea59a0199250dda3dc98736782a739
treed16b020b4f4f7f78846060a6498947e5ff61a7ea
parentfe1a25eb059b215949825d4c81e26b100e6816a9
checkstack: allow to pass MINSTACKSIZE parameter

The checkstack script omits all functions with a stack usage of less than
100 bytes.  However the script already has support for a parameter which
allows to override the default, but it cannot be set with

$ make checkstack

Add a MINSTACKSIZE parameter which allows to change the default. This might
be useful in order to print the stack usage of all functions, or only those
with large stack usage:

$ make checkstack MINSTACKSIZE=0
$ make checkstack MINSTACKSIZE=800

Link: https://lkml.kernel.org/r/20231120183719.2188479-4-hca@linux.ibm.com
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Cc: Maninder Singh <maninder1.s@samsung.com>
Cc: Masahiro Yamada <masahiroy@kernel.org>
Cc: Vaneet Narang <v.narang@samsung.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Makefile