77e2e25d1621bce2d4dacf2582a47d0f5e18c7a2
[lttng-ust.git] / include / lttng / tracepoint-types.h
1 #ifndef _LTTNG_TRACEPOINT_TYPES_H
2 #define _LTTNG_TRACEPOINT_TYPES_H
3
4 /*
5 * Copyright (c) 2011 - Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
6 *
7 * THIS MATERIAL IS PROVIDED AS IS, WITH ABSOLUTELY NO WARRANTY EXPRESSED
8 * OR IMPLIED. ANY USE IS AT YOUR OWN RISK.
9 *
10 * Permission is hereby granted to use or copy this program
11 * for any purpose, provided the above notices are retained on all copies.
12 * Permission to modify the code and to distribute modified code is granted,
13 * provided the above notices are retained, and a notice that the code was
14 * modified is included with the above copyright notice.
15 */
16
17 struct tracepoint_probe {
18 void *func;
19 void *data;
20 };
21
22 #define TRACEPOINT_PADDING 16
23 struct tracepoint {
24 const char *name;
25 int state;
26 struct tracepoint_probe *probes;
27 int *tracepoint_provider_ref;
28 char padding[TRACEPOINT_PADDING];
29 };
30
31 #endif /* _LTTNG_TRACEPOINT_TYPES_H */
This page took 0.029477 seconds and 3 git commands to generate.