1 #undef TRACEPOINT_PROVIDER
2 #define TRACEPOINT_PROVIDER ust_tests_demo
4 #if !defined(_TRACEPOINT_UST_TESTS_DEMO_H) || defined(TRACEPOINT_HEADER_MULTI_READ)
5 #define _TRACEPOINT_UST_TESTS_DEMO_H
12 * Copyright (C) 2011 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
14 * THIS MATERIAL IS PROVIDED AS IS, WITH ABSOLUTELY NO WARRANTY EXPRESSED
15 * OR IMPLIED. ANY USE IS AT YOUR OWN RISK.
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.
24 #include <lttng/tracepoint.h>
26 TRACEPOINT_EVENT(ust_tests_demo
, starting
,
29 ctf_integer(int, value
, value
)
32 TRACEPOINT_LOGLEVEL(ust_tests_demo
, starting
, TRACE_CRIT
)
34 TRACEPOINT_EVENT(ust_tests_demo
, done
,
37 ctf_integer(int, value
, value
)
40 TRACEPOINT_LOGLEVEL(ust_tests_demo
, done
, TRACE_CRIT
)
42 #endif /* _TRACEPOINT_UST_TESTS_DEMO_H */
44 #undef TRACEPOINT_INCLUDE_FILE
45 #define TRACEPOINT_INCLUDE_FILE ./ust_tests_demo.h
47 /* This part must be outside ifdef protection */
48 #include <lttng/tracepoint-event.h>
This page took 0.041114 seconds and 4 git commands to generate.