From 36ba5475952aa7ee1388ce9d94695550c2258c86 Mon Sep 17 00:00:00 2001 From: David Smith Date: Tue, 26 Aug 2008 12:48:40 -0500 Subject: Uses STAPCONF_DPATH_PATH instead of a kernel version check. 2008-08-26 David Smith * buildrun.cxx (compile_pass): Added autoconf-dpath-path.c. 2008-08-26 David Smith * 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. --- runtime/autoconf-dpath-path.c | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 runtime/autoconf-dpath-path.c (limited to 'runtime/autoconf-dpath-path.c') diff --git a/runtime/autoconf-dpath-path.c b/runtime/autoconf-dpath-path.c new file mode 100644 index 00000000..c3654604 --- /dev/null +++ b/runtime/autoconf-dpath-path.c @@ -0,0 +1,7 @@ +#include +#include + +void ____autoconf_func(struct path *p) +{ + (void)d_path(p, NULL, 0); +} -- cgit