X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=tests%2Futils%2Ftestapp%2Fgen-ust-nevents%2Ftp.h;h=8b68b374df1ed38adc4e26965ce90808a69f6d2f;hb=729c1fec5976af17fded2f026725a08ef1924290;hp=085ed6b9dd23d2235871af5b752928628dfc8331;hpb=02a1d793bcda3e75467878a46ef38dbb6e4ecaca;p=lttng-tools.git diff --git a/tests/utils/testapp/gen-ust-nevents/tp.h b/tests/utils/testapp/gen-ust-nevents/tp.h index 085ed6b9d..8b68b374d 100644 --- a/tests/utils/testapp/gen-ust-nevents/tp.h +++ b/tests/utils/testapp/gen-ust-nevents/tp.h @@ -1,22 +1,16 @@ +/* + * Copyright (C) 2011 Mathieu Desnoyers + * + * SPDX-License-Identifier: MIT + * + */ + #undef TRACEPOINT_PROVIDER #define TRACEPOINT_PROVIDER tp #if !defined(_TRACEPOINT_TP_H) || defined(TRACEPOINT_HEADER_MULTI_READ) #define _TRACEPOINT_TP_H -/* - * Copyright (C) 2011 Mathieu Desnoyers - * - * THIS MATERIAL IS PROVIDED AS IS, WITH ABSOLUTELY NO WARRANTY EXPRESSED - * OR IMPLIED. ANY USE IS AT YOUR OWN RISK. - * - * Permission is hereby granted to use or copy this program - * for any purpose, provided the above notices are retained on all copies. - * Permission to modify the code and to distribute modified code is granted, - * provided the above notices are retained, and a notice that the code was - * modified is included with the above copyright notice. - */ - #include TRACEPOINT_EVENT(tp, tptest1, @@ -117,8 +111,8 @@ TRACEPOINT_EVENT(tp, tptest5, #endif /* _TRACEPOINT_TP_H */ -#undef TRACEPOINT_INCLUDE_FILE -#define TRACEPOINT_INCLUDE_FILE ./tp.h +#undef TRACEPOINT_INCLUDE +#define TRACEPOINT_INCLUDE "./tp.h" /* This part must be outside ifdef protection */ #include