X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=tests%2Ftracepoint%2Ftracepoint_test.h;h=717fda7d0f91479d64b0dc1de592a4023e3185f9;hb=4c70c05ca1c085156eba1c61c06f858885c63755;hp=6b4dcdbce6850f9d05d633c5c047506312cfaec4;hpb=cd5de8df6ea38d5810c4abd92edf20a24179f0f5;p=lttng-ust.git diff --git a/tests/tracepoint/tracepoint_test.h b/tests/tracepoint/tracepoint_test.h index 6b4dcdbc..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_TRACE(ust_event, TP_PROTO(unsigned int v), TP_ARGS(v)); -DECLARE_TRACE(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;