Deprecate enable/disable-consumer
[lttng-tools.git] / tests / ust / multi-session / ust_gen_nevents.h
1 #undef TRACEPOINT_PROVIDER
2 #define TRACEPOINT_PROVIDER ust_gen_nevents
3
4 #if !defined(_TRACEPOINT_UST_GEN_NEVENTS_H) || defined(TRACEPOINT_HEADER_MULTI_READ)
5 #define _TRACEPOINT_UST_GEN_NEVENTS_H
6
7 #ifdef __cplusplus
8 extern "C" {
9 #endif
10
11 /*
12 * Copyright (C) 2011 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
13 *
14 * THIS MATERIAL IS PROVIDED AS IS, WITH ABSOLUTELY NO WARRANTY EXPRESSED
15 * OR IMPLIED. ANY USE IS AT YOUR OWN RISK.
16 *
17 * Permission is hereby granted to use or copy this program
18 * for any purpose, provided the above notices are retained on all copies.
19 * Permission to modify the code and to distribute modified code is granted,
20 * provided the above notices are retained, and a notice that the code was
21 * modified is included with the above copyright notice.
22 */
23
24 #include <lttng/tracepoint.h>
25
26 TRACEPOINT_EVENT(ust_gen_nevents, tptest0,
27 TP_ARGS(int, anint, long, value),
28 TP_FIELDS(
29 ctf_integer(int, intfield, anint)
30 ctf_integer(long, longfield, value)
31 )
32 )
33
34 TRACEPOINT_EVENT(ust_gen_nevents, tptest1,
35 TP_ARGS(int, anint, long, value),
36 TP_FIELDS(
37 ctf_integer(int, intfield, anint)
38 ctf_integer(long, longfield, value)
39 )
40 )
41
42 TRACEPOINT_EVENT(ust_gen_nevents, tptest2,
43 TP_ARGS(int, anint, long, value),
44 TP_FIELDS(
45 ctf_integer(int, intfield, anint)
46 ctf_integer(long, longfield, value)
47 )
48 )
49
50 TRACEPOINT_EVENT(ust_gen_nevents, tptest3,
51 TP_ARGS(int, anint, long, value),
52 TP_FIELDS(
53 ctf_integer(int, intfield, anint)
54 ctf_integer(long, longfield, value)
55 )
56 )
57
58 #endif /* _TRACEPOINT_UST_GEN_NEVENTS_H */
59
60 #undef TRACEPOINT_INCLUDE_FILE
61 #define TRACEPOINT_INCLUDE_FILE ./ust_gen_nevents.h
62
63 /* This part must be outside ifdef protection */
64 #include <lttng/tracepoint-event.h>
65
66 #ifdef __cplusplus
67 }
68 #endif
This page took 0.031932 seconds and 5 git commands to generate.