summaryrefslogtreecommitdiffstats
path: root/runtime/uprobes2/uprobes.c
diff options
context:
space:
mode:
authorMark Wielaard <mjw@redhat.com>2009-03-22 20:36:13 +0100
committerMark Wielaard <mjw@redhat.com>2009-03-22 20:36:13 +0100
commitc7ce415ebf181e818166644e572dfe04dbd7b6f6 (patch)
treec182d43d83acf39ac78b3e614c9d272812ceb386 /runtime/uprobes2/uprobes.c
parentc9a05b1c5a3219dcc6b9f4060b98e76a67f5795b (diff)
parent1fa23e70a939c20664d7ae6ee5ef66b51835e0ee (diff)
downloadsystemtap-steved-c7ce415ebf181e818166644e572dfe04dbd7b6f6.tar.gz
systemtap-steved-c7ce415ebf181e818166644e572dfe04dbd7b6f6.tar.xz
systemtap-steved-c7ce415ebf181e818166644e572dfe04dbd7b6f6.zip
Merge branch 'master' into pr6866
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>