diff options
author | Frank Ch. Eigler <fche@elastic.org> | 2009-03-22 11:20:23 -0400 |
---|---|---|
committer | Frank Ch. Eigler <fche@elastic.org> | 2009-03-22 11:20:23 -0400 |
commit | 1fa23e70a939c20664d7ae6ee5ef66b51835e0ee (patch) | |
tree | c553b06885426fae73698010bcb987017df65084 /runtime/uprobes2/uprobes.c | |
parent | a99eea4f68db917268b83ab75574c832b646bd65 (diff) | |
download | systemtap-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.c')
-rw-r--r-- | runtime/uprobes2/uprobes.c | 6 |
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> |