]> Pileus Git - ~andy/linux/blobdiff - include/linux/tracepoint.h
tracing: Add DEFINE_EVENT_FN() macro
[~andy/linux] / include / linux / tracepoint.h
index f8e084d0fc772a59bd786871bb6b166e2303a252..ebeab360d851c1ece4952b3f5f4f294aa9673db0 100644 (file)
@@ -378,6 +378,8 @@ static inline void tracepoint_synchronize_unregister(void)
 #define DECLARE_EVENT_CLASS(name, proto, args, tstruct, assign, print)
 #define DEFINE_EVENT(template, name, proto, args)              \
        DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
+#define DEFINE_EVENT_FN(template, name, proto, args, reg, unreg)\
+       DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
 #define DEFINE_EVENT_PRINT(template, name, proto, args, print) \
        DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
 #define DEFINE_EVENT_CONDITION(template, name, proto,          \