| 1 | /* This file is autogenerated by tracetool, do not edit. */ |
| 2 | /* SPDX-License-Identifier: GPL-2.0-or-later */ |
| 3 | |
| 4 | #undef TRACEPOINT_PROVIDER |
| 5 | #define TRACEPOINT_PROVIDER qemu |
| 6 | |
| 7 | #undef TRACEPOINT_INCLUDE |
| 8 | #define TRACEPOINT_INCLUDE "./trace-ust.h" |
| 9 | |
| 10 | #if !defined (TRACE_TESTSUITE_GENERATED_UST_H) || \ |
| 11 | defined(TRACEPOINT_HEADER_MULTI_READ) |
| 12 | #define TRACE_TESTSUITE_GENERATED_UST_H |
| 13 | |
| 14 | #include <lttng/tracepoint.h> |
| 15 | |
| 16 | /* |
| 17 | * LTTng ust 2.0 does not allow you to use TP_ARGS(void) for tracepoints |
| 18 | * requiring no arguments. We define these macros introduced in more recent * versions of LTTng ust as a workaround |
| 19 | */ |
| 20 | #ifndef _TP_EXPROTO1 |
| 21 | #define _TP_EXPROTO1(a) void |
| 22 | #endif |
| 23 | #ifndef _TP_EXDATA_PROTO1 |
| 24 | #define _TP_EXDATA_PROTO1(a) void *__tp_data |
| 25 | #endif |
| 26 | #ifndef _TP_EXDATA_VAR1 |
| 27 | #define _TP_EXDATA_VAR1(a) __tp_data |
| 28 | #endif |
| 29 | #ifndef _TP_EXVAR1 |
| 30 | #define _TP_EXVAR1(a) |
| 31 | #endif |
| 32 | |
| 33 | TRACEPOINT_EVENT( |
| 34 | qemu, |
| 35 | test_blah, |
| 36 | TP_ARGS(void *, context, const char *, filename), |
| 37 | TP_FIELDS( |
| 38 | ctf_integer_hex(void *, context, context) |
| 39 | ctf_string(filename, filename) |
| 40 | ) |
| 41 | ) |
| 42 | |
| 43 | TRACEPOINT_EVENT( |
| 44 | qemu, |
| 45 | test_wibble, |
| 46 | TP_ARGS(void *, context, int, value), |
| 47 | TP_FIELDS( |
| 48 | ctf_integer_hex(void *, context, context) |
| 49 | ctf_integer(int, value, value) |
| 50 | ) |
| 51 | ) |
| 52 | |
| 53 | #endif /* TRACE_TESTSUITE_GENERATED_UST_H */ |
| 54 | |
| 55 | /* This part must be outside ifdef protection */ |
| 56 | #include <lttng/tracepoint-event.h> |