Fix: add tracepoint signature at tracepoint definition site
[lttng-ust.git] / include / lttng / tracepoint-types.h
CommitLineData
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
17struct tracepoint_probe {
23c8854a
MD
18 void *func;
19 void *data;
b728d87e
MD
20};
21
2e707419 22#define TRACEPOINT_PADDING 16
b728d87e
MD
23struct tracepoint {
24 const char *name;
25 int state;
26 struct tracepoint_probe *probes;
628e1d81 27 int *tracepoint_provider_ref;
b4f3bc52 28 const char *signature;
2e707419 29 char padding[TRACEPOINT_PADDING];
b728d87e
MD
30};
31
b728d87e 32#endif /* _LTTNG_TRACEPOINT_TYPES_H */
This page took 0.025079 seconds and 4 git commands to generate.