summaryrefslogtreecommitdiffstats
path: root/buildrun.cxx
diff options
context:
space:
mode:
authorFrank Ch. Eigler <fche@elastic.org>2008-05-28 08:17:42 -0400
committerFrank Ch. Eigler <fche@elastic.org>2008-05-28 08:17:42 -0400
commit9319dbe79bfc893bc7f7e35938151a01bb8a2d32 (patch)
treeb56d3bfe79c05991d1ef1990b4039a4a71db2dc1 /buildrun.cxx
parent8404e6184256e2d580cbd1c97cb5859c625b99f7 (diff)
parent0fbf54d628c9fd4257dbcf2e43c5657c0818be09 (diff)
downloadsystemtap-steved-9319dbe79bfc893bc7f7e35938151a01bb8a2d32.tar.gz
systemtap-steved-9319dbe79bfc893bc7f7e35938151a01bb8a2d32.tar.xz
systemtap-steved-9319dbe79bfc893bc7f7e35938151a01bb8a2d32.zip
Merge branch 'master' of ssh://sources.redhat.com/git/systemtap
* 'master' of ssh://sources.redhat.com/git/systemtap: Create user based cache dir in testsuite. Refresh cscope.files. Add prototypes for using the 2.6.26 probe_kernel_* functions.
Diffstat (limited to 'buildrun.cxx')
-rw-r--r--buildrun.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/buildrun.cxx b/buildrun.cxx
index 76efe7c0..a39f2b63 100644
--- a/buildrun.cxx
+++ b/buildrun.cxx
@@ -96,6 +96,12 @@ compile_pass (systemtap_session& s)
o << module_cflags << " += $(call stap_check_build, $(SYSTEMTAP_RUNTIME)/autoconf-nameidata.c, -DSTAPCONF_NAMEIDATA_CLEANUP,)" << endl;
o << module_cflags << " += $(call stap_check_build, $(SYSTEMTAP_RUNTIME)/autoconf-unregister-kprobes.c, -DSTAPCONF_UNREGISTER_KPROBES,)" << endl;
o << module_cflags << " += $(call stap_check_build, $(SYSTEMTAP_RUNTIME)/autoconf-module-nsections.c, -DSTAPCONF_MODULE_NSECTIONS,)" << endl;
+#if 0
+ /* NB: For now, the performance hit of probe_kernel_read/write (vs. our
+ * homegrown safe-access functions) is deemed undesireable, so we'll skip
+ * this autoconf. */
+ o << module_cflags << " += $(call stap_check_build, $(SYSTEMTAP_RUNTIME)/autoconf-probe-kernel.c, -DSTAPCONF_PROBE_KERNEL,)" << endl;
+#endif
for (unsigned i=0; i<s.macros.size(); i++)
o << "EXTRA_CFLAGS += -D " << lex_cast_qstring(s.macros[i]) << endl;