Re: [PATCH V3 06/11] tracing: Improve panic/die notifiers
From: "Guilherme G. Piccoli" <gpiccoli@igalia.com>
Date: 2022-10-17 14:03:27
Also in:
kexec, linux-hyperv, lkml
From: "Guilherme G. Piccoli" <gpiccoli@igalia.com>
Date: 2022-10-17 14:03:27
Also in:
kexec, linux-hyperv, lkml
On 19/08/2022 19:17, 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@suse.com> Cc: Sergei Shtylyov <redacted> Cc: Steven Rostedt <rostedt@goodmis.org> Signed-off-by: Guilherme G. Piccoli <gpiccoli@igalia.com> --- V3: - Removed goto usage, as per Steven suggestion (thanks!). 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.
Hi Steven, apologies for the re-ping. Is there anything else to do in this one, or do you think it's good enough? Thanks, Guilherme