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