| 1 | #undef TRACEPOINT_PROVIDER |
| 2 | #define TRACEPOINT_PROVIDER tp |
| 3 | |
| 4 | #if !defined(_TRACEPOINT_TP_H) || defined(TRACEPOINT_HEADER_MULTI_READ) |
| 5 | #define _TRACEPOINT_TP_H |
| 6 | |
| 7 | /* |
| 8 | * Copyright (C) 2011 Mathieu Desnoyers <mathieu.desnoyers@efficios.com> |
| 9 | * |
| 10 | * THIS MATERIAL IS PROVIDED AS IS, WITH ABSOLUTELY NO WARRANTY EXPRESSED |
| 11 | * OR IMPLIED. ANY USE IS AT YOUR OWN RISK. |
| 12 | * |
| 13 | * Permission is hereby granted to use or copy this program |
| 14 | * for any purpose, provided the above notices are retained on all copies. |
| 15 | * Permission to modify the code and to distribute modified code is granted, |
| 16 | * provided the above notices are retained, and a notice that the code was |
| 17 | * modified is included with the above copyright notice. |
| 18 | */ |
| 19 | |
| 20 | #include <lttng/tracepoint.h> |
| 21 | |
| 22 | TRACEPOINT_EVENT(tp, tptest, |
| 23 | TP_ARGS(ino_t, ns_ino), |
| 24 | TP_FIELDS( |
| 25 | ctf_integer(ino_t, ns_ino, ns_ino) |
| 26 | ) |
| 27 | ) |
| 28 | |
| 29 | #endif /* _TRACEPOINT_TP_H */ |
| 30 | |
| 31 | #undef TRACEPOINT_INCLUDE_FILE |
| 32 | #define TRACEPOINT_INCLUDE_FILE ./tp.h |
| 33 | |
| 34 | /* This part must be outside ifdef protection */ |
| 35 | #include <lttng/tracepoint-event.h> |