sysrq: use show_stack_loglvl()
Show the stack trace on a CPU with the same log level as "CPU%d" header. Signed-off-by: Dmitry Safonov <dima@arista.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Cc: Jiri Slaby <jslaby@suse.com> Link: http://lkml.kernel.org/r/20200418201944.482088-45-dima@arista.com Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:

committed by
Linus Torvalds

parent
20da1e8bb0
commit
ab34b46d1a
@@ -31,6 +31,8 @@ extern void show_regs(struct pt_regs *);
|
||||
* trace (or NULL if the entire call-chain of the task should be shown).
|
||||
*/
|
||||
extern void show_stack(struct task_struct *task, unsigned long *sp);
|
||||
extern void show_stack_loglvl(struct task_struct *task, unsigned long *sp,
|
||||
const char *loglvl);
|
||||
|
||||
extern void sched_show_task(struct task_struct *p);
|
||||
|
||||
|
Reference in New Issue
Block a user