提交 8ba09b1d 编写于 作者: D Dmitry Safonov 提交者: Linus Torvalds

sched: print stack trace with KERN_INFO

Aligning with other messages printed in sched_show_task() - use KERN_INFO
to print the backtrace.
Signed-off-by: NDmitry Safonov <dima@arista.com>
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Cc: Ben Segall <bsegall@google.com>
Cc: Dietmar Eggemann <dietmar.eggemann@arm.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Juri Lelli <juri.lelli@redhat.com>
Cc: Mel Gorman <mgorman@suse.de>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Vincent Guittot <vincent.guittot@linaro.org>
Link: http://lkml.kernel.org/r/20200418201944.482088-49-dima@arista.comSigned-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 77819daf
...@@ -6025,7 +6025,7 @@ void sched_show_task(struct task_struct *p) ...@@ -6025,7 +6025,7 @@ void sched_show_task(struct task_struct *p)
(unsigned long)task_thread_info(p)->flags); (unsigned long)task_thread_info(p)->flags);
print_worker_info(KERN_INFO, p); print_worker_info(KERN_INFO, p);
show_stack(p, NULL); show_stack_loglvl(p, NULL, KERN_INFO);
put_task_stack(p); put_task_stack(p);
} }
EXPORT_SYMBOL_GPL(sched_show_task); EXPORT_SYMBOL_GPL(sched_show_task);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册