summaryrefslogtreecommitdiffstats
path: root/buildrun.cxx
diff options
context:
space:
mode:
authorDavid Smith <dsmith@redhat.com>2008-08-26 12:48:40 -0500
committerDavid Smith <dsmith@redhat.com>2008-08-26 12:48:40 -0500
commit36ba5475952aa7ee1388ce9d94695550c2258c86 (patch)
tree793efc1b713d5cd5ccb6fa73d777c7e0d38c6001 /buildrun.cxx
parent9b2e2b5856ee6986340f2b4cf4a43c4654b07a6a (diff)
downloadsystemtap-steved-36ba5475952aa7ee1388ce9d94695550c2258c86.tar.gz
systemtap-steved-36ba5475952aa7ee1388ce9d94695550c2258c86.tar.xz
systemtap-steved-36ba5475952aa7ee1388ce9d94695550c2258c86.zip
Uses STAPCONF_DPATH_PATH instead of a kernel version check.
2008-08-26 David Smith <dsmith@redhat.com> * buildrun.cxx (compile_pass): Added autoconf-dpath-path.c. 2008-08-26 David Smith <dsmith@redhat.com> * autoconf-d_path-path.c: New file. * task_finder.c (__stp_get_mm_path): Uses STAPCONF_DPATH_PATH instead of a kernel version check to determine how to call d_path(). (__stp_utrace_task_finder_target_quiesce): Ditto. (__stp_target_call_vm_callback): Ditto.
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 a265e4db..6b2b779d 100644
--- a/buildrun.cxx
+++ b/buildrun.cxx
@@ -110,6 +110,7 @@ compile_pass (systemtap_session& s)
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;
+ o << module_cflags << " += $(call stap_check_build, $(SYSTEMTAP_RUNTIME)/autoconf-dpath-path.c, -DSTAPCONF_DPATH_PATH,)" << 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