X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=liblttng-ust%2Flttng-tracer-core.h;h=efb4f5b6764b4f5ec49b92136da838fe306ada6a;hb=c0c0989ab70574e09b2f7e8b48c2da6af664a849;hp=e303dd7124ee798605d37392a2154137b5d07d7b;hpb=3046e0bf3ba02bb4d29db5410bfcb6d6aca9ae6f;p=lttng-ust.git diff --git a/liblttng-ust/lttng-tracer-core.h b/liblttng-ust/lttng-tracer-core.h index e303dd71..efb4f5b6 100644 --- a/liblttng-ust/lttng-tracer-core.h +++ b/liblttng-ust/lttng-tracer-core.h @@ -1,26 +1,14 @@ -#ifndef _LTTNG_TRACER_CORE_H -#define _LTTNG_TRACER_CORE_H - /* + * SPDX-License-Identifier: LGPL-2.1-only + * * Copyright (C) 2005-2011 Mathieu Desnoyers * * This contains the core definitions for the Linux Trace Toolkit. - * - * 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 */ +#ifndef _LTTNG_TRACER_CORE_H +#define _LTTNG_TRACER_CORE_H + #include #include #include @@ -91,6 +79,13 @@ void lttng_event_notifier_notification_send( struct lttng_event_notifier *event_notifier, const char *stack_data); +LTTNG_HIDDEN +struct lttng_counter_transport *lttng_counter_transport_find(const char *name); +LTTNG_HIDDEN +void lttng_counter_transport_register(struct lttng_counter_transport *transport); +LTTNG_HIDDEN +void lttng_counter_transport_unregister(struct lttng_counter_transport *transport); + #ifdef LTTNG_UST_HAVE_PERF_EVENT void lttng_ust_fixup_perf_counter_tls(void); void lttng_perf_lock(void);