summaryrefslogtreecommitdiffstats
path: root/runtime/uprobes2/uprobes.h
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/uprobes2/uprobes.h
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/uprobes2/uprobes.h')
-rw-r--r--runtime/uprobes2/uprobes.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/runtime/uprobes2/uprobes.h b/runtime/uprobes2/uprobes.h
index 11d01f5c..112e29e2 100644
--- a/runtime/uprobes2/uprobes.h
+++ b/runtime/uprobes2/uprobes.h
@@ -23,6 +23,11 @@
#include <linux/types.h>
#include <linux/list.h>
+/* Adapt to struct renaming. */
+#ifdef UTRACE_API_VERSION
+#define utrace_attached_engine utrace_engine
+#endif
+
struct pt_regs;
enum uprobe_type {