2 * Copyright (c) 2011 - Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
4 * Permission is hereby granted, free of charge, to any person obtaining a copy
5 * of this software and associated documentation files (the "Software"), to deal
6 * in the Software without restriction, including without limitation the rights
7 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8 * copies of the Software, and to permit persons to whom the Software is
9 * furnished to do so, subject to the following conditions:
11 * The above copyright notice and this permission notice shall be included in
12 * all copies or substantial portions of the Software.
19 #ifdef TRACEPOINT_CREATE_PROBES
21 #define __tp_stringify1(x) #x
22 #define __tp_stringify(x) __tp_stringify1(x)
24 #undef TRACEPOINT_EVENT_INSTANCE
25 #define TRACEPOINT_EVENT_INSTANCE(_provider, _template, _name, _args)
27 #undef TRACEPOINT_EVENT
28 #define TRACEPOINT_EVENT(_provider, _name, _args, _fields) \
29 TRACEPOINT_EVENT_CLASS(_provider, _name, _TP_PARAMS(_args), \
30 _TP_PARAMS(_fields)) \
31 TRACEPOINT_EVENT_INSTANCE(_provider, _name, _name, \
34 #define TRACEPOINT_INCLUDE __tp_stringify(TRACEPOINT_INCLUDE_FILE)
36 #undef TRACEPOINT_CREATE_PROBES
38 #define TRACEPOINT_HEADER_MULTI_READ
39 #include TRACEPOINT_INCLUDE
41 #include <lttng/ust-tracepoint-event.h>
43 #undef TRACEPOINT_HEADER_MULTI_READ
45 #define TRACEPOINT_CREATE_PROBES
47 #endif /* TRACEPOINT_CREATE_PROBES */
This page took 0.029208 seconds and 4 git commands to generate.