X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=tests%2Ftracepoint%2Ftracepoint_test.h;h=717fda7d0f91479d64b0dc1de592a4023e3185f9;hb=915faa3de6da0020f364d3cde990fc396a742e84;hp=1899fe4e8c16bb2ed965c80281a531845f56790c;hpb=8d71973c9b5596f5732741975d4334a3abb3ba2a;p=lttng-ust.git diff --git a/tests/tracepoint/tracepoint_test.h b/tests/tracepoint/tracepoint_test.h index 1899fe4e..717fda7d 100644 --- a/tests/tracepoint/tracepoint_test.h +++ b/tests/tracepoint/tracepoint_test.h @@ -1,7 +1,24 @@ +/* + * Copyright 2010 - David Goulet + * + * 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 program 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. + * + * 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. + */ #include -DECLARE_TRACEPOINT(ust_event, TP_PROTO(unsigned int v), TP_ARGS(v)); -DECLARE_TRACEPOINT(ust_event2, TP_PROTO(unsigned int v), TP_ARGS(v)); +DECLARE_TRACEPOINT(ust_event, TP_PROTO(unsigned int v), TP_VARS(v)); +DECLARE_TRACEPOINT(ust_event2, TP_PROTO(unsigned int v), TP_VARS(v)); struct message { char *payload;