.gitignore: ignore local vscode workspace settings file
[lttng-tools.git] / tests / utils / testapp / userspace-probe-sdt-binary / libzzz.c
index 64660283e4069d781c8f25bc6b904cfc8b721440..8b3a0b2081e4facef5aa5df988a1ad12bfe87d27 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 overridable_function() {
+/* clang-format on */
+
+void overridable_function()
+{
        FOOBAR_TP_IN_LDPRELOAD();
 }
This page took 0.023839 seconds and 4 git commands to generate.