summaryrefslogtreecommitdiffstats
path: root/elaborate.h
diff options
context:
space:
mode:
Diffstat (limited to 'elaborate.h')
-rw-r--r--elaborate.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/elaborate.h b/elaborate.h
index cd60b8bb..28294aa9 100644
--- a/elaborate.h
+++ b/elaborate.h
@@ -18,6 +18,10 @@
#include <sstream>
#include <map>
+extern "C" {
+#include <elfutils/libdw.h>
+}
+
// ------------------------------------------------------------------------
struct derived_probe;
@@ -153,6 +157,9 @@ public:
virtual bool needs_global_locks () { return true; }
// by default, probes need locks around global variables
+
+ // Location of semaphores to activate sdt probes
+ Dwarf_Addr sdt_semaphore_addr;
};
// ------------------------------------------------------------------------