[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <9d9823a9-255b-84c7-53b1-47fe51e1d756@igalia.com>
Date: Tue, 22 Nov 2022 10:30:22 -0300
From: "Guilherme G. Piccoli" <gpiccoli@...lia.com>
To: Arjan van de Ven <arjan@...ux.intel.com>,
Xiaoming Ni <nixiaoming@...wei.com>
Cc: Cong Wang <xiyou.wangcong@...il.com>,
Sebastian Andrzej Siewior <bigeasy@...utronix.de>,
Valentin Schneider <valentin.schneider@....com>,
rostedt@...dmis.org, pmladek@...e.com, akpm@...ux-foundation.org,
kexec@...ts.infradead.org, linux-kernel@...r.kernel.org,
linux-hyperv@...r.kernel.org, netdev@...r.kernel.org,
x86@...nel.org, kernel-dev@...lia.com, kernel@...ccoli.net
Subject: Re: [PATCH V3 07/11] notifiers: Add tracepoints to the notifiers
infrastructure
On 19/08/2022 19:17, Guilherme G. Piccoli wrote:
> Currently there is no way to show the callback names for registered,
> unregistered or executed notifiers. This is very useful for debug
> purposes, hence add this functionality here in the form of notifiers'
> tracepoints, one per operation.
>
> Cc: Arjan van de Ven <arjan@...ux.intel.com>
> Cc: Cong Wang <xiyou.wangcong@...il.com>
> Cc: Sebastian Andrzej Siewior <bigeasy@...utronix.de>
> Cc: Steven Rostedt <rostedt@...dmis.org>
> Cc: Valentin Schneider <valentin.schneider@....com>
> Cc: Xiaoming Ni <nixiaoming@...wei.com>
> Signed-off-by: Guilherme G. Piccoli <gpiccoli@...lia.com>
>
> ---
>
> V3:
> - Yet another major change - thanks to Arjan's great suggestion,
> refactored the code to make use of tracepoints instead of guarding
> the output with a Kconfig debug setting.
>
> V2:
> - Major improvement thanks to the great idea from Xiaoming - changed
> all the ksym wheel reinvention to printk %ps modifier;
>
> - Instead of ifdefs, using IS_ENABLED() - thanks Steven.
>
> - Removed an unlikely() hint on debug path.
>
>
> include/trace/events/notifiers.h | 69 ++++++++++++++++++++++++++++++++
> kernel/notifier.c | 6 +++
> 2 files changed, 75 insertions(+)
> create mode 100644 include/trace/events/notifiers.h
>
Hi Arjan / Xiaoming / all, monthly ping heh
If there's any advice on how to move things here, I would appreciate!
Thanks in advance and apologies for the re-pings.
Cheers,
Guilherme
Powered by blists - more mailing lists