summaryrefslogtreecommitdiffstats
path: root/runtime/uprobes2/uprobes_arch.c
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/uprobes2/uprobes_arch.c')
-rw-r--r--runtime/uprobes2/uprobes_arch.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/runtime/uprobes2/uprobes_arch.c b/runtime/uprobes2/uprobes_arch.c
new file mode 100644
index 00000000..3c86804e
--- /dev/null
+++ b/runtime/uprobes2/uprobes_arch.c
@@ -0,0 +1,11 @@
+#if defined (__x86_64__) || defined(__i386)
+#include "uprobes_x86.c"
+#elif defined (__powerpc64__)
+#include "../uprobes/uprobes_ppc64.c"
+#elif defined (__s390__) || defined (__s390x__)
+#include "../uprobes/uprobes_s390.c"
+#elif defined (__ia64__)
+#include "../uprobes/uprobes_ia64.c"
+#else
+#error "Unsupported architecture"
+#endif