summaryrefslogtreecommitdiff
path: root/fs/9p
diff options
context:
space:
mode:
authorRandy Dunlap <rdunlap@xenotime.net>2006-06-25 05:48:29 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2006-06-25 10:01:15 -0700
commit8ad2914d9cc55be651ef3bd676981a72c9001a47 (patch)
tree4bba45d178fd4f48959fccc906b2287c52d09efe /fs/9p
parent5ec3e4b7aefbb8613b27ec4449fa8f9916ab9099 (diff)
downloadlinux-3.10-8ad2914d9cc55be651ef3bd676981a72c9001a47.tar.gz
linux-3.10-8ad2914d9cc55be651ef3bd676981a72c9001a47.tar.bz2
linux-3.10-8ad2914d9cc55be651ef3bd676981a72c9001a47.zip
[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>
Diffstat (limited to 'fs/9p')
0 files changed, 0 insertions, 0 deletions