diff options
| author | Peter Zijlstra <[email protected]> | 2020-09-21 10:58:17 +0000 |
|---|---|---|
| committer | Peter Zijlstra <[email protected]> | 2020-11-10 17:38:57 +0000 |
| commit | a8b62fd0850503cf1e557d7e5a98d3f1f5c25eef (patch) | |
| tree | 2c9c1cb9d7778ed6f4f4dac5a8f25041fbac1e68 /lib/dump_stack.c | |
| parent | Merge tag 'trace-v5.10-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/... (diff) | |
| download | kernel-a8b62fd0850503cf1e557d7e5a98d3f1f5c25eef.tar.gz kernel-a8b62fd0850503cf1e557d7e5a98d3f1f5c25eef.zip | |
stop_machine: Add function and caller debug info
Crashes in stop-machine are hard to connect to the calling code, add a
little something to help with that.
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Reviewed-by: Valentin Schneider <[email protected]>
Reviewed-by: Daniel Bristot de Oliveira <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'lib/dump_stack.c')
| -rw-r--r-- | lib/dump_stack.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/dump_stack.c b/lib/dump_stack.c index a00ee6eedc7c..f5a33b6f773f 100644 --- a/lib/dump_stack.c +++ b/lib/dump_stack.c @@ -12,6 +12,7 @@ #include <linux/atomic.h> #include <linux/kexec.h> #include <linux/utsname.h> +#include <linux/stop_machine.h> static char dump_stack_arch_desc_str[128]; @@ -57,6 +58,7 @@ void dump_stack_print_info(const char *log_lvl) log_lvl, dump_stack_arch_desc_str); print_worker_info(log_lvl, current); + print_stop_info(log_lvl, current); } /** |
