summaryrefslogtreecommitdiffstats
path: root/runtime/uprobes2/uprobes.h
diff options
context:
space:
mode:
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 {