Move to kernel style SPDX license identifiers
[lttng-ust.git] / doc / examples / cmake-multiple-shared-libraries / tracepoint-provider.h
index 301f35716a3934b0549aa4ff83abe2c350346eb1..40ff1f53ec531895b1ecf84b923ef6a8eea7d08f 100644 (file)
@@ -1,23 +1,7 @@
 /*
- * Copyright (C) 2016  Sebastien Boisvert <sboisvert@gydle.com>
+ * SPDX-License-Identifier: MIT
  *
- * 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:
- *
- * The above copyright notice and this permission notice shall be included in
- * all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
+ * Copyright (C) 2016 Sebastien Boisvert <sboisvert@gydle.com>
  */
 
 #undef TRACEPOINT_PROVIDER
 
 TRACEPOINT_EVENT(
        TRACEPOINT_PROVIDER,
-       alignQuery,
+       align_query,
        TP_ARGS(
-               const char*, queryName
+               const char *, query_name
        ),
        TP_FIELDS(
-               ctf_string(queryName, queryName)
+               ctf_string(query_name, query_name)
        )
 )
 
 TRACEPOINT_EVENT(
        TRACEPOINT_PROVIDER,
-       testAlignment,
+       test_alignment,
        TP_ARGS(
-               const char*, alignment
+               const char *, alignment
        ),
        TP_FIELDS(
                ctf_string(alignment, alignment)
        )
 )
 
-
-
 #endif /* MY_TRACEPOINT_PROVIDER_H */
 
 #include <lttng/tracepoint-event.h>
This page took 0.024486 seconds and 4 git commands to generate.