X-Git-Url: http://git.liburcu.org/?p=lttng-ust.git;a=blobdiff_plain;f=liblttng-ust%2Ftracepoint-internal.h;h=1e6f92b677e812dfe6d4b5a2d75eb695417f4894;hp=8ac6487f7b00078db5fa12496991b6d72decde5c;hb=HEAD;hpb=902e13794ab77170a59123c3c62c5d6204941756 diff --git a/liblttng-ust/tracepoint-internal.h b/liblttng-ust/tracepoint-internal.h deleted file mode 100644 index 8ac6487f..00000000 --- a/liblttng-ust/tracepoint-internal.h +++ /dev/null @@ -1,48 +0,0 @@ -#ifndef _LTTNG_TRACEPOINT_INTERNAL_H -#define _LTTNG_TRACEPOINT_INTERNAL_H - -/* - * Copyright (c) 2011 - Mathieu Desnoyers - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; - * version 2.1 of the License. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ - -#include -#include -#include - -struct tracepoint_lib { - struct cds_list_head list; - struct tracepoint * const *tracepoints_start; - int tracepoints_count; -}; - -extern int tracepoint_probe_register_noupdate(const char *name, void *callback, void *priv); -extern int tracepoint_probe_unregister_noupdate(const char *name, void *callback, void *priv); -extern void tracepoint_probe_update_all(void); - -/* - * call after disconnection of last probe implemented within a - * shared object before unmapping the library that contains the probe. - */ -static inline void tracepoint_synchronize_unregister(void) -{ - synchronize_rcu_bp(); -} - -extern void init_tracepoint(void); -extern void exit_tracepoint(void); - -#endif /* _LTTNG_TRACEPOINT_INTERNAL_H */