X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=include%2Fwrapper%2Ftracepoint.h;h=9f631abdbd30010e56523e95c5dff8b143c43b57;hb=3dfec2289896ff0f1a05a9e486f1585cd16beb84;hp=880638b9d9f2ceb742b6618c4c07ed2d1e60d54e;hpb=876e2e9225074dede98488270dee7226e73d2a63;p=lttng-modules.git diff --git a/include/wrapper/tracepoint.h b/include/wrapper/tracepoint.h index 880638b9..9f631abd 100644 --- a/include/wrapper/tracepoint.h +++ b/include/wrapper/tracepoint.h @@ -68,6 +68,17 @@ int wrapper_tracepoint_module_notify(struct notifier_block *nb, } } +/* + * No canary for 'tracepoint_module_notify()', it's only defined in 'kernel/tracepoint.c'. + * + * static inline + * int __canary__tracepoint_module_notify(struct notifier_block *nb, + * unsigned long val, struct module *mod) + * { + * return tracepoint_module_notify(nb, val, mod); + * } + */ + #endif /* #if (LINUX_VERSION_CODE < KERNEL_VERSION(3,15,0) && defined(CONFIG_MODULE_SIG)) */ #if (LINUX_VERSION_CODE < KERNEL_VERSION(3,15,0) && defined(CONFIG_MODULE_SIG) && defined(MODULE))