diff options
author | Peter Zijlstra <peterz@infradead.org> | 2020-09-21 12:58:17 +0200 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2020-11-10 18:38:57 +0100 |
commit | a8b62fd0850503cf1e557d7e5a98d3f1f5c25eef (patch) | |
tree | 2c9c1cb9d7778ed6f4f4dac5a8f25041fbac1e68 /lib | |
parent | Merge tag 'trace-v5.10-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/... (diff) | |
download | linux-a8b62fd0850503cf1e557d7e5a98d3f1f5c25eef.tar.xz linux-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) <peterz@infradead.org>
Reviewed-by: Valentin Schneider <valentin.schneider@arm.com>
Reviewed-by: Daniel Bristot de Oliveira <bristot@redhat.com>
Link: https://lkml.kernel.org/r/20201023102346.116513635@infradead.org
Diffstat (limited to 'lib')
-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); } /** |