summaryrefslogtreecommitdiffstats
path: root/runtime/uprobes2/uprobes.c
diff options
context:
space:
mode:
authorDave Brolley <brolley@redhat.com>2009-03-23 12:16:56 -0400
committerDave Brolley <brolley@redhat.com>2009-03-23 12:16:56 -0400
commitd171a9ff5fda69cab247d2afd06ec5952941969e (patch)
tree3127f0a0babb18e62bbe17754462d1366de7a0ad /runtime/uprobes2/uprobes.c
parentc11e62bef0f85147c96aeb7d0a7f9fd69da51db6 (diff)
parentd4db5608dbc31868a2041f20ea3f473eef3e61fd (diff)
downloadsystemtap-steved-d171a9ff5fda69cab247d2afd06ec5952941969e.tar.gz
systemtap-steved-d171a9ff5fda69cab247d2afd06ec5952941969e.tar.xz
systemtap-steved-d171a9ff5fda69cab247d2afd06ec5952941969e.zip
Merge branch 'master' of git://sources.redhat.com/git/systemtap
Diffstat (limited to 'runtime/uprobes2/uprobes.c')
-rw-r--r--runtime/uprobes2/uprobes.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/runtime/uprobes2/uprobes.c b/runtime/uprobes2/uprobes.c
index af187fc9..a0e9f2fe 100644
--- a/runtime/uprobes2/uprobes.c
+++ b/runtime/uprobes2/uprobes.c
@@ -29,6 +29,12 @@
#include <linux/utrace.h>
#include <linux/regset.h>
#define UPROBES_IMPLEMENTATION 1
+
+/* PR9974: Adapt to struct renaming. */
+#ifdef UTRACE_API_VERSION
+#define utrace_attached_engine utrace_engine
+#endif
+
#include "uprobes.h"
#include <linux/tracehook.h>
#include <linux/mm.h>