Update version to 0.16
[ust.git] / tests / trace_event / trace_event_test.h
1 #undef TRACE_SYSTEM
2 #define TRACE_SYSTEM trace_event_test
3
4 #if !defined(_TRACEPOINT_EVENT_TEST_H) || defined(TRACE_HEADER_MULTI_READ)
5 #define _TRACEPOINT_EVENT_TEST_H
6
7 /*
8 * Copyright (C) 2010 Nils Carlson <nils.carlson@ericsson.com>
9 * Copyright (C) 2011 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
10 *
11 * This library is free software; you can redistribute it and/or
12 * modify it under the terms of the GNU Lesser General Public
13 * License as published by the Free Software Foundation; either
14 * version 2.1 of the License, or (at your option) any later version.
15 *
16 * This library is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
19 * Lesser General Public License for more details.
20 *
21 * You should have received a copy of the GNU Lesser General Public
22 * License along with this library; if not, write to the Free Software
23 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
24 */
25
26 #include <ust/tracepoint.h>
27
28 TRACEPOINT_EVENT(test,
29
30 TP_PROTO(unsigned long time, unsigned long count),
31
32 TP_ARGS(time, count),
33
34 TP_FIELDS(
35 tp_field(unsigned long, time, time)
36 tp_field(unsigned long, count, count)
37 )
38 );
39
40 #endif /* _TRACEPOINT_EVENT_TEST_H */
41
42 /* This part must be outside protection */
43 #undef TRACE_INCLUDE_PATH
44 #define TRACE_INCLUDE_PATH .
45 #define TRACE_INCLUDE_FILE trace_event_test
46 #include <ust/tracepoint_event.h>
This page took 0.029292 seconds and 4 git commands to generate.