WSL2-Linux-Kernel/scripts
Randy Dunlap 8ad2914d9c [PATCH] checkstack: print module names
Finding "init_module" high stack usage problems is challenging when there
are over 1600 "init_module" functions in the kernel tree, so make
checkstack.pl print out the filename where the stack usage occurs.  This is
useful for code built as loadable modules.

For built-in code, it just prints the kernel image file name, like
"vmlinux".  Examples:

(before patch:)
0x0000000d callback:					1928
0xffffffff81678c09 huft_build:				1560
0x0018 init_module:					1512

(after patch:)
0x0000000d callback [divacapi]:				1928
0xffffffff81678c09 huft_build [vmlinux]:		1560
0x0018 init_module [hdaps]:				1512

Also change one if-series to use elsif to cut down on unneeded tests.

Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
Acked-by: Joern Engel <joern@wh.fh-wedel.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-06-25 10:01:15 -07:00
..
basic kbuild: consolidate command line escaping 2006-02-19 09:51:21 +01:00
genksyms Merge master.kernel.org:/pub/scm/linux/kernel/git/sam/kbuild 2006-03-25 08:48:48 -08:00
kconfig [PATCH] config: update usage/help info 2006-04-19 09:13:52 -07:00
ksymoops
mod [PATCH] kbuild: fix modpost segfault for 64bit mipsel kernel 2006-05-21 12:59:21 -07:00
package kbuild: replace PHONY with FORCE 2006-03-08 18:39:05 +01:00
.gitignore gitignore: ignore more generated files 2006-01-03 11:35:26 +01:00
Kbuild.include kbuild: properly pass options to hostcc when doing make O=.. 2006-04-07 08:36:49 +02:00
Lindent
Makefile kconfig: move lxdialog to scripts/kconfig/lxdialog 2005-12-16 21:35:19 +01:00
Makefile.build kbuild: add -fverbose-asm to i386 Makefile 2006-03-12 23:35:16 +01:00
Makefile.clean kbuild: change kbuild to not rely on incorrect GNU make behavior 2006-03-06 00:09:51 +01:00
Makefile.host
Makefile.lib kbuild: properly pass options to hostcc when doing make O=.. 2006-04-07 08:36:49 +02:00
Makefile.modinst kbuild: change kbuild to not rely on incorrect GNU make behavior 2006-03-06 00:09:51 +01:00
Makefile.modpost Merge master.kernel.org:/pub/scm/linux/kernel/git/sam/kbuild 2006-03-25 08:48:48 -08:00
bin2c.c
binoffset.c update the email address of Randy Dunlap 2006-01-03 13:37:51 +01:00
bloat-o-meter [PATCH] bloat-o-meter: gcc-4 fix 2006-06-25 10:01:00 -07:00
checkincludes.pl
checkstack.pl [PATCH] checkstack: print module names 2006-06-25 10:01:15 -07:00
checkversion.pl update the email address of Randy Dunlap 2006-01-03 13:37:51 +01:00
conmakehash.c
extract-ikconfig [PATCH] extract-ikconfig: don't use --long-options 2006-03-24 07:33:21 -08:00
gcc-version.sh
gen_initramfs_list.sh kbuild: fix gen_initramfs_list.sh 2006-04-30 23:56:33 +02:00
kallsyms.c [PATCH] kallsyms: handle malloc() failure 2006-03-25 08:22:56 -08:00
kernel-doc [PATCH] kernel-doc: script cleanups 2006-06-25 10:01:07 -07:00
makelst
mkcompile_h
mkmakefile kbuild: Do not overwrite makefile as anohter user 2006-05-08 06:55:32 +02:00
mksysmap spelling: s/retreive/retrieve/ 2006-01-10 00:10:13 +01:00
mkuboot.sh
mkversion
namespace.pl kbuild: fix mode of checkstack.pl and other files. 2006-04-11 13:37:07 +02:00
patch-kernel update the email address of Randy Dunlap 2006-01-03 13:37:51 +01:00
pnmtologo.c
profile2linkerlist.pl [PATCH] x86_64: Basic reorder infrastructure 2006-03-25 09:10:56 -08:00
setlocalversion kbuild: In setlocalversion change -git_dirty to just -dirty 2006-01-08 18:44:01 +01:00
show_delta kbuild: fix mode of checkstack.pl and other files. 2006-04-11 13:37:07 +02:00
ver_linux ver_linux: don't print reiser4progs version if none found 2006-04-05 13:10:19 +02:00