summaryrefslogtreecommitdiffstats
path: root/buildrun.cxx
diff options
context:
space:
mode:
authorJosh Stone <joshua.i.stone@intel.com>2008-07-24 12:40:45 -0700
committerJosh Stone <joshua.i.stone@intel.com>2008-07-24 12:52:01 -0700
commitc2ffad100c432176c537aca673b796a7605cad1c (patch)
tree8836ee4129d659d5c01868e0fdc586a45895d3d8 /buildrun.cxx
parent026ba67c4d44b634fea8b259c531f228b1b819aa (diff)
downloadsystemtap-steved-c2ffad100c432176c537aca673b796a7605cad1c.tar.gz
systemtap-steved-c2ffad100c432176c537aca673b796a7605cad1c.tar.xz
systemtap-steved-c2ffad100c432176c537aca673b796a7605cad1c.zip
Fix on_each_cpu() call for kernels >2.6.26.
This is a generalization of the patch from James Bottomley: http://sources.redhat.com/ml/systemtap/2008-q3/msg00220.html The on_each_cpu() change was merged *after* the 2.6.26 release, so I'm using an autoconf test instead of James' version check.
Diffstat (limited to 'buildrun.cxx')
-rw-r--r--buildrun.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/buildrun.cxx b/buildrun.cxx
index 9aa13ef4..c2ebdce5 100644
--- a/buildrun.cxx
+++ b/buildrun.cxx
@@ -97,6 +97,7 @@ compile_pass (systemtap_session& s)
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-real-parent.c, -DSTAPCONF_REAL_PARENT,)" << endl;
o << module_cflags << " += $(call stap_check_build, $(SYSTEMTAP_RUNTIME)/autoconf-uaccess.c, -DSTAPCONF_LINUX_UACCESS_H,)" << endl;
+ o << module_cflags << " += $(call stap_check_build, $(SYSTEMTAP_RUNTIME)/autoconf-oneachcpu-retry.c, -DSTAPCONF_ONEACHCPU_RETRY,)" << 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