From 5510c14e56f3e99e7dfd9208742143791e14a2e2 Mon Sep 17 00:00:00 2001 From: David Ahern Date: Mon, 29 Apr 2019 11:22:07 -0700 Subject: [PATCH] notifier: add tracepoint to notifier_call_chain Signed-off-by: David Ahern --- kernel/notifier.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/kernel/notifier.c b/kernel/notifier.c index 6196af8a8223..9b65a9c56fd7 100644 --- a/kernel/notifier.c +++ b/kernel/notifier.c @@ -5,6 +5,8 @@ #include #include #include +#define CREATE_TRACE_POINTS +#include /* * Notifier list for kernel code which wants to be called @@ -90,6 +92,7 @@ static int notifier_call_chain(struct notifier_block **nl, continue; } #endif + trace_notifier_call_chain(nb, val); ret = nb->notifier_call(nb, val, v); if (nr_calls) -- 2.11.0