8ac6487f7b00078db5fa12496991b6d72decde5c
1 #ifndef _LTTNG_TRACEPOINT_INTERNAL_H
2 #define _LTTNG_TRACEPOINT_INTERNAL_H
5 * Copyright (c) 2011 - Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Lesser General Public
9 * License as published by the Free Software Foundation;
10 * version 2.1 of the License.
12 * This library is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * Lesser General Public License for more details.
17 * You should have received a copy of the GNU Lesser General Public
18 * License along with this library; if not, write to the Free Software
19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
22 #include <urcu/list.h>
24 #include <lttng/tracepoint-types.h>
26 struct tracepoint_lib
{
27 struct cds_list_head list
;
28 struct tracepoint
* const *tracepoints_start
;
29 int tracepoints_count
;
32 extern int tracepoint_probe_register_noupdate(const char *name
, void *callback
, void *priv
);
33 extern int tracepoint_probe_unregister_noupdate(const char *name
, void *callback
, void *priv
);
34 extern void tracepoint_probe_update_all(void);
37 * call after disconnection of last probe implemented within a
38 * shared object before unmapping the library that contains the probe.
40 static inline void tracepoint_synchronize_unregister(void)
45 extern void init_tracepoint(void);
46 extern void exit_tracepoint(void);
48 #endif /* _LTTNG_TRACEPOINT_INTERNAL_H */
This page took 0.029997 seconds and 3 git commands to generate.