X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=tests%2Fhello%2Ftp.h;h=73819514d3e266512177bc09aa531228a074ff36;hb=ad5c7b826145e951950bd1afa6fce17ea193bb48;hp=6064283b068d43070ed0002406378591939794a9;hpb=6dd969b5dd702909b8eb827e850c851053774055;p=ust.git diff --git a/tests/hello/tp.h b/tests/hello/tp.h index 6064283..7381951 100644 --- a/tests/hello/tp.h +++ b/tests/hello/tp.h @@ -1,5 +1,24 @@ -#include "tracepoint.h" +/* Copyright (C) 2009 Pierre-Marc Fournier + * + * 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 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 DECLARE_TRACE(hello_tptest, - TPPROTO(int anint), - TPARGS(anint)); + TP_PROTO(int anint), + TP_ARGS(anint)); + +DECLARE_TRACE_NOARGS(hello_tptest2);