X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=libringbuffer%2Fgetcpu.h;h=701deeb26ea3f4737337aae1cca325dfc23837e6;hb=f574bfb4d81b26d3cfc0243868d138e33470a950;hp=ea346cc6847e1e5fd4961cf588a23bafa0e8674b;hpb=fb54defd7e47e106bdf3b7eb07d53f0aba0525ec;p=lttng-ust.git diff --git a/libringbuffer/getcpu.h b/libringbuffer/getcpu.h index ea346cc6..701deeb2 100644 --- a/libringbuffer/getcpu.h +++ b/libringbuffer/getcpu.h @@ -1,30 +1,20 @@ -#ifndef _LTTNG_GETCPU_H -#define _LTTNG_GETCPU_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; only - * version 2.1 of the License. + * SPDX-License-Identifier: LGPL-2.1-only * - * 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 + * Copyright (C) 2011 Mathieu Desnoyers */ +#ifndef _LTTNG_GETCPU_H +#define _LTTNG_GETCPU_H + #include #include #include +__attribute__((visibility("hidden"))) void lttng_ust_getcpu_init(void); +__attribute__((visibility("hidden"))) extern int (*lttng_get_cpu)(void); #ifdef LTTNG_UST_DEBUG_VALGRIND