From e41e2e82e9a7adf4644f4423a454ac7fb0a6da8f Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Thu, 15 Sep 2011 19:13:34 -0400 Subject: [PATCH] standardize on "syscalls" Signed-off-by: Mathieu Desnoyers --- .../syscalls/headers/x86-64-syscalls-3.0.4-integers.h | 8 ++++---- .../syscalls/lttng-syscalls-generate-headers.sh | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) 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\" -- 2.34.1