summaryrefslogtreecommitdiffstats
path: root/tapsets.cxx
diff options
context:
space:
mode:
authorfche <fche>2005-07-29 18:18:10 +0000
committerfche <fche>2005-07-29 18:18:10 +0000
commit14d0763f9618c5e3391c7ee525cf91515a0715f1 (patch)
treee665680c13ea4c4d46ab645e8c80407dd939f8d3 /tapsets.cxx
parentbb15b4e375fe024c06d58ca3d4ce312c6ab64f47 (diff)
downloadsystemtap-steved-14d0763f9618c5e3391c7ee525cf91515a0715f1.tar.gz
systemtap-steved-14d0763f9618c5e3391c7ee525cf91515a0715f1.tar.xz
systemtap-steved-14d0763f9618c5e3391c7ee525cf91515a0715f1.zip
2005-07-29 Frank Ch. Eigler <fche@redhat.com>
* configure.ac: Fail configure stage if elfutils 0.111+ is not found. * Makefile.am, elaborate.cxx, tapsets.cxx: Unconditionalize. * configure, Makefile.in, config.in: Regenerated.
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 */
}