diff options
author | Tim Bird <tim.bird@am.sony.com> | 2012-05-31 23:26:16 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-06-01 00:49:28 (GMT) |
commit | 168eeccbc956d2ec083c3a513f7706784ee0dc5f (patch) | |
tree | 6fb95d3080fadd96ea37b0e8c1bd747a183f8f60 /fs/proc/base.c | |
parent | 43e13cc107cf6cd3c15fbe1cef849435c2223d50 (diff) | |
download | linux-168eeccbc956d2ec083c3a513f7706784ee0dc5f.tar.xz |
stack usage: add pid to warning printk in check_stack_usage
In embedded systems, sometimes the same program (busybox) is the cause of
multiple warnings. Outputting the pid with the program name in the
warning printk helps distinguish which instances of a program are using
the stack most.
This is a small patch, but useful.
Signed-off-by: Tim Bird <tim.bird@am.sony.com>
Cc: Oleg Nesterov <oleg@redhat.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/proc/base.c')
0 files changed, 0 insertions, 0 deletions