source: GPL/trunk/include/linux/tracepoint.h

Last change on this file was 679, checked in by David Azarewicz, 4 years ago

Merge changes from Paul's uniaud32next branch.

File size: 1.1 KB
Line 
1#ifndef _LINUX_TRACEPOINT_H
2#define _LINUX_TRACEPOINT_H
3#define DECLARE_EVENT_CLASS(name, proto, args, tstruct, assign, print)
4#define DEFINE_EVENT(template, name, proto, args) \
5 DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
6#define DEFINE_EVENT_PRINT(template, name, proto, args, print) \
7 DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
8#define DEFINE_EVENT_CONDITION(template, name, proto, \
9 args, cond) \
10 DECLARE_TRACE_CONDITION(name, PARAMS(proto), \
11 PARAMS(args), PARAMS(cond))
12
13#define TRACE_EVENT(name, proto, args, struct, assign, print) \
14 DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
15#define TRACE_EVENT_FN(name, proto, args, struct, \
16 assign, print, reg, unreg) \
17 DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
18#define TRACE_EVENT_CONDITION(name, proto, args, cond, \
19 struct, assign, print) \
20 DECLARE_TRACE_CONDITION(name, PARAMS(proto), \
21 PARAMS(args), PARAMS(cond))
22
23#define TRACE_EVENT_FLAGS(event, flag)
24
25#define TP_PROTO(args) args
26#define TP_ARGS(args) args
27#define TP_CONDITION(args) args
28
29#endif /* _LINUX_TRACEPOINT_H */
Note: See TracBrowser for help on using the repository browser.