X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=tests%2Futils%2Ftestapp%2Fgen-ust-events-ns%2Ftp.h;h=624bb5c073bf92ddea945d03a852e61ff0cd7e64;hb=HEAD;hp=59b3f295b7d5b7bbd6b475b74bd3c82121c8fa40;hpb=8a5583046c46a5b424a8997fc563e7924f0c8724;p=lttng-tools.git diff --git a/tests/utils/testapp/gen-ust-events-ns/tp.h b/tests/utils/testapp/gen-ust-events-ns/tp.h index 59b3f295b..624bb5c07 100644 --- a/tests/utils/testapp/gen-ust-events-ns/tp.h +++ b/tests/utils/testapp/gen-ust-events-ns/tp.h @@ -1,35 +1,26 @@ +/* + * 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, tptest, - TP_ARGS(ino_t, ns_ino), - TP_FIELDS( - ctf_integer(ino_t, ns_ino, ns_ino) - ) -) +#include + +TRACEPOINT_EVENT(tp, tptest, TP_ARGS(ino_t, ns_ino), TP_FIELDS(ctf_integer(ino_t, ns_ino, ns_ino))) #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