X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=tests%2Ffork%2Fust_tests_fork.h;h=d8962c93a00227a0a8d9e5a002aa2bbafbf82f82;hb=68d9f89e9fced1108fdde97c53504d05d183ccdb;hp=9b3251310b6ff1a1f5ff916c513b7aa4a08c0d76;hpb=49276e52116d468043e6cd8830b5c9ee89280b5a;p=lttng-ust.git diff --git a/tests/fork/ust_tests_fork.h b/tests/fork/ust_tests_fork.h index 9b325131..d8962c93 100644 --- a/tests/fork/ust_tests_fork.h +++ b/tests/fork/ust_tests_fork.h @@ -7,14 +7,15 @@ /* * 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, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: * - * 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. + * The above copyright notice and this permission notice shall be included in + * all copies or substantial portions of the Software. */ #include @@ -44,10 +45,8 @@ TRACEPOINT_EVENT(ust_tests_fork, after_exec, #endif /* _TRACEPOINT_UST_TESTS_FORK_H */ -#undef TRACEPOINT_INCLUDE_PATH -#define TRACEPOINT_INCLUDE_PATH . #undef TRACEPOINT_INCLUDE_FILE -#define TRACEPOINT_INCLUDE_FILE ust_tests_fork +#define TRACEPOINT_INCLUDE_FILE ./ust_tests_fork.h /* This part must be outside ifdef protection */ #include