From: Mathieu Desnoyers Date: Thu, 15 Sep 2011 23:13:34 +0000 (-0400) Subject: standardize on "syscalls" X-Git-Tag: v2.0-pre9~64 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=e41e2e82e9a7adf4644f4423a454ac7fb0a6da8f;p=lttng-modules.git standardize on "syscalls" Signed-off-by: Mathieu Desnoyers --- diff --git a/instrumentation/syscalls/headers/x86-64-syscalls-3.0.4-integers.h b/instrumentation/syscalls/headers/x86-64-syscalls-3.0.4-integers.h index 4dd473f0..a22e7389 100644 --- a/instrumentation/syscalls/headers/x86-64-syscalls-3.0.4-integers.h +++ b/instrumentation/syscalls/headers/x86-64-syscalls-3.0.4-integers.h @@ -1,9 +1,9 @@ /* THIS FILE IS AUTO-GENERATED. DO NOT EDIT */ #undef TRACE_SYSTEM -#define TRACE_SYSTEM syscall +#define TRACE_SYSTEM syscalls -#if !defined(_TRACE_SYSCALL_H) || defined(TRACE_HEADER_MULTI_READ) -#define _TRACE_SYSCALL_H +#if !defined(_TRACE_SYSCALLS_H) || defined(TRACE_HEADER_MULTI_READ) +#define _TRACE_SYSCALLS_H #include #include @@ -527,7 +527,7 @@ TRACE_EVENT(sys_mmap, TP_printk() ) -#endif /* _TRACE_SYSCALL_H */ +#endif /* _TRACE_SYSCALLS_H */ /* This part must be outside protection */ #include "../../../probes/define_trace.h" diff --git a/instrumentation/syscalls/lttng-syscalls-generate-headers.sh b/instrumentation/syscalls/lttng-syscalls-generate-headers.sh index 35f4486a..f241d343 100644 --- a/instrumentation/syscalls/lttng-syscalls-generate-headers.sh +++ b/instrumentation/syscalls/lttng-syscalls-generate-headers.sh @@ -45,10 +45,10 @@ echo "/* THIS FILE IS AUTO-GENERATED. DO NOT EDIT */" > ${HEADER} echo \ "#undef TRACE_SYSTEM -#define TRACE_SYSTEM syscall +#define TRACE_SYSTEM syscalls -#if !defined(_TRACE_SYSCALL_H) || defined(TRACE_HEADER_MULTI_READ) -#define _TRACE_SYSCALL_H +#if !defined(_TRACE_SYSCALLS_H) || defined(TRACE_HEADER_MULTI_READ) +#define _TRACE_SYSCALLS_H #include #include @@ -162,7 +162,7 @@ sed 's/^syscall \([^ ]*\) nr \([^ ]*\) nbargs \([^ ]*\) '\ echo -n \ " -#endif /* _TRACE_SYSCALL_H */ +#endif /* _TRACE_SYSCALLS_H */ /* This part must be outside protection */ #include \"../../../probes/define_trace.h\"