Use perl for regexp
[lttng-modules.git] / lttng-syscalls.c
index 09e48c4573c4727c11dba36e7f13c20366c45f41..c0550ab0d08b692c50fa1b205b0566a96eca9575 100644 (file)
@@ -35,8 +35,8 @@ static void syscall_entry_probe(void *__data, struct pt_regs *regs, long id);
 #define TP_MODULE_OVERRIDE
 
 #define TRACE_INCLUDE_PATH ../instrumentation/syscalls/headers
-
-#include "instrumentation/syscalls/headers/syscalls.h"
+#include "instrumentation/syscalls/headers/syscalls_integers.h"
+#include "instrumentation/syscalls/headers/syscalls_pointers.h"
 
 #undef TP_MODULE_OVERRIDE
 #undef TP_PROBE_CB
@@ -50,8 +50,6 @@ struct trace_syscall_entry {
        unsigned int nrargs;
 };
 
-static int sc_table_desc_filled;
-
 #define CREATE_SYSCALL_TABLE
 
 #undef TRACE_SYSCALL_TABLE
@@ -64,7 +62,8 @@ static int sc_table_desc_filled;
        },
 
 static struct trace_syscall_entry sc_table[] = {
-#include "instrumentation/syscalls/headers/syscalls.h"
+#include "instrumentation/syscalls/headers/syscalls_integers.h"
+#include "instrumentation/syscalls/headers/syscalls_pointers.h"
 };
 
 #undef CREATE_SYSCALL_TABLE
This page took 0.036482 seconds and 4 git commands to generate.