summaryrefslogtreecommitdiffstats
path: root/runtime/task_finder.c
diff options
context:
space:
mode:
authorFrank Ch. Eigler <fche@elastic.org>2009-03-22 11:20:23 -0400
committerFrank Ch. Eigler <fche@elastic.org>2009-03-22 11:20:23 -0400
commit1fa23e70a939c20664d7ae6ee5ef66b51835e0ee (patch)
treec553b06885426fae73698010bcb987017df65084 /runtime/task_finder.c
parenta99eea4f68db917268b83ab75574c832b646bd65 (diff)
downloadsystemtap-steved-1fa23e70a939c20664d7ae6ee5ef66b51835e0ee.tar.gz
systemtap-steved-1fa23e70a939c20664d7ae6ee5ef66b51835e0ee.tar.xz
systemtap-steved-1fa23e70a939c20664d7ae6ee5ef66b51835e0ee.zip
PR9974: adapt to utrace_connected_engine -> utrace_engine
Adjusted all headers that #include <linux/utrace.h> to follow with: /* PR9974: Adapt to struct renaming. */
Diffstat (limited to 'runtime/task_finder.c')
-rw-r--r--runtime/task_finder.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/runtime/task_finder.c b/runtime/task_finder.c
index 2b408763..3f4908cb 100644
--- a/runtime/task_finder.c
+++ b/runtime/task_finder.c
@@ -6,6 +6,12 @@
#endif
#include <linux/utrace.h>
+
+/* PR9974: Adapt to struct renaming. */
+#ifdef UTRACE_API_VERSION
+#define utrace_attached_engine utrace_engine
+#endif
+
#include <linux/list.h>
#include <linux/binfmts.h>
#include <linux/mount.h>