summaryrefslogtreecommitdiffstats
path: root/tapsets.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'tapsets.cxx')
-rw-r--r--tapsets.cxx9
1 files changed, 1 insertions, 8 deletions
diff --git a/tapsets.cxx b/tapsets.cxx
index 7b4b3f38..824c4dd4 100644
--- a/tapsets.cxx
+++ b/tapsets.cxx
@@ -20,8 +20,6 @@
#include <stdexcept>
#include <vector>
-#ifdef HAVE_ELFUTILS_LIBDWFL_H
-
extern "C" {
#include <elfutils/libdwfl.h>
#include <elfutils/libdw.h>
@@ -31,8 +29,6 @@ extern "C" {
#include "loc2c.h"
}
-#endif
-
#include <fnmatch.h>
using namespace std;
@@ -144,7 +140,6 @@ be_derived_probe::emit_probe_entries (translator_output* o, unsigned j)
}
-#ifdef HAVE_ELFUTILS_LIBDWFL_H
// ------------------------------------------------------------------------
// Dwarf derived probes.
// ------------------------------------------------------------------------
@@ -1432,7 +1427,6 @@ dwarf_builder::build(systemtap_session & sess,
}
}
-#endif /* HAVE_ELFUTILS_LIBDWFL_H */
// ------------------------------------------------------------------------
@@ -1446,7 +1440,6 @@ register_standard_tapsets(systemtap_session & s)
s.pattern_root->bind("begin")->bind(new be_builder(true));
s.pattern_root->bind("end")->bind(new be_builder(false));
-#ifdef HAVE_ELFUTILS_LIBDWFL_H
+ // kernel/module parts
dwarf_derived_probe::register_patterns(s.pattern_root);
-#endif /* HAVE_ELFUTILS_LIBDWFL_H */
}