Commit | Line | Data |
---|---|---|
b728d87e MD |
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 { | |
23c8854a MD |
18 | void *func; |
19 | void *data; | |
b728d87e MD |
20 | }; |
21 | ||
22 | struct tracepoint { | |
23 | const char *name; | |
24 | int state; | |
25 | struct tracepoint_probe *probes; | |
628e1d81 | 26 | int *tracepoint_provider_ref; |
b728d87e MD |
27 | }; |
28 | ||
b728d87e | 29 | #endif /* _LTTNG_TRACEPOINT_TYPES_H */ |