Cleanup: tests: fix typos in sdt test app comments
[lttng-tools.git] / tests / utils / testapp / userspace-probe-sdt-binary / userspace-probe-sdt-binary.c
index c70713979d8933b5621085345295cd83ce3e0d64..03bdb3a45f5b63e974c632bfbcce2924a2e48779 100644 (file)
@@ -1,20 +1,10 @@
 /*
- * Copyright (C) 2017  Francis Deslauriers <francis.deslauriers@efficios.com>
+ * Copyright (C) 2017 Francis Deslauriers <francis.deslauriers@efficios.com>
  *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 2.1 of the License, or (at your option) any later version.
+ * SPDX-License-Identifier: LGPL-2.1-or-later
  *
- * This library 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
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301 USA
  */
+
 #ifndef _GNU_SOURCE
 #define _GNU_SOURCE
 #endif
@@ -41,16 +31,16 @@ int main(int argc, char *argv[])
        FOOBAR_TP1();
        FOOBAR_TP2();
        /*
-        * This SDT tracepoint has an argument. Argument extraction is not support
-        * at the moment but tracing of the tracepoint should work.
+        * This SDT tracepoint has an argument. Argument extraction is not supported
+        * at the moment, but tracing of the tracepoint should work.
         */
        FOOBAR_TP_WITH_ARG(42);
 
-       /* Call function containing an SDT tracepoint in shared object */
+       /* Call a function containing an SDT tracepoint in shared object. */
        foo_function();
 
        /*
-        * Load a show shared object and call a function containing an SDT
+        * Load a shared object and call a function containing an SDT
         * tracepoint
         */
        handle = dlopen("libbar.so", RTLD_LAZY);
@@ -62,12 +52,12 @@ int main(int argc, char *argv[])
        bar_function();
        dlclose(handle);
 
-       /* This tracepoint has 2 callsites in this binary */
+       /* This tracepoint has 2 call sites in this binary. */
        FOOBAR_TP2();
 
        /*
-        * This function is defined in libfoo AND in libzzz. For a test, libzzz is
-        * LD_PRELOADed and should override this function
+        * This function is defined in libfoo and in libzzz. For a test, libzzz is
+        * LD_PRELOADed and should override this function.
         */
        overridable_function();
 
This page took 0.024249 seconds and 4 git commands to generate.