diff options
author | 2020-09-21 12:58:17 +0200 | |
---|---|---|
committer | 2020-11-10 18:38:57 +0100 | |
commit | a8b62fd0850503cf1e557d7e5a98d3f1f5c25eef (patch) | |
tree | 2c9c1cb9d7778ed6f4f4dac5a8f25041fbac1e68 /kernel/sched | |
parent | Merge tag 'trace-v5.10-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/... (diff) | |
download | linux-a8b62fd0850503cf1e557d7e5a98d3f1f5c25eef.tar.gz linux-a8b62fd0850503cf1e557d7e5a98d3f1f5c25eef.tar.bz2 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 'kernel/sched')
-rw-r--r-- | kernel/sched/core.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/sched/core.c b/kernel/sched/core.c index d2003a7d5ab5..5e24104faafd 100644 --- a/kernel/sched/core.c +++ b/kernel/sched/core.c @@ -6447,6 +6447,7 @@ void sched_show_task(struct task_struct *p) (unsigned long)task_thread_info(p)->flags); print_worker_info(KERN_INFO, p); + print_stop_info(KERN_INFO, p); show_stack(p, NULL, KERN_INFO); put_task_stack(p); } |