X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=libust%2Ftracepoint.c;h=d6b09737a8cd052096e31465ea90573753db8d7e;hb=34e4b7db790ca5ff678eae7cf5658455a8991870;hp=8a9ed0131a8152289261f44892065544459336a8;hpb=6cb88bc04f67ebc3264d3832f4ce5cca2c642ab4;p=ust.git diff --git a/libust/tracepoint.c b/libust/tracepoint.c index 8a9ed01..d6b0973 100644 --- a/libust/tracepoint.c +++ b/libust/tracepoint.c @@ -2,19 +2,19 @@ * Copyright (C) 2008 Mathieu Desnoyers * Copyright (C) 2009 Pierre-Marc Fournier * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. + * 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; either + * version 2.1 of the License, or (at your option) any later version. * - * This program is distributed in the hope that it will be useful, + * 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 General Public License for more details. + * 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 General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * 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 * * Ported to userspace by Pierre-Marc Fournier. */ @@ -35,8 +35,10 @@ #include "kernelcompat.h" #include "tracepoint.h" #include "usterr.h" -#include "list.h" -#include "urcu.h" +//#include "list.h" + +#define _LGPL_SOURCE +#include //extern struct tracepoint __start___tracepoints[] __attribute__((visibility("hidden"))); //extern struct tracepoint __stop___tracepoints[] __attribute__((visibility("hidden")));