diff options
author | David Smith <dsmith@redhat.com> | 2008-08-26 12:48:40 -0500 |
---|---|---|
committer | David Smith <dsmith@redhat.com> | 2008-08-26 12:48:40 -0500 |
commit | 36ba5475952aa7ee1388ce9d94695550c2258c86 (patch) | |
tree | 793efc1b713d5cd5ccb6fa73d777c7e0d38c6001 /runtime/autoconf-dpath-path.c | |
parent | 9b2e2b5856ee6986340f2b4cf4a43c4654b07a6a (diff) | |
download | systemtap-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 'runtime/autoconf-dpath-path.c')
-rw-r--r-- | runtime/autoconf-dpath-path.c | 7 |
1 files changed, 7 insertions, 0 deletions
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 <linux/path.h> +#include <linux/dcache.h> + +void ____autoconf_func(struct path *p) +{ + (void)d_path(p, NULL, 0); +} |