diff options
Diffstat (limited to 'elaborate.h')
-rw-r--r-- | elaborate.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/elaborate.h b/elaborate.h index 2da4fa1e..bee71a50 100644 --- a/elaborate.h +++ b/elaborate.h @@ -18,6 +18,10 @@ #include <sstream> #include <map> +extern "C" { +#include <elfutils/libdw.h> +} + // ------------------------------------------------------------------------ struct derived_probe; @@ -164,6 +168,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; }; // ------------------------------------------------------------------------ |