X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=libust%2Ftracepoint.h;h=b1ee16d0c7dd6989fc428062cb3d168cd74ce38f;hb=6af64c431c0a521fc927fa72b9f4015397ce11d4;hp=2bfb148e8251f5b1d49124b7ba8b8916c040c1aa;hpb=872037bb1437ab961f97834a624eb2d9b0706ab2;p=ust.git diff --git a/libust/tracepoint.h b/libust/tracepoint.h index 2bfb148..b1ee16d 100644 --- a/libust/tracepoint.h +++ b/libust/tracepoint.h @@ -5,19 +5,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 * * Heavily inspired from the Linux Kernel Markers. * @@ -29,7 +29,7 @@ //#include #define _LGPL_SOURCE -#include +#include #include "immediate.h" #include "kernelcompat.h" @@ -189,7 +189,7 @@ extern int tracepoint_get_iter_range(struct tracepoint **tracepoint, */ static inline void tracepoint_synchronize_unregister(void) { - synchronize_sched(); +//ust// synchronize_sched(); } struct tracepoint_lib {