LinuxKPI: tracepoint.h add more defines
Add some more defines used in drivers to make it easier to compile. MFC after: 7 days Reviewed by: hselasky, emaste Differential Revision: https://reviews.freebsd.org/D36660
This commit is contained in:
parent
fdc7ef3c98
commit
f9f4988dc4
@ -37,7 +37,13 @@
|
||||
#define TP_printk(...)
|
||||
|
||||
#define TRACE_EVENT(_name, _proto, _args, _struct, _assign, _printk) \
|
||||
static void trace_ ## _name(_proto) \
|
||||
static inline void trace_ ## _name(_proto) \
|
||||
{ \
|
||||
}
|
||||
|
||||
#define DECLARE_EVENT_CLASS(...)
|
||||
#define DEFINE_EVENT(_x, _name, _proto, _args) \
|
||||
static inline void trace_ ## _name(_proto) \
|
||||
{ \
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user