Re: [PATCH 2/3] x86/dumpstack: Add log_lvl to __show_regs()

2020-06-25 Thread Dmitry Safonov
On 6/23/20 5:45 PM, Jann Horn wrote: > On Tue, Jun 23, 2020 at 6:30 PM Dmitry Safonov wrote: >> show_trace_log_lvl() provides x86 platform-specific way to unwind >> backtrace with a given log level. Unfortunately, registers dump(s) are >> not printed with the same log level - instead,

Re: [PATCH 2/3] x86/dumpstack: Add log_lvl to __show_regs()

2020-06-23 Thread Jann Horn
On Tue, Jun 23, 2020 at 6:30 PM Dmitry Safonov wrote: > show_trace_log_lvl() provides x86 platform-specific way to unwind > backtrace with a given log level. Unfortunately, registers dump(s) are > not printed with the same log level - instead, KERN_DEFAULT is always > used. > > Arista's switches

[PATCH 2/3] x86/dumpstack: Add log_lvl to __show_regs()

2020-06-23 Thread Dmitry Safonov
show_trace_log_lvl() provides x86 platform-specific way to unwind backtrace with a given log level. Unfortunately, registers dump(s) are not printed with the same log level - instead, KERN_DEFAULT is always used. Arista's switches uses quite common setup with rsyslog, where only urgent messages