From: Tang Yizhou tangyizhou@huawei.com
hulk inclusion category: feature bugzilla: 37631 CVE: NA
-------------------------------------------------
To support signal monitoring, we need to export the defined tracepoint signal_generate so that it can be used in kernel modules.
Signed-off-by: Tang Yizhou tangyizhou@huawei.com Reviewed-by: Xie XiuQi xiexiuqi@huawei.com Signed-off-by: Yang Yingliang yangyingliang@huawei.com --- kernel/signal.c | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/kernel/signal.c b/kernel/signal.c index 718f22da0305..091a3a313410 100644 --- a/kernel/signal.c +++ b/kernel/signal.c @@ -52,6 +52,8 @@ #include <asm/cacheflush.h> #include "audit.h" /* audit_signal_info() */
+EXPORT_TRACEPOINT_SYMBOL(signal_generate); + /* * SLAB caches for signal bits. */