[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ff7a314e-c9f9-bb28-7a33-0a884188c530@igalia.com>
Date: Sun, 7 Aug 2022 12:46:03 -0300
From: "Guilherme G. Piccoli" <gpiccoli@...lia.com>
To: kexec@...ts.infradead.org, rostedt@...dmis.org,
Sergei Shtylyov <sergei.shtylyov@...il.com>
Cc: pmladek@...e.com, bhe@...hat.com, linux-kernel@...r.kernel.org,
linux-hyperv@...r.kernel.org, netdev@...r.kernel.org,
x86@...nel.org, kernel-dev@...lia.com, kernel@...ccoli.net,
halves@...onical.com, fabiomirmar@...il.com,
alejandro.j.jimenez@...cle.com, andriy.shevchenko@...ux.intel.com,
arnd@...db.de, bp@...en8.de, corbet@....net,
d.hatayama@...fujitsu.com, dave.hansen@...ux.intel.com,
dyoung@...hat.com, feng.tang@...el.com, gregkh@...uxfoundation.org,
mikelley@...rosoft.com, hidehiro.kawai.ez@...achi.com,
jgross@...e.com, john.ogness@...utronix.de, keescook@...omium.org,
luto@...nel.org, mhiramat@...nel.org, mingo@...hat.com,
paulmck@...nel.org, peterz@...radead.org, senozhatsky@...omium.org,
stern@...land.harvard.edu, tglx@...utronix.de, vgoyal@...hat.com,
vkuznets@...hat.com, will@...nel.org, akpm@...ux-foundation.org
Subject: Re: [PATCH v2 08/13] tracing: Improve panic/die notifiers
On 19/07/2022 16:53, Guilherme G. Piccoli wrote:
> Currently the tracing dump_on_oops feature is implemented
> through separate notifiers, one for die/oops and the other
> for panic - given they have the same functionality, let's
> unify them.
>
> Also improve the function comment and change the priority of
> the notifier to make it execute earlier, avoiding showing useless
> trace data (like the callback names for the other notifiers);
> finally, we also removed an unnecessary header inclusion.
>
> Cc: Petr Mladek <pmladek@...e.com>
> Cc: Sergei Shtylyov <sergei.shtylyov@...il.com>
> Cc: Steven Rostedt <rostedt@...dmis.org>
> Signed-off-by: Guilherme G. Piccoli <gpiccoli@...lia.com>
>
> ---
>
> V2:
> - Different approach; instead of using IDs to distinguish die and
> panic events, rely on address comparison like other notifiers do
> and as per Petr's suggestion;
>
> - Removed ACK from Steven since the code changed.
>
> kernel/trace/trace.c | 55 ++++++++++++++++++++++----------------------
> 1 file changed, 27 insertions(+), 28 deletions(-)
> [...]
Hi Sergei / Steve, do you think this version is good now, after your
last round of reviews?
Thanks,
Guilherme
Powered by blists - more mailing lists