summaryrefslogtreecommitdiffstats
path: root/includes/sys
diff options
context:
space:
mode:
Diffstat (limited to 'includes/sys')
-rw-r--r--includes/sys/sdt.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/includes/sys/sdt.h b/includes/sys/sdt.h
index f89b736a..5899549c 100644
--- a/includes/sys/sdt.h
+++ b/includes/sys/sdt.h
@@ -19,8 +19,9 @@
#define STAP_PROBE_ADDR "\t.long "
#endif
+/* An allocated section .probes that holds the probe names and addrs. */
#define STAP_PROBE_DATA_(probe) \
- __asm__ volatile (".section .probes\n" \
+ __asm__ volatile (".section .probes, \"a\"\n" \
"\t.align 8\n" \
"1:\n\t.asciz " #probe "\n" \
"\t.align 4\n" \