.gitignore: ignore local vscode workspace settings file
[lttng-tools.git] / tests / utils / testapp / userspace-probe-sdt-binary / libbar.c
index a504ac89e3407b4346b26e080adf7779bd69df21..0a0edfb81a9249ea71b0fe2a51254c28066f1227 100644 (file)
@@ -5,8 +5,17 @@
  *
  */
 
+/*
+ * The order of inclusion is important here: including sdt.h _before_ the probe
+ * declarations ensures that semaphore-protected SDT probes (which we don't support) are not
+ * generated. See SYSTEMTAP(2) for more details.
+ */
+/* clang-format off */
 #include <sys/sdt.h>
 #include "foobar_provider.h"
-void bar_function() {
+/* clang-format on */
+
+void bar_function()
+{
        FOOBAR_TP_IN_DLOPEN();
 }
This page took 0.027276 seconds and 4 git commands to generate.