• Guilherme G. Piccoli's avatar
    notifiers: add tracepoints to the notifiers infrastructure · f4708a82
    Guilherme G. Piccoli authored
    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.
    
    [akpm@linux-foundation.org: coding-style cleanups]
    Link: https://lkml.kernel.org/r/20230314200058.1326909-1-gpiccoli@igalia.comSigned-off-by: default avatarGuilherme G. Piccoli <gpiccoli@igalia.com>
    Cc: Arjan van de Ven <arjan@linux.intel.com>
    Cc: Michael Kelley <mikelley@microsoft.com>
    Cc: Steven Rostedt <rostedt@goodmis.org>
    Cc: Xiaoming Ni <nixiaoming@huawei.com>
    Cc: Baoquan He <bhe@redhat.com>
    Cc: Cong Wang <xiyou.wangcong@gmail.com>
    Cc: Dmitry Osipenko <dmitry.osipenko@collabora.com>
    Cc: Guilherme G. Piccoli <gpiccoli@igalia.com>
    Cc: Guilherme G. Piccoli <kernel@gpiccoli.net>
    Cc: Petr Mladek <pmladek@suse.com>
    Cc: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
    Cc: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
    Cc: Valentin Schneider <valentin.schneider@arm.com>
    Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
    f4708a82
notifier.h 1.07 KB