From 6314c2d3a4ad617f5f122083a7fda007d4319b92 Mon Sep 17 00:00:00 2001 From: Michael Jeanson Date: Wed, 4 Mar 2020 15:45:18 -0500 Subject: [PATCH] Remove kernel version from syscall headers name This will reduce the delta when updating the syscall headers and make it easier to track the changes. Add a comment in the headers to track the version they were generated from. Change-Id: I939e1ebd8ab18d880ff1394e771982b5491d3b19 Signed-off-by: Michael Jeanson Signed-off-by: Mathieu Desnoyers --- ...32-syscalls-3.0.34 => powerpc-32-syscalls} | 0 ...-32-syscalls-3.1.0-rc6 => x86-32-syscalls} | 0 ...64-syscalls-3.10.0-rc7 => x86-64-syscalls} | 0 ...ps-32-syscalls-3.13.0 => mips-32-syscalls} | 0 ...ps-32-syscalls-3.18.0 => mips-32-syscalls} | 0 ...arm-32-syscalls-3.4.25 => arm-32-syscalls} | 0 ...ips-32-syscalls-3.5.0 => mips-32-syscalls} | 0 ...ips-64-syscalls-3.5.0 => mips-64-syscalls} | 0 ...{arm-64-syscalls-4.4.0 => arm-64-syscalls} | 0 ..._integers.h => arm-32-syscalls_integers.h} | 9 +- ....h => arm-32-syscalls_integers_override.h} | 2 + ..._pointers.h => arm-32-syscalls_pointers.h} | 9 +- ....h => arm-32-syscalls_pointers_override.h} | 1 + ..._integers.h => arm-64-syscalls_integers.h} | 9 +- ....h => arm-64-syscalls_integers_override.h} | 2 + ..._pointers.h => arm-64-syscalls_pointers.h} | 9 +- ....h => arm-64-syscalls_pointers_override.h} | 2 + .../headers/compat_syscalls_integers.h | 8 +- .../headers/compat_syscalls_pointers.h | 8 +- .../mips-32-syscalls-3.13.0_integers.h | 1145 ----------- .../mips-32-syscalls-3.13.0_pointers.h | 1824 ----------------- ...ips-32-syscalls-3.13.0_pointers_override.h | 8 - ...ips-32-syscalls-3.18.0_integers_override.h | 3 - ...integers.h => mips-32-syscalls_integers.h} | 9 +- ...h => mips-32-syscalls_integers_override.h} | 2 + ...pointers.h => mips-32-syscalls_pointers.h} | 9 +- ...h => mips-32-syscalls_pointers_override.h} | 2 + ...integers.h => mips-64-syscalls_integers.h} | 9 +- ...h => mips-64-syscalls_integers_override.h} | 2 + ...pointers.h => mips-64-syscalls_pointers.h} | 9 +- ...h => mips-64-syscalls_pointers_override.h} | 2 + ...egers.h => powerpc-32-syscalls_integers.h} | 21 +- ...> powerpc-32-syscalls_integers_override.h} | 2 + ...nters.h => powerpc-32-syscalls_pointers.h} | 47 +- ...> powerpc-32-syscalls_pointers_override.h} | 2 + .../syscalls/headers/syscalls_integers.h | 14 +- .../headers/syscalls_integers_override.h | 2 + .../syscalls/headers/syscalls_pointers.h | 14 +- .../headers/syscalls_pointers_override.h | 2 + .../syscalls/headers/syscalls_unknown.h | 2 + ..._integers.h => x86-32-syscalls_integers.h} | 9 +- ....h => x86-32-syscalls_integers_override.h} | 2 + ..._pointers.h => x86-32-syscalls_pointers.h} | 9 +- ....h => x86-32-syscalls_pointers_override.h} | 1 + ..._integers.h => x86-64-syscalls_integers.h} | 9 +- ....h => x86-64-syscalls_integers_override.h} | 2 + ..._pointers.h => x86-64-syscalls_pointers.h} | 9 +- ....h => x86-64-syscalls_pointers_override.h} | 2 + .../lttng-syscalls-generate-headers.sh | 12 +- 49 files changed, 188 insertions(+), 3056 deletions(-) rename instrumentation/syscalls/3.0.34/{powerpc-32-syscalls-3.0.34 => powerpc-32-syscalls} (100%) rename instrumentation/syscalls/3.1.0-rc6/{x86-32-syscalls-3.1.0-rc6 => x86-32-syscalls} (100%) rename instrumentation/syscalls/3.10.0-rc7/{x86-64-syscalls-3.10.0-rc7 => x86-64-syscalls} (100%) rename instrumentation/syscalls/3.13.0/{mips-32-syscalls-3.13.0 => mips-32-syscalls} (100%) rename instrumentation/syscalls/3.18.0/{mips-32-syscalls-3.18.0 => mips-32-syscalls} (100%) rename instrumentation/syscalls/3.4.25/{arm-32-syscalls-3.4.25 => arm-32-syscalls} (100%) rename instrumentation/syscalls/3.5.0/{mips-32-syscalls-3.5.0 => mips-32-syscalls} (100%) rename instrumentation/syscalls/3.5.0/{mips-64-syscalls-3.5.0 => mips-64-syscalls} (100%) rename instrumentation/syscalls/4.4.0/{arm-64-syscalls-4.4.0 => arm-64-syscalls} (100%) rename instrumentation/syscalls/headers/{arm-32-syscalls-3.4.25_integers.h => arm-32-syscalls_integers.h} (99%) rename instrumentation/syscalls/headers/{arm-32-syscalls-3.4.25_integers_override.h => arm-32-syscalls_integers_override.h} (98%) rename instrumentation/syscalls/headers/{arm-32-syscalls-3.4.25_pointers.h => arm-32-syscalls_pointers.h} (99%) rename instrumentation/syscalls/headers/{arm-32-syscalls-3.4.25_pointers_override.h => arm-32-syscalls_pointers_override.h} (95%) rename instrumentation/syscalls/headers/{arm-64-syscalls-4.4.0_integers.h => arm-64-syscalls_integers.h} (99%) rename instrumentation/syscalls/headers/{arm-64-syscalls-4.4.0_integers_override.h => arm-64-syscalls_integers_override.h} (82%) rename instrumentation/syscalls/headers/{arm-64-syscalls-4.4.0_pointers.h => arm-64-syscalls_pointers.h} (99%) rename instrumentation/syscalls/headers/{arm-64-syscalls-4.4.0_pointers_override.h => arm-64-syscalls_pointers_override.h} (78%) delete mode 100644 instrumentation/syscalls/headers/mips-32-syscalls-3.13.0_integers.h delete mode 100644 instrumentation/syscalls/headers/mips-32-syscalls-3.13.0_pointers.h delete mode 100644 instrumentation/syscalls/headers/mips-32-syscalls-3.13.0_pointers_override.h delete mode 100644 instrumentation/syscalls/headers/mips-32-syscalls-3.18.0_integers_override.h rename instrumentation/syscalls/headers/{mips-32-syscalls-3.18.0_integers.h => mips-32-syscalls_integers.h} (99%) rename instrumentation/syscalls/headers/{mips-64-syscalls-3.5.0_integers_override.h => mips-32-syscalls_integers_override.h} (59%) rename instrumentation/syscalls/headers/{mips-32-syscalls-3.18.0_pointers.h => mips-32-syscalls_pointers.h} (99%) rename instrumentation/syscalls/headers/{mips-32-syscalls-3.18.0_pointers_override.h => mips-32-syscalls_pointers_override.h} (95%) rename instrumentation/syscalls/headers/{mips-64-syscalls-3.5.0_integers.h => mips-64-syscalls_integers.h} (99%) rename instrumentation/syscalls/headers/{mips-32-syscalls-3.13.0_integers_override.h => mips-64-syscalls_integers_override.h} (59%) rename instrumentation/syscalls/headers/{mips-64-syscalls-3.5.0_pointers.h => mips-64-syscalls_pointers.h} (99%) rename instrumentation/syscalls/headers/{mips-64-syscalls-3.5.0_pointers_override.h => mips-64-syscalls_pointers_override.h} (76%) rename instrumentation/syscalls/headers/{powerpc-32-syscalls-3.0.34_integers.h => powerpc-32-syscalls_integers.h} (96%) rename instrumentation/syscalls/headers/{powerpc-32-syscalls-3.0.34_integers_override.h => powerpc-32-syscalls_integers_override.h} (97%) rename instrumentation/syscalls/headers/{powerpc-32-syscalls-3.0.34_pointers.h => powerpc-32-syscalls_pointers.h} (95%) rename instrumentation/syscalls/headers/{powerpc-32-syscalls-3.0.34_pointers_override.h => powerpc-32-syscalls_pointers_override.h} (90%) rename instrumentation/syscalls/headers/{x86-32-syscalls-3.1.0-rc6_integers.h => x86-32-syscalls_integers.h} (99%) rename instrumentation/syscalls/headers/{x86-32-syscalls-3.1.0-rc6_integers_override.h => x86-32-syscalls_integers_override.h} (98%) rename instrumentation/syscalls/headers/{x86-32-syscalls-3.1.0-rc6_pointers.h => x86-32-syscalls_pointers.h} (99%) rename instrumentation/syscalls/headers/{x86-32-syscalls-3.1.0-rc6_pointers_override.h => x86-32-syscalls_pointers_override.h} (95%) rename instrumentation/syscalls/headers/{x86-64-syscalls-3.10.0-rc7_integers.h => x86-64-syscalls_integers.h} (99%) rename instrumentation/syscalls/headers/{x86-64-syscalls-3.10.0-rc7_integers_override.h => x86-64-syscalls_integers_override.h} (60%) rename instrumentation/syscalls/headers/{x86-64-syscalls-3.10.0-rc7_pointers.h => x86-64-syscalls_pointers.h} (99%) rename instrumentation/syscalls/headers/{x86-64-syscalls-3.10.0-rc7_pointers_override.h => x86-64-syscalls_pointers_override.h} (99%) diff --git a/instrumentation/syscalls/3.0.34/powerpc-32-syscalls-3.0.34 b/instrumentation/syscalls/3.0.34/powerpc-32-syscalls similarity index 100% rename from instrumentation/syscalls/3.0.34/powerpc-32-syscalls-3.0.34 rename to instrumentation/syscalls/3.0.34/powerpc-32-syscalls diff --git a/instrumentation/syscalls/3.1.0-rc6/x86-32-syscalls-3.1.0-rc6 b/instrumentation/syscalls/3.1.0-rc6/x86-32-syscalls similarity index 100% rename from instrumentation/syscalls/3.1.0-rc6/x86-32-syscalls-3.1.0-rc6 rename to instrumentation/syscalls/3.1.0-rc6/x86-32-syscalls diff --git a/instrumentation/syscalls/3.10.0-rc7/x86-64-syscalls-3.10.0-rc7 b/instrumentation/syscalls/3.10.0-rc7/x86-64-syscalls similarity index 100% rename from instrumentation/syscalls/3.10.0-rc7/x86-64-syscalls-3.10.0-rc7 rename to instrumentation/syscalls/3.10.0-rc7/x86-64-syscalls diff --git a/instrumentation/syscalls/3.13.0/mips-32-syscalls-3.13.0 b/instrumentation/syscalls/3.13.0/mips-32-syscalls similarity index 100% rename from instrumentation/syscalls/3.13.0/mips-32-syscalls-3.13.0 rename to instrumentation/syscalls/3.13.0/mips-32-syscalls diff --git a/instrumentation/syscalls/3.18.0/mips-32-syscalls-3.18.0 b/instrumentation/syscalls/3.18.0/mips-32-syscalls similarity index 100% rename from instrumentation/syscalls/3.18.0/mips-32-syscalls-3.18.0 rename to instrumentation/syscalls/3.18.0/mips-32-syscalls diff --git a/instrumentation/syscalls/3.4.25/arm-32-syscalls-3.4.25 b/instrumentation/syscalls/3.4.25/arm-32-syscalls similarity index 100% rename from instrumentation/syscalls/3.4.25/arm-32-syscalls-3.4.25 rename to instrumentation/syscalls/3.4.25/arm-32-syscalls diff --git a/instrumentation/syscalls/3.5.0/mips-32-syscalls-3.5.0 b/instrumentation/syscalls/3.5.0/mips-32-syscalls similarity index 100% rename from instrumentation/syscalls/3.5.0/mips-32-syscalls-3.5.0 rename to instrumentation/syscalls/3.5.0/mips-32-syscalls diff --git a/instrumentation/syscalls/3.5.0/mips-64-syscalls-3.5.0 b/instrumentation/syscalls/3.5.0/mips-64-syscalls similarity index 100% rename from instrumentation/syscalls/3.5.0/mips-64-syscalls-3.5.0 rename to instrumentation/syscalls/3.5.0/mips-64-syscalls diff --git a/instrumentation/syscalls/4.4.0/arm-64-syscalls-4.4.0 b/instrumentation/syscalls/4.4.0/arm-64-syscalls similarity index 100% rename from instrumentation/syscalls/4.4.0/arm-64-syscalls-4.4.0 rename to instrumentation/syscalls/4.4.0/arm-64-syscalls diff --git a/instrumentation/syscalls/headers/arm-32-syscalls-3.4.25_integers.h b/instrumentation/syscalls/headers/arm-32-syscalls_integers.h similarity index 99% rename from instrumentation/syscalls/headers/arm-32-syscalls-3.4.25_integers.h rename to instrumentation/syscalls/headers/arm-32-syscalls_integers.h index ca71d869..804dcc5f 100644 --- a/instrumentation/syscalls/headers/arm-32-syscalls-3.4.25_integers.h +++ b/instrumentation/syscalls/headers/arm-32-syscalls_integers.h @@ -1,4 +1,9 @@ +/* SPDX-License-Identifier: (GPL-2.0 or LGPL-2.1) */ + /* THIS FILE IS AUTO-GENERATED. DO NOT EDIT */ + +/* Generated from arm-32-syscalls 3.4.25 */ + #ifndef CREATE_SYSCALL_TABLE #if !defined(_TRACE_SYSCALLS_INTEGERS_H) || defined(TRACE_HEADER_MULTI_READ) @@ -6,7 +11,7 @@ #include #include -#include "arm-32-syscalls-3.4.25_integers_override.h" +#include "arm-32-syscalls_integers_override.h" #include "syscalls_integers_override.h" #ifdef SC_ENTER @@ -825,7 +830,7 @@ SC_LTTNG_TRACEPOINT_EVENT(keyctl, #else /* CREATE_SYSCALL_TABLE */ -#include "arm-32-syscalls-3.4.25_integers_override.h" +#include "arm-32-syscalls_integers_override.h" #include "syscalls_integers_override.h" #ifdef SC_ENTER diff --git a/instrumentation/syscalls/headers/arm-32-syscalls-3.4.25_integers_override.h b/instrumentation/syscalls/headers/arm-32-syscalls_integers_override.h similarity index 98% rename from instrumentation/syscalls/headers/arm-32-syscalls-3.4.25_integers_override.h rename to instrumentation/syscalls/headers/arm-32-syscalls_integers_override.h index e6b52878..65256042 100644 --- a/instrumentation/syscalls/headers/arm-32-syscalls-3.4.25_integers_override.h +++ b/instrumentation/syscalls/headers/arm-32-syscalls_integers_override.h @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: (GPL-2.0 or LGPL-2.1) */ + #ifndef CONFIG_UID16 #define OVERRIDE_32_getuid16 diff --git a/instrumentation/syscalls/headers/arm-32-syscalls-3.4.25_pointers.h b/instrumentation/syscalls/headers/arm-32-syscalls_pointers.h similarity index 99% rename from instrumentation/syscalls/headers/arm-32-syscalls-3.4.25_pointers.h rename to instrumentation/syscalls/headers/arm-32-syscalls_pointers.h index 76aab1b1..d7dceec1 100644 --- a/instrumentation/syscalls/headers/arm-32-syscalls-3.4.25_pointers.h +++ b/instrumentation/syscalls/headers/arm-32-syscalls_pointers.h @@ -1,4 +1,9 @@ +/* SPDX-License-Identifier: (GPL-2.0 or LGPL-2.1) */ + /* THIS FILE IS AUTO-GENERATED. DO NOT EDIT */ + +/* Generated from arm-32-syscalls 3.4.25 */ + #ifndef CREATE_SYSCALL_TABLE #if !defined(_TRACE_SYSCALLS_POINTERS_H) || defined(TRACE_HEADER_MULTI_READ) @@ -6,7 +11,7 @@ #include #include -#include "arm-32-syscalls-3.4.25_pointers_override.h" +#include "arm-32-syscalls_pointers_override.h" #include "syscalls_pointers_override.h" #ifndef OVERRIDE_32_unlink @@ -1354,7 +1359,7 @@ SC_LTTNG_TRACEPOINT_EVENT(process_vm_writev, #else /* CREATE_SYSCALL_TABLE */ -#include "arm-32-syscalls-3.4.25_pointers_override.h" +#include "arm-32-syscalls_pointers_override.h" #include "syscalls_pointers_override.h" #ifndef OVERRIDE_TABLE_32_read diff --git a/instrumentation/syscalls/headers/arm-32-syscalls-3.4.25_pointers_override.h b/instrumentation/syscalls/headers/arm-32-syscalls_pointers_override.h similarity index 95% rename from instrumentation/syscalls/headers/arm-32-syscalls-3.4.25_pointers_override.h rename to instrumentation/syscalls/headers/arm-32-syscalls_pointers_override.h index ab325c7c..45351fb0 100644 --- a/instrumentation/syscalls/headers/arm-32-syscalls-3.4.25_pointers_override.h +++ b/instrumentation/syscalls/headers/arm-32-syscalls_pointers_override.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: (GPL-2.0 or LGPL-2.1) */ #define OVERRIDE_TABLE_32_mmap2 diff --git a/instrumentation/syscalls/headers/arm-64-syscalls-4.4.0_integers.h b/instrumentation/syscalls/headers/arm-64-syscalls_integers.h similarity index 99% rename from instrumentation/syscalls/headers/arm-64-syscalls-4.4.0_integers.h rename to instrumentation/syscalls/headers/arm-64-syscalls_integers.h index b033dc17..c67abb7c 100644 --- a/instrumentation/syscalls/headers/arm-64-syscalls-4.4.0_integers.h +++ b/instrumentation/syscalls/headers/arm-64-syscalls_integers.h @@ -1,4 +1,9 @@ +/* SPDX-License-Identifier: (GPL-2.0 or LGPL-2.1) */ + /* THIS FILE IS AUTO-GENERATED. DO NOT EDIT */ + +/* Generated from arm-64-syscalls 4.4.0 */ + #ifndef CREATE_SYSCALL_TABLE #if !defined(_TRACE_SYSCALLS_INTEGERS_H) || defined(TRACE_HEADER_MULTI_READ) @@ -6,7 +11,7 @@ #include #include -#include "arm-64-syscalls-4.4.0_integers_override.h" +#include "arm-64-syscalls_integers_override.h" #include "syscalls_integers_override.h" #ifdef SC_ENTER @@ -692,7 +697,7 @@ SC_LTTNG_TRACEPOINT_EVENT(remap_file_pages, #else /* CREATE_SYSCALL_TABLE */ -#include "arm-64-syscalls-4.4.0_integers_override.h" +#include "arm-64-syscalls_integers_override.h" #include "syscalls_integers_override.h" #ifdef SC_ENTER diff --git a/instrumentation/syscalls/headers/arm-64-syscalls-4.4.0_integers_override.h b/instrumentation/syscalls/headers/arm-64-syscalls_integers_override.h similarity index 82% rename from instrumentation/syscalls/headers/arm-64-syscalls-4.4.0_integers_override.h rename to instrumentation/syscalls/headers/arm-64-syscalls_integers_override.h index 7a5ef794..2c9849ec 100644 --- a/instrumentation/syscalls/headers/arm-64-syscalls-4.4.0_integers_override.h +++ b/instrumentation/syscalls/headers/arm-64-syscalls_integers_override.h @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: (GPL-2.0 or LGPL-2.1) */ + /* * this is a place-holder for arm64 integer syscall definition override. */ diff --git a/instrumentation/syscalls/headers/arm-64-syscalls-4.4.0_pointers.h b/instrumentation/syscalls/headers/arm-64-syscalls_pointers.h similarity index 99% rename from instrumentation/syscalls/headers/arm-64-syscalls-4.4.0_pointers.h rename to instrumentation/syscalls/headers/arm-64-syscalls_pointers.h index f61ec756..4dfa0b68 100644 --- a/instrumentation/syscalls/headers/arm-64-syscalls-4.4.0_pointers.h +++ b/instrumentation/syscalls/headers/arm-64-syscalls_pointers.h @@ -1,4 +1,9 @@ +/* SPDX-License-Identifier: (GPL-2.0 or LGPL-2.1) */ + /* THIS FILE IS AUTO-GENERATED. DO NOT EDIT */ + +/* Generated from arm-64-syscalls 4.4.0 */ + #ifndef CREATE_SYSCALL_TABLE #if !defined(_TRACE_SYSCALLS_POINTERS_H) || defined(TRACE_HEADER_MULTI_READ) @@ -6,7 +11,7 @@ #include #include -#include "arm-64-syscalls-4.4.0_pointers_override.h" +#include "arm-64-syscalls_pointers_override.h" #include "syscalls_pointers_override.h" #ifndef OVERRIDE_64_chdir @@ -1165,7 +1170,7 @@ SC_LTTNG_TRACEPOINT_EVENT(process_vm_writev, #else /* CREATE_SYSCALL_TABLE */ -#include "arm-64-syscalls-4.4.0_pointers_override.h" +#include "arm-64-syscalls_pointers_override.h" #include "syscalls_pointers_override.h" #ifndef OVERRIDE_TABLE_64_io_setup diff --git a/instrumentation/syscalls/headers/arm-64-syscalls-4.4.0_pointers_override.h b/instrumentation/syscalls/headers/arm-64-syscalls_pointers_override.h similarity index 78% rename from instrumentation/syscalls/headers/arm-64-syscalls-4.4.0_pointers_override.h rename to instrumentation/syscalls/headers/arm-64-syscalls_pointers_override.h index 07929729..7899824b 100644 --- a/instrumentation/syscalls/headers/arm-64-syscalls-4.4.0_pointers_override.h +++ b/instrumentation/syscalls/headers/arm-64-syscalls_pointers_override.h @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: (GPL-2.0 or LGPL-2.1) */ + /* * this is a place-holder for arm64 integer syscall definition override. */ diff --git a/instrumentation/syscalls/headers/compat_syscalls_integers.h b/instrumentation/syscalls/headers/compat_syscalls_integers.h index fa1657d5..798893b9 100644 --- a/instrumentation/syscalls/headers/compat_syscalls_integers.h +++ b/instrumentation/syscalls/headers/compat_syscalls_integers.h @@ -1,11 +1,13 @@ +/* SPDX-License-Identifier: (GPL-2.0 or LGPL-2.1) */ + #ifdef CONFIG_X86_64 -#include "x86-32-syscalls-3.1.0-rc6_integers.h" +#include "x86-32-syscalls_integers.h" #endif #ifdef CONFIG_ARM64 -#include "arm-32-syscalls-3.4.25_integers.h" +#include "arm-32-syscalls_integers.h" #endif #ifdef CONFIG_PPC64 -#include "powerpc-32-syscalls-3.0.34_integers.h" +#include "powerpc-32-syscalls_integers.h" #endif diff --git a/instrumentation/syscalls/headers/compat_syscalls_pointers.h b/instrumentation/syscalls/headers/compat_syscalls_pointers.h index 4929da9f..fdb2c6c1 100644 --- a/instrumentation/syscalls/headers/compat_syscalls_pointers.h +++ b/instrumentation/syscalls/headers/compat_syscalls_pointers.h @@ -1,11 +1,13 @@ +/* SPDX-License-Identifier: (GPL-2.0 or LGPL-2.1) */ + #ifdef CONFIG_X86_64 -#include "x86-32-syscalls-3.1.0-rc6_pointers.h" +#include "x86-32-syscalls_pointers.h" #endif #ifdef CONFIG_ARM64 -#include "arm-32-syscalls-3.4.25_pointers.h" +#include "arm-32-syscalls_pointers.h" #endif #ifdef CONFIG_PPC64 -#include "powerpc-32-syscalls-3.0.34_pointers.h" +#include "powerpc-32-syscalls_pointers.h" #endif diff --git a/instrumentation/syscalls/headers/mips-32-syscalls-3.13.0_integers.h b/instrumentation/syscalls/headers/mips-32-syscalls-3.13.0_integers.h deleted file mode 100644 index 2c01d003..00000000 --- a/instrumentation/syscalls/headers/mips-32-syscalls-3.13.0_integers.h +++ /dev/null @@ -1,1145 +0,0 @@ -/* THIS FILE IS AUTO-GENERATED. DO NOT EDIT */ -#ifndef CREATE_SYSCALL_TABLE - -#if !defined(_TRACE_SYSCALLS_INTEGERS_H) || defined(TRACE_HEADER_MULTI_READ) -#define _TRACE_SYSCALLS_INTEGERS_H - -#include -#include -#include "mips-32-syscalls-3.13.0_integers_override.h" -#include "syscalls_integers_override.h" - -#ifdef SC_ENTER -SC_LTTNG_TRACEPOINT_EVENT_CLASS_NOARGS(syscalls_noargs, - TP_FIELDS() -) -#ifndef OVERRIDE_32_getpid -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getpid) -#endif -#ifndef OVERRIDE_32_getuid -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getuid) -#endif -#ifndef OVERRIDE_32_pause -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, pause) -#endif -#ifndef OVERRIDE_32_sync -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sync) -#endif -#ifndef OVERRIDE_32_getgid -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getgid) -#endif -#ifndef OVERRIDE_32_geteuid -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, geteuid) -#endif -#ifndef OVERRIDE_32_getegid -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getegid) -#endif -#ifndef OVERRIDE_32_getppid -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getppid) -#endif -#ifndef OVERRIDE_32_getpgrp -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, getpgrp) -#endif -#ifndef OVERRIDE_32_setsid -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, setsid) -#endif -#ifndef OVERRIDE_32_sgetmask -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sgetmask) -#endif -#ifndef OVERRIDE_32_vhangup -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, vhangup) -#endif -#ifndef OVERRIDE_32_munlockall -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, munlockall) -#endif -#ifndef OVERRIDE_32_sched_yield -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, sched_yield) -#endif -#ifndef OVERRIDE_32_gettid -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, gettid) -#endif -#ifndef OVERRIDE_32_restart_syscall -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, restart_syscall) -#endif -#ifndef OVERRIDE_32_inotify_init -SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(syscalls_noargs, inotify_init) -#endif -#else /* #ifdef SC_ENTER */ -#ifndef OVERRIDE_32_getpid -SC_LTTNG_TRACEPOINT_EVENT(getpid, - TP_PROTO(sc_exit(long ret)), - TP_ARGS(sc_exit(ret)), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) -) -#endif -#ifndef OVERRIDE_32_getuid -SC_LTTNG_TRACEPOINT_EVENT(getuid, - TP_PROTO(sc_exit(long ret)), - TP_ARGS(sc_exit(ret)), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) -) -#endif -#ifndef OVERRIDE_32_pause -SC_LTTNG_TRACEPOINT_EVENT(pause, - TP_PROTO(sc_exit(long ret)), - TP_ARGS(sc_exit(ret)), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) -) -#endif -#ifndef OVERRIDE_32_sync -SC_LTTNG_TRACEPOINT_EVENT(sync, - TP_PROTO(sc_exit(long ret)), - TP_ARGS(sc_exit(ret)), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) -) -#endif -#ifndef OVERRIDE_32_getgid -SC_LTTNG_TRACEPOINT_EVENT(getgid, - TP_PROTO(sc_exit(long ret)), - TP_ARGS(sc_exit(ret)), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) -) -#endif -#ifndef OVERRIDE_32_geteuid -SC_LTTNG_TRACEPOINT_EVENT(geteuid, - TP_PROTO(sc_exit(long ret)), - TP_ARGS(sc_exit(ret)), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) -) -#endif -#ifndef OVERRIDE_32_getegid -SC_LTTNG_TRACEPOINT_EVENT(getegid, - TP_PROTO(sc_exit(long ret)), - TP_ARGS(sc_exit(ret)), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) -) -#endif -#ifndef OVERRIDE_32_getppid -SC_LTTNG_TRACEPOINT_EVENT(getppid, - TP_PROTO(sc_exit(long ret)), - TP_ARGS(sc_exit(ret)), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) -) -#endif -#ifndef OVERRIDE_32_getpgrp -SC_LTTNG_TRACEPOINT_EVENT(getpgrp, - TP_PROTO(sc_exit(long ret)), - TP_ARGS(sc_exit(ret)), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) -) -#endif -#ifndef OVERRIDE_32_setsid -SC_LTTNG_TRACEPOINT_EVENT(setsid, - TP_PROTO(sc_exit(long ret)), - TP_ARGS(sc_exit(ret)), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) -) -#endif -#ifndef OVERRIDE_32_sgetmask -SC_LTTNG_TRACEPOINT_EVENT(sgetmask, - TP_PROTO(sc_exit(long ret)), - TP_ARGS(sc_exit(ret)), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) -) -#endif -#ifndef OVERRIDE_32_vhangup -SC_LTTNG_TRACEPOINT_EVENT(vhangup, - TP_PROTO(sc_exit(long ret)), - TP_ARGS(sc_exit(ret)), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) -) -#endif -#ifndef OVERRIDE_32_munlockall -SC_LTTNG_TRACEPOINT_EVENT(munlockall, - TP_PROTO(sc_exit(long ret)), - TP_ARGS(sc_exit(ret)), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) -) -#endif -#ifndef OVERRIDE_32_sched_yield -SC_LTTNG_TRACEPOINT_EVENT(sched_yield, - TP_PROTO(sc_exit(long ret)), - TP_ARGS(sc_exit(ret)), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) -) -#endif -#ifndef OVERRIDE_32_gettid -SC_LTTNG_TRACEPOINT_EVENT(gettid, - TP_PROTO(sc_exit(long ret)), - TP_ARGS(sc_exit(ret)), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) -) -#endif -#ifndef OVERRIDE_32_restart_syscall -SC_LTTNG_TRACEPOINT_EVENT(restart_syscall, - TP_PROTO(sc_exit(long ret)), - TP_ARGS(sc_exit(ret)), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) -) -#endif -#ifndef OVERRIDE_32_inotify_init -SC_LTTNG_TRACEPOINT_EVENT(inotify_init, - TP_PROTO(sc_exit(long ret)), - TP_ARGS(sc_exit(ret)), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret))) -) -#endif -#endif /* else #ifdef SC_ENTER */ -#ifndef OVERRIDE_32_exit -SC_LTTNG_TRACEPOINT_EVENT(exit, - TP_PROTO(sc_exit(long ret,) int error_code), - TP_ARGS(sc_exit(ret,) error_code), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, error_code, error_code))) -) -#endif -#ifndef OVERRIDE_32_close -SC_LTTNG_TRACEPOINT_EVENT(close, - TP_PROTO(sc_exit(long ret,) unsigned int fd), - TP_ARGS(sc_exit(ret,) fd), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd))) -) -#endif -#ifndef OVERRIDE_32_setuid -SC_LTTNG_TRACEPOINT_EVENT(setuid, - TP_PROTO(sc_exit(long ret,) uid_t uid), - TP_ARGS(sc_exit(ret,) uid), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(uid_t, uid, uid))) -) -#endif -#ifndef OVERRIDE_32_alarm -SC_LTTNG_TRACEPOINT_EVENT(alarm, - TP_PROTO(sc_exit(long ret,) unsigned int seconds), - TP_ARGS(sc_exit(ret,) seconds), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, seconds, seconds))) -) -#endif -#ifndef OVERRIDE_32_nice -SC_LTTNG_TRACEPOINT_EVENT(nice, - TP_PROTO(sc_exit(long ret,) int increment), - TP_ARGS(sc_exit(ret,) increment), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, increment, increment))) -) -#endif -#ifndef OVERRIDE_32_dup -SC_LTTNG_TRACEPOINT_EVENT(dup, - TP_PROTO(sc_exit(long ret,) unsigned int fildes), - TP_ARGS(sc_exit(ret,) fildes), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fildes, fildes))) -) -#endif -#ifndef OVERRIDE_32_brk -SC_LTTNG_TRACEPOINT_EVENT(brk, - TP_PROTO(sc_exit(long ret,) unsigned long brk), - TP_ARGS(sc_exit(ret,) brk), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, brk, brk))) -) -#endif -#ifndef OVERRIDE_32_setgid -SC_LTTNG_TRACEPOINT_EVENT(setgid, - TP_PROTO(sc_exit(long ret,) gid_t gid), - TP_ARGS(sc_exit(ret,) gid), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(gid_t, gid, gid))) -) -#endif -#ifndef OVERRIDE_32_umask -SC_LTTNG_TRACEPOINT_EVENT(umask, - TP_PROTO(sc_exit(long ret,) int mask), - TP_ARGS(sc_exit(ret,) mask), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, mask, mask))) -) -#endif -#ifndef OVERRIDE_32_ssetmask -SC_LTTNG_TRACEPOINT_EVENT(ssetmask, - TP_PROTO(sc_exit(long ret,) int newmask), - TP_ARGS(sc_exit(ret,) newmask), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, newmask, newmask))) -) -#endif -#ifndef OVERRIDE_32_fsync -SC_LTTNG_TRACEPOINT_EVENT(fsync, - TP_PROTO(sc_exit(long ret,) unsigned int fd), - TP_ARGS(sc_exit(ret,) fd), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd))) -) -#endif -#ifndef OVERRIDE_32_getpgid -SC_LTTNG_TRACEPOINT_EVENT(getpgid, - TP_PROTO(sc_exit(long ret,) pid_t pid), - TP_ARGS(sc_exit(ret,) pid), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid))) -) -#endif -#ifndef OVERRIDE_32_fchdir -SC_LTTNG_TRACEPOINT_EVENT(fchdir, - TP_PROTO(sc_exit(long ret,) unsigned int fd), - TP_ARGS(sc_exit(ret,) fd), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd))) -) -#endif -#ifndef OVERRIDE_32_personality -SC_LTTNG_TRACEPOINT_EVENT(personality, - TP_PROTO(sc_exit(long ret,) unsigned int personality), - TP_ARGS(sc_exit(ret,) personality), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, personality, personality))) -) -#endif -#ifndef OVERRIDE_32_setfsuid -SC_LTTNG_TRACEPOINT_EVENT(setfsuid, - TP_PROTO(sc_exit(long ret,) uid_t uid), - TP_ARGS(sc_exit(ret,) uid), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(uid_t, uid, uid))) -) -#endif -#ifndef OVERRIDE_32_setfsgid -SC_LTTNG_TRACEPOINT_EVENT(setfsgid, - TP_PROTO(sc_exit(long ret,) gid_t gid), - TP_ARGS(sc_exit(ret,) gid), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(gid_t, gid, gid))) -) -#endif -#ifndef OVERRIDE_32_getsid -SC_LTTNG_TRACEPOINT_EVENT(getsid, - TP_PROTO(sc_exit(long ret,) pid_t pid), - TP_ARGS(sc_exit(ret,) pid), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid))) -) -#endif -#ifndef OVERRIDE_32_fdatasync -SC_LTTNG_TRACEPOINT_EVENT(fdatasync, - TP_PROTO(sc_exit(long ret,) unsigned int fd), - TP_ARGS(sc_exit(ret,) fd), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd))) -) -#endif -#ifndef OVERRIDE_32_mlockall -SC_LTTNG_TRACEPOINT_EVENT(mlockall, - TP_PROTO(sc_exit(long ret,) int flags), - TP_ARGS(sc_exit(ret,) flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, flags, flags))) -) -#endif -#ifndef OVERRIDE_32_sched_getscheduler -SC_LTTNG_TRACEPOINT_EVENT(sched_getscheduler, - TP_PROTO(sc_exit(long ret,) pid_t pid), - TP_ARGS(sc_exit(ret,) pid), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid))) -) -#endif -#ifndef OVERRIDE_32_sched_get_priority_max -SC_LTTNG_TRACEPOINT_EVENT(sched_get_priority_max, - TP_PROTO(sc_exit(long ret,) int policy), - TP_ARGS(sc_exit(ret,) policy), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, policy, policy))) -) -#endif -#ifndef OVERRIDE_32_sched_get_priority_min -SC_LTTNG_TRACEPOINT_EVENT(sched_get_priority_min, - TP_PROTO(sc_exit(long ret,) int policy), - TP_ARGS(sc_exit(ret,) policy), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, policy, policy))) -) -#endif -#ifndef OVERRIDE_32_io_destroy -SC_LTTNG_TRACEPOINT_EVENT(io_destroy, - TP_PROTO(sc_exit(long ret,) aio_context_t ctx), - TP_ARGS(sc_exit(ret,) ctx), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(aio_context_t, ctx, ctx))) -) -#endif -#ifndef OVERRIDE_32_exit_group -SC_LTTNG_TRACEPOINT_EVENT(exit_group, - TP_PROTO(sc_exit(long ret,) int error_code), - TP_ARGS(sc_exit(ret,) error_code), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, error_code, error_code))) -) -#endif -#ifndef OVERRIDE_32_epoll_create -SC_LTTNG_TRACEPOINT_EVENT(epoll_create, - TP_PROTO(sc_exit(long ret,) int size), - TP_ARGS(sc_exit(ret,) size), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, size, size))) -) -#endif -#ifndef OVERRIDE_32_timer_getoverrun -SC_LTTNG_TRACEPOINT_EVENT(timer_getoverrun, - TP_PROTO(sc_exit(long ret,) timer_t timer_id), - TP_ARGS(sc_exit(ret,) timer_id), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(timer_t, timer_id, timer_id))) -) -#endif -#ifndef OVERRIDE_32_timer_delete -SC_LTTNG_TRACEPOINT_EVENT(timer_delete, - TP_PROTO(sc_exit(long ret,) timer_t timer_id), - TP_ARGS(sc_exit(ret,) timer_id), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(timer_t, timer_id, timer_id))) -) -#endif -#ifndef OVERRIDE_32_set_thread_area -SC_LTTNG_TRACEPOINT_EVENT(set_thread_area, - TP_PROTO(sc_exit(long ret,) unsigned long addr), - TP_ARGS(sc_exit(ret,) addr), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned long, addr, addr))) -) -#endif -#ifndef OVERRIDE_32_unshare -SC_LTTNG_TRACEPOINT_EVENT(unshare, - TP_PROTO(sc_exit(long ret,) unsigned long unshare_flags), - TP_ARGS(sc_exit(ret,) unshare_flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, unshare_flags, unshare_flags))) -) -#endif -#ifndef OVERRIDE_32_eventfd -SC_LTTNG_TRACEPOINT_EVENT(eventfd, - TP_PROTO(sc_exit(long ret,) unsigned int count), - TP_ARGS(sc_exit(ret,) count), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, count, count))) -) -#endif -#ifndef OVERRIDE_32_epoll_create1 -SC_LTTNG_TRACEPOINT_EVENT(epoll_create1, - TP_PROTO(sc_exit(long ret,) int flags), - TP_ARGS(sc_exit(ret,) flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, flags, flags))) -) -#endif -#ifndef OVERRIDE_32_inotify_init1 -SC_LTTNG_TRACEPOINT_EVENT(inotify_init1, - TP_PROTO(sc_exit(long ret,) int flags), - TP_ARGS(sc_exit(ret,) flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, flags, flags))) -) -#endif -#ifndef OVERRIDE_32_syncfs -SC_LTTNG_TRACEPOINT_EVENT(syncfs, - TP_PROTO(sc_exit(long ret,) int fd), - TP_ARGS(sc_exit(ret,) fd), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd))) -) -#endif -#ifndef OVERRIDE_32_kill -SC_LTTNG_TRACEPOINT_EVENT(kill, - TP_PROTO(sc_exit(long ret,) pid_t pid, int sig), - TP_ARGS(sc_exit(ret,) pid, sig), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid)) sc_in(ctf_integer(int, sig, sig))) -) -#endif -#ifndef OVERRIDE_32_setpgid -SC_LTTNG_TRACEPOINT_EVENT(setpgid, - TP_PROTO(sc_exit(long ret,) pid_t pid, pid_t pgid), - TP_ARGS(sc_exit(ret,) pid, pgid), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid)) sc_in(ctf_integer(pid_t, pgid, pgid))) -) -#endif -#ifndef OVERRIDE_32_dup2 -SC_LTTNG_TRACEPOINT_EVENT(dup2, - TP_PROTO(sc_exit(long ret,) unsigned int oldfd, unsigned int newfd), - TP_ARGS(sc_exit(ret,) oldfd, newfd), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, oldfd, oldfd)) sc_in(ctf_integer(unsigned int, newfd, newfd))) -) -#endif -#ifndef OVERRIDE_32_setreuid -SC_LTTNG_TRACEPOINT_EVENT(setreuid, - TP_PROTO(sc_exit(long ret,) uid_t ruid, uid_t euid), - TP_ARGS(sc_exit(ret,) ruid, euid), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(uid_t, ruid, ruid)) sc_in(ctf_integer(uid_t, euid, euid))) -) -#endif -#ifndef OVERRIDE_32_setregid -SC_LTTNG_TRACEPOINT_EVENT(setregid, - TP_PROTO(sc_exit(long ret,) gid_t rgid, gid_t egid), - TP_ARGS(sc_exit(ret,) rgid, egid), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(gid_t, rgid, rgid)) sc_in(ctf_integer(gid_t, egid, egid))) -) -#endif -#ifndef OVERRIDE_32_munmap -SC_LTTNG_TRACEPOINT_EVENT(munmap, - TP_PROTO(sc_exit(long ret,) unsigned long addr, size_t len), - TP_ARGS(sc_exit(ret,) addr, len), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, addr, addr)) sc_in(ctf_integer(size_t, len, len))) -) -#endif -#ifndef OVERRIDE_32_ftruncate -SC_LTTNG_TRACEPOINT_EVENT(ftruncate, - TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned long length), - TP_ARGS(sc_exit(ret,) fd, length), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(unsigned long, length, length))) -) -#endif -#ifndef OVERRIDE_32_fchmod -SC_LTTNG_TRACEPOINT_EVENT(fchmod, - TP_PROTO(sc_exit(long ret,) unsigned int fd, umode_t mode), - TP_ARGS(sc_exit(ret,) fd, mode), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(umode_t, mode, mode))) -) -#endif -#ifndef OVERRIDE_32_getpriority -SC_LTTNG_TRACEPOINT_EVENT(getpriority, - TP_PROTO(sc_exit(long ret,) int which, int who), - TP_ARGS(sc_exit(ret,) which, who), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, which, which)) sc_in(ctf_integer(int, who, who))) -) -#endif -#ifndef OVERRIDE_32_bdflush -SC_LTTNG_TRACEPOINT_EVENT(bdflush, - TP_PROTO(sc_exit(long ret,) int func, long data), - TP_ARGS(sc_exit(ret,) func, data), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, func, func)) sc_inout(ctf_integer(long, data, data))) -) -#endif -#ifndef OVERRIDE_32_flock -SC_LTTNG_TRACEPOINT_EVENT(flock, - TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned int cmd), - TP_ARGS(sc_exit(ret,) fd, cmd), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(unsigned int, cmd, cmd))) -) -#endif -#ifndef OVERRIDE_32_mlock -SC_LTTNG_TRACEPOINT_EVENT(mlock, - TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len), - TP_ARGS(sc_exit(ret,) start, len), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, start, start)) sc_in(ctf_integer(size_t, len, len))) -) -#endif -#ifndef OVERRIDE_32_munlock -SC_LTTNG_TRACEPOINT_EVENT(munlock, - TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len), - TP_ARGS(sc_exit(ret,) start, len), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, start, start)) sc_in(ctf_integer(size_t, len, len))) -) -#endif -#ifndef OVERRIDE_32_listen -SC_LTTNG_TRACEPOINT_EVENT(listen, - TP_PROTO(sc_exit(long ret,) int fd, int backlog), - TP_ARGS(sc_exit(ret,) fd, backlog), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(int, backlog, backlog))) -) -#endif -#ifndef OVERRIDE_32_shutdown -SC_LTTNG_TRACEPOINT_EVENT(shutdown, - TP_PROTO(sc_exit(long ret,) int fd, int how), - TP_ARGS(sc_exit(ret,) fd, how), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(int, how, how))) -) -#endif -#ifndef OVERRIDE_32_ftruncate64 -SC_LTTNG_TRACEPOINT_EVENT(ftruncate64, - TP_PROTO(sc_exit(long ret,) unsigned int fd, loff_t length), - TP_ARGS(sc_exit(ret,) fd, length), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned int, fd, fd)) sc_inout(ctf_integer(loff_t, length, length))) -) -#endif -#ifndef OVERRIDE_32_tkill -SC_LTTNG_TRACEPOINT_EVENT(tkill, - TP_PROTO(sc_exit(long ret,) pid_t pid, int sig), - TP_ARGS(sc_exit(ret,) pid, sig), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid)) sc_in(ctf_integer(int, sig, sig))) -) -#endif -#ifndef OVERRIDE_32_inotify_rm_watch -SC_LTTNG_TRACEPOINT_EVENT(inotify_rm_watch, - TP_PROTO(sc_exit(long ret,) int fd, __s32 wd), - TP_ARGS(sc_exit(ret,) fd, wd), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(__s32, wd, wd))) -) -#endif -#ifndef OVERRIDE_32_ioprio_get -SC_LTTNG_TRACEPOINT_EVENT(ioprio_get, - TP_PROTO(sc_exit(long ret,) int which, int who), - TP_ARGS(sc_exit(ret,) which, who), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, which, which)) sc_in(ctf_integer(int, who, who))) -) -#endif -#ifndef OVERRIDE_32_timerfd_create -SC_LTTNG_TRACEPOINT_EVENT(timerfd_create, - TP_PROTO(sc_exit(long ret,) int clockid, int flags), - TP_ARGS(sc_exit(ret,) clockid, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, clockid, clockid)) sc_in(ctf_integer(int, flags, flags))) -) -#endif -#ifndef OVERRIDE_32_eventfd2 -SC_LTTNG_TRACEPOINT_EVENT(eventfd2, - TP_PROTO(sc_exit(long ret,) unsigned int count, int flags), - TP_ARGS(sc_exit(ret,) count, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, count, count)) sc_in(ctf_integer(int, flags, flags))) -) -#endif -#ifndef OVERRIDE_32_setns -SC_LTTNG_TRACEPOINT_EVENT(setns, - TP_PROTO(sc_exit(long ret,) int fd, int nstype), - TP_ARGS(sc_exit(ret,) fd, nstype), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(int, nstype, nstype))) -) -#endif -#ifndef OVERRIDE_32_lseek -SC_LTTNG_TRACEPOINT_EVENT(lseek, - TP_PROTO(sc_exit(long ret,) unsigned int fd, off_t offset, unsigned int whence), - TP_ARGS(sc_exit(ret,) fd, offset, whence), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(off_t, offset, offset)) sc_in(ctf_integer(unsigned int, whence, whence))) -) -#endif -#ifndef OVERRIDE_32_ioctl -SC_LTTNG_TRACEPOINT_EVENT(ioctl, - TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned int cmd, unsigned long arg), - TP_ARGS(sc_exit(ret,) fd, cmd, arg), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(unsigned int, cmd, cmd)) sc_inout(ctf_integer(unsigned long, arg, arg))) -) -#endif -#ifndef OVERRIDE_32_fcntl -SC_LTTNG_TRACEPOINT_EVENT(fcntl, - TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned int cmd, unsigned long arg), - TP_ARGS(sc_exit(ret,) fd, cmd, arg), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(unsigned int, cmd, cmd)) sc_inout(ctf_integer(unsigned long, arg, arg))) -) -#endif -#ifndef OVERRIDE_32_fchown -SC_LTTNG_TRACEPOINT_EVENT(fchown, - TP_PROTO(sc_exit(long ret,) unsigned int fd, uid_t user, gid_t group), - TP_ARGS(sc_exit(ret,) fd, user, group), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(uid_t, user, user)) sc_in(ctf_integer(gid_t, group, group))) -) -#endif -#ifndef OVERRIDE_32_setpriority -SC_LTTNG_TRACEPOINT_EVENT(setpriority, - TP_PROTO(sc_exit(long ret,) int which, int who, int niceval), - TP_ARGS(sc_exit(ret,) which, who, niceval), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, which, which)) sc_in(ctf_integer(int, who, who)) sc_in(ctf_integer(int, niceval, niceval))) -) -#endif -#ifndef OVERRIDE_32_mprotect -SC_LTTNG_TRACEPOINT_EVENT(mprotect, - TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len, unsigned long prot), - TP_ARGS(sc_exit(ret,) start, len, prot), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, start, start)) sc_in(ctf_integer(size_t, len, len)) sc_in(ctf_integer(unsigned long, prot, prot))) -) -#endif -#ifndef OVERRIDE_32_sysfs -SC_LTTNG_TRACEPOINT_EVENT(sysfs, - TP_PROTO(sc_exit(long ret,) int option, unsigned long arg1, unsigned long arg2), - TP_ARGS(sc_exit(ret,) option, arg1, arg2), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, option, option)) sc_in(ctf_integer(unsigned long, arg1, arg1)) sc_in(ctf_integer(unsigned long, arg2, arg2))) -) -#endif -#ifndef OVERRIDE_32_msync -SC_LTTNG_TRACEPOINT_EVENT(msync, - TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len, int flags), - TP_ARGS(sc_exit(ret,) start, len, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, start, start)) sc_in(ctf_integer(size_t, len, len)) sc_in(ctf_integer(int, flags, flags))) -) -#endif -#ifndef OVERRIDE_32_cacheflush -SC_LTTNG_TRACEPOINT_EVENT(cacheflush, - TP_PROTO(sc_exit(long ret,) unsigned long addr, unsigned long bytes, unsigned int cache), - TP_ARGS(sc_exit(ret,) addr, bytes, cache), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned long, addr, addr)) sc_inout(ctf_integer(unsigned long, bytes, bytes)) sc_inout(ctf_integer(unsigned int, cache, cache))) -) -#endif -#ifndef OVERRIDE_32_sysmips -SC_LTTNG_TRACEPOINT_EVENT(sysmips, - TP_PROTO(sc_exit(long ret,) long cmd, long arg1, long arg2), - TP_ARGS(sc_exit(ret,) cmd, arg1, arg2), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(long, cmd, cmd)) sc_inout(ctf_integer(long, arg1, arg1)) sc_inout(ctf_integer(long, arg2, arg2))) -) -#endif -#ifndef OVERRIDE_32_socket -SC_LTTNG_TRACEPOINT_EVENT(socket, - TP_PROTO(sc_exit(long ret,) int family, int type, int protocol), - TP_ARGS(sc_exit(ret,) family, type, protocol), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, family, family)) sc_in(ctf_integer(int, type, type)) sc_in(ctf_integer(int, protocol, protocol))) -) -#endif -#ifndef OVERRIDE_32_setresuid -SC_LTTNG_TRACEPOINT_EVENT(setresuid, - TP_PROTO(sc_exit(long ret,) uid_t ruid, uid_t euid, uid_t suid), - TP_ARGS(sc_exit(ret,) ruid, euid, suid), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(uid_t, ruid, ruid)) sc_in(ctf_integer(uid_t, euid, euid)) sc_in(ctf_integer(uid_t, suid, suid))) -) -#endif -#ifndef OVERRIDE_32_setresgid -SC_LTTNG_TRACEPOINT_EVENT(setresgid, - TP_PROTO(sc_exit(long ret,) gid_t rgid, gid_t egid, gid_t sgid), - TP_ARGS(sc_exit(ret,) rgid, egid, sgid), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(gid_t, rgid, rgid)) sc_in(ctf_integer(gid_t, egid, egid)) sc_in(ctf_integer(gid_t, sgid, sgid))) -) -#endif -#ifndef OVERRIDE_32_madvise -SC_LTTNG_TRACEPOINT_EVENT(madvise, - TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len_in, int behavior), - TP_ARGS(sc_exit(ret,) start, len_in, behavior), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, start, start)) sc_in(ctf_integer(size_t, len_in, len_in)) sc_in(ctf_integer(int, behavior, behavior))) -) -#endif -#ifndef OVERRIDE_32_fcntl64 -SC_LTTNG_TRACEPOINT_EVENT(fcntl64, - TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned int cmd, unsigned long arg), - TP_ARGS(sc_exit(ret,) fd, cmd, arg), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned int, fd, fd)) sc_inout(ctf_integer(unsigned int, cmd, cmd)) sc_inout(ctf_integer(unsigned long, arg, arg))) -) -#endif -#ifndef OVERRIDE_32_readahead -SC_LTTNG_TRACEPOINT_EVENT(readahead, - TP_PROTO(sc_exit(long ret,) int fd, loff_t offset, size_t count), - TP_ARGS(sc_exit(ret,) fd, offset, count), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(loff_t, offset, offset)) sc_in(ctf_integer(size_t, count, count))) -) -#endif -#ifndef OVERRIDE_32_tgkill -SC_LTTNG_TRACEPOINT_EVENT(tgkill, - TP_PROTO(sc_exit(long ret,) pid_t tgid, pid_t pid, int sig), - TP_ARGS(sc_exit(ret,) tgid, pid, sig), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, tgid, tgid)) sc_in(ctf_integer(pid_t, pid, pid)) sc_in(ctf_integer(int, sig, sig))) -) -#endif -#ifndef OVERRIDE_32_ioprio_set -SC_LTTNG_TRACEPOINT_EVENT(ioprio_set, - TP_PROTO(sc_exit(long ret,) int which, int who, int ioprio), - TP_ARGS(sc_exit(ret,) which, who, ioprio), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, which, which)) sc_in(ctf_integer(int, who, who)) sc_in(ctf_integer(int, ioprio, ioprio))) -) -#endif -#ifndef OVERRIDE_32_dup3 -SC_LTTNG_TRACEPOINT_EVENT(dup3, - TP_PROTO(sc_exit(long ret,) unsigned int oldfd, unsigned int newfd, int flags), - TP_ARGS(sc_exit(ret,) oldfd, newfd, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, oldfd, oldfd)) sc_in(ctf_integer(unsigned int, newfd, newfd)) sc_in(ctf_integer(int, flags, flags))) -) -#endif -#ifndef OVERRIDE_32_ptrace -SC_LTTNG_TRACEPOINT_EVENT(ptrace, - TP_PROTO(sc_exit(long ret,) long request, long pid, unsigned long addr, unsigned long data), - TP_ARGS(sc_exit(ret,) request, pid, addr, data), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(long, request, request)) sc_in(ctf_integer(long, pid, pid)) sc_inout(ctf_integer(unsigned long, addr, addr)) sc_inout(ctf_integer(unsigned long, data, data))) -) -#endif -#ifndef OVERRIDE_32_fadvise64_64 -SC_LTTNG_TRACEPOINT_EVENT(fadvise64_64, - TP_PROTO(sc_exit(long ret,) int fd, loff_t offset, loff_t len, int advice), - TP_ARGS(sc_exit(ret,) fd, offset, len, advice), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, fd, fd)) sc_inout(ctf_integer(loff_t, offset, offset)) sc_inout(ctf_integer(loff_t, len, len)) sc_inout(ctf_integer(int, advice, advice))) -) -#endif -#ifndef OVERRIDE_32_sync_file_range -SC_LTTNG_TRACEPOINT_EVENT(sync_file_range, - TP_PROTO(sc_exit(long ret,) int fd, loff_t offset, loff_t nbytes, unsigned int flags), - TP_ARGS(sc_exit(ret,) fd, offset, nbytes, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(loff_t, offset, offset)) sc_in(ctf_integer(loff_t, nbytes, nbytes)) sc_in(ctf_integer(unsigned int, flags, flags))) -) -#endif -#ifndef OVERRIDE_32_tee -SC_LTTNG_TRACEPOINT_EVENT(tee, - TP_PROTO(sc_exit(long ret,) int fdin, int fdout, size_t len, unsigned int flags), - TP_ARGS(sc_exit(ret,) fdin, fdout, len, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fdin, fdin)) sc_in(ctf_integer(int, fdout, fdout)) sc_in(ctf_integer(size_t, len, len)) sc_in(ctf_integer(unsigned int, flags, flags))) -) -#endif -#ifndef OVERRIDE_32_fallocate -SC_LTTNG_TRACEPOINT_EVENT(fallocate, - TP_PROTO(sc_exit(long ret,) int fd, int mode, loff_t offset, loff_t len), - TP_ARGS(sc_exit(ret,) fd, mode, offset, len), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(int, mode, mode)) sc_in(ctf_integer(loff_t, offset, offset)) sc_in(ctf_integer(loff_t, len, len))) -) -#endif -#ifndef OVERRIDE_32_mremap -SC_LTTNG_TRACEPOINT_EVENT(mremap, - TP_PROTO(sc_exit(long ret,) unsigned long addr, unsigned long old_len, unsigned long new_len, unsigned long flags, unsigned long new_addr), - TP_ARGS(sc_exit(ret,) addr, old_len, new_len, flags, new_addr), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, addr, addr)) sc_in(ctf_integer(unsigned long, old_len, old_len)) sc_in(ctf_integer(unsigned long, new_len, new_len)) sc_in(ctf_integer(unsigned long, flags, flags)) sc_in(ctf_integer(unsigned long, new_addr, new_addr))) -) -#endif -#ifndef OVERRIDE_32_prctl -SC_LTTNG_TRACEPOINT_EVENT(prctl, - TP_PROTO(sc_exit(long ret,) int option, unsigned long arg2, unsigned long arg3, unsigned long arg4, unsigned long arg5), - TP_ARGS(sc_exit(ret,) option, arg2, arg3, arg4, arg5), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, option, option)) sc_inout(ctf_integer(unsigned long, arg2, arg2)) sc_in(ctf_integer(unsigned long, arg3, arg3)) sc_in(ctf_integer(unsigned long, arg4, arg4)) sc_in(ctf_integer(unsigned long, arg5, arg5))) -) -#endif -#ifndef OVERRIDE_32_remap_file_pages -SC_LTTNG_TRACEPOINT_EVENT(remap_file_pages, - TP_PROTO(sc_exit(long ret,) unsigned long start, unsigned long size, unsigned long prot, unsigned long pgoff, unsigned long flags), - TP_ARGS(sc_exit(ret,) start, size, prot, pgoff, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, start, start)) sc_in(ctf_integer(unsigned long, size, size)) sc_in(ctf_integer(unsigned long, prot, prot)) sc_in(ctf_integer(unsigned long, pgoff, pgoff)) sc_in(ctf_integer(unsigned long, flags, flags))) -) -#endif -#ifndef OVERRIDE_32_mips_mmap -SC_LTTNG_TRACEPOINT_EVENT(mips_mmap, - TP_PROTO(sc_exit(long ret,) unsigned long addr, unsigned long len, unsigned long prot, unsigned long flags, unsigned long fd, off_t offset), - TP_ARGS(sc_exit(ret,) addr, len, prot, flags, fd, offset), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned long, addr, addr)) sc_inout(ctf_integer(unsigned long, len, len)) sc_inout(ctf_integer(unsigned long, prot, prot)) sc_inout(ctf_integer(unsigned long, flags, flags)) sc_inout(ctf_integer(unsigned long, fd, fd)) sc_inout(ctf_integer(off_t, offset, offset))) -) -#endif -#ifndef OVERRIDE_32_mips_mmap2 -SC_LTTNG_TRACEPOINT_EVENT(mips_mmap2, - TP_PROTO(sc_exit(long ret,) unsigned long addr, unsigned long len, unsigned long prot, unsigned long flags, unsigned long fd, unsigned long pgoff), - TP_ARGS(sc_exit(ret,) addr, len, prot, flags, fd, pgoff), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned long, addr, addr)) sc_inout(ctf_integer(unsigned long, len, len)) sc_inout(ctf_integer(unsigned long, prot, prot)) sc_inout(ctf_integer(unsigned long, flags, flags)) sc_inout(ctf_integer(unsigned long, fd, fd)) sc_inout(ctf_integer(unsigned long, pgoff, pgoff))) -) -#endif - -#endif /* _TRACE_SYSCALLS_INTEGERS_H */ - -/* This part must be outside protection */ -#include - -#else /* CREATE_SYSCALL_TABLE */ - -#include "mips-32-syscalls-3.13.0_integers_override.h" -#include "syscalls_integers_override.h" - -#ifdef SC_ENTER -#ifndef OVERRIDE_TABLE_32_getpid -TRACE_SYSCALL_TABLE(syscalls_noargs, getpid, 4020, 0) -#endif -#ifndef OVERRIDE_TABLE_32_getuid -TRACE_SYSCALL_TABLE(syscalls_noargs, getuid, 4024, 0) -#endif -#ifndef OVERRIDE_TABLE_32_pause -TRACE_SYSCALL_TABLE(syscalls_noargs, pause, 4029, 0) -#endif -#ifndef OVERRIDE_TABLE_32_sync -TRACE_SYSCALL_TABLE(syscalls_noargs, sync, 4036, 0) -#endif -#ifndef OVERRIDE_TABLE_32_getgid -TRACE_SYSCALL_TABLE(syscalls_noargs, getgid, 4047, 0) -#endif -#ifndef OVERRIDE_TABLE_32_geteuid -TRACE_SYSCALL_TABLE(syscalls_noargs, geteuid, 4049, 0) -#endif -#ifndef OVERRIDE_TABLE_32_getegid -TRACE_SYSCALL_TABLE(syscalls_noargs, getegid, 4050, 0) -#endif -#ifndef OVERRIDE_TABLE_32_getppid -TRACE_SYSCALL_TABLE(syscalls_noargs, getppid, 4064, 0) -#endif -#ifndef OVERRIDE_TABLE_32_getpgrp -TRACE_SYSCALL_TABLE(syscalls_noargs, getpgrp, 4065, 0) -#endif -#ifndef OVERRIDE_TABLE_32_setsid -TRACE_SYSCALL_TABLE(syscalls_noargs, setsid, 4066, 0) -#endif -#ifndef OVERRIDE_TABLE_32_sgetmask -TRACE_SYSCALL_TABLE(syscalls_noargs, sgetmask, 4068, 0) -#endif -#ifndef OVERRIDE_TABLE_32_vhangup -TRACE_SYSCALL_TABLE(syscalls_noargs, vhangup, 4111, 0) -#endif -#ifndef OVERRIDE_TABLE_32_munlockall -TRACE_SYSCALL_TABLE(syscalls_noargs, munlockall, 4157, 0) -#endif -#ifndef OVERRIDE_TABLE_32_sched_yield -TRACE_SYSCALL_TABLE(syscalls_noargs, sched_yield, 4162, 0) -#endif -#ifndef OVERRIDE_TABLE_32_gettid -TRACE_SYSCALL_TABLE(syscalls_noargs, gettid, 4222, 0) -#endif -#ifndef OVERRIDE_TABLE_32_restart_syscall -TRACE_SYSCALL_TABLE(syscalls_noargs, restart_syscall, 4253, 0) -#endif -#ifndef OVERRIDE_TABLE_32_inotify_init -TRACE_SYSCALL_TABLE(syscalls_noargs, inotify_init, 4284, 0) -#endif -#else /* #ifdef SC_ENTER */ -#ifndef OVERRIDE_TABLE_32_getpid -TRACE_SYSCALL_TABLE(getpid, getpid, 4020, 0) -#endif -#ifndef OVERRIDE_TABLE_32_getuid -TRACE_SYSCALL_TABLE(getuid, getuid, 4024, 0) -#endif -#ifndef OVERRIDE_TABLE_32_pause -TRACE_SYSCALL_TABLE(pause, pause, 4029, 0) -#endif -#ifndef OVERRIDE_TABLE_32_sync -TRACE_SYSCALL_TABLE(sync, sync, 4036, 0) -#endif -#ifndef OVERRIDE_TABLE_32_getgid -TRACE_SYSCALL_TABLE(getgid, getgid, 4047, 0) -#endif -#ifndef OVERRIDE_TABLE_32_geteuid -TRACE_SYSCALL_TABLE(geteuid, geteuid, 4049, 0) -#endif -#ifndef OVERRIDE_TABLE_32_getegid -TRACE_SYSCALL_TABLE(getegid, getegid, 4050, 0) -#endif -#ifndef OVERRIDE_TABLE_32_getppid -TRACE_SYSCALL_TABLE(getppid, getppid, 4064, 0) -#endif -#ifndef OVERRIDE_TABLE_32_getpgrp -TRACE_SYSCALL_TABLE(getpgrp, getpgrp, 4065, 0) -#endif -#ifndef OVERRIDE_TABLE_32_setsid -TRACE_SYSCALL_TABLE(setsid, setsid, 4066, 0) -#endif -#ifndef OVERRIDE_TABLE_32_sgetmask -TRACE_SYSCALL_TABLE(sgetmask, sgetmask, 4068, 0) -#endif -#ifndef OVERRIDE_TABLE_32_vhangup -TRACE_SYSCALL_TABLE(vhangup, vhangup, 4111, 0) -#endif -#ifndef OVERRIDE_TABLE_32_munlockall -TRACE_SYSCALL_TABLE(munlockall, munlockall, 4157, 0) -#endif -#ifndef OVERRIDE_TABLE_32_sched_yield -TRACE_SYSCALL_TABLE(sched_yield, sched_yield, 4162, 0) -#endif -#ifndef OVERRIDE_TABLE_32_gettid -TRACE_SYSCALL_TABLE(gettid, gettid, 4222, 0) -#endif -#ifndef OVERRIDE_TABLE_32_restart_syscall -TRACE_SYSCALL_TABLE(restart_syscall, restart_syscall, 4253, 0) -#endif -#ifndef OVERRIDE_TABLE_32_inotify_init -TRACE_SYSCALL_TABLE(inotify_init, inotify_init, 4284, 0) -#endif -#endif /* else #ifdef SC_ENTER */ -#ifndef OVERRIDE_TABLE_32_exit -TRACE_SYSCALL_TABLE(exit, exit, 4001, 1) -#endif -#ifndef OVERRIDE_TABLE_32_close -TRACE_SYSCALL_TABLE(close, close, 4006, 1) -#endif -#ifndef OVERRIDE_TABLE_32_lseek -TRACE_SYSCALL_TABLE(lseek, lseek, 4019, 3) -#endif -#ifndef OVERRIDE_TABLE_32_setuid -TRACE_SYSCALL_TABLE(setuid, setuid, 4023, 1) -#endif -#ifndef OVERRIDE_TABLE_32_ptrace -TRACE_SYSCALL_TABLE(ptrace, ptrace, 4026, 4) -#endif -#ifndef OVERRIDE_TABLE_32_alarm -TRACE_SYSCALL_TABLE(alarm, alarm, 4027, 1) -#endif -#ifndef OVERRIDE_TABLE_32_nice -TRACE_SYSCALL_TABLE(nice, nice, 4034, 1) -#endif -#ifndef OVERRIDE_TABLE_32_kill -TRACE_SYSCALL_TABLE(kill, kill, 4037, 2) -#endif -#ifndef OVERRIDE_TABLE_32_dup -TRACE_SYSCALL_TABLE(dup, dup, 4041, 1) -#endif -#ifndef OVERRIDE_TABLE_32_brk -TRACE_SYSCALL_TABLE(brk, brk, 4045, 1) -#endif -#ifndef OVERRIDE_TABLE_32_setgid -TRACE_SYSCALL_TABLE(setgid, setgid, 4046, 1) -#endif -#ifndef OVERRIDE_TABLE_32_ioctl -TRACE_SYSCALL_TABLE(ioctl, ioctl, 4054, 3) -#endif -#ifndef OVERRIDE_TABLE_32_fcntl -TRACE_SYSCALL_TABLE(fcntl, fcntl, 4055, 3) -#endif -#ifndef OVERRIDE_TABLE_32_setpgid -TRACE_SYSCALL_TABLE(setpgid, setpgid, 4057, 2) -#endif -#ifndef OVERRIDE_TABLE_32_umask -TRACE_SYSCALL_TABLE(umask, umask, 4060, 1) -#endif -#ifndef OVERRIDE_TABLE_32_dup2 -TRACE_SYSCALL_TABLE(dup2, dup2, 4063, 2) -#endif -#ifndef OVERRIDE_TABLE_32_ssetmask -TRACE_SYSCALL_TABLE(ssetmask, ssetmask, 4069, 1) -#endif -#ifndef OVERRIDE_TABLE_32_setreuid -TRACE_SYSCALL_TABLE(setreuid, setreuid, 4070, 2) -#endif -#ifndef OVERRIDE_TABLE_32_setregid -TRACE_SYSCALL_TABLE(setregid, setregid, 4071, 2) -#endif -#ifndef OVERRIDE_TABLE_32_mips_mmap -TRACE_SYSCALL_TABLE(mips_mmap, mips_mmap, 4090, 6) -#endif -#ifndef OVERRIDE_TABLE_32_munmap -TRACE_SYSCALL_TABLE(munmap, munmap, 4091, 2) -#endif -#ifndef OVERRIDE_TABLE_32_ftruncate -TRACE_SYSCALL_TABLE(ftruncate, ftruncate, 4093, 2) -#endif -#ifndef OVERRIDE_TABLE_32_fchmod -TRACE_SYSCALL_TABLE(fchmod, fchmod, 4094, 2) -#endif -#ifndef OVERRIDE_TABLE_32_fchown -TRACE_SYSCALL_TABLE(fchown, fchown, 4095, 3) -#endif -#ifndef OVERRIDE_TABLE_32_getpriority -TRACE_SYSCALL_TABLE(getpriority, getpriority, 4096, 2) -#endif -#ifndef OVERRIDE_TABLE_32_setpriority -TRACE_SYSCALL_TABLE(setpriority, setpriority, 4097, 3) -#endif -#ifndef OVERRIDE_TABLE_32_fsync -TRACE_SYSCALL_TABLE(fsync, fsync, 4118, 1) -#endif -#ifndef OVERRIDE_TABLE_32_mprotect -TRACE_SYSCALL_TABLE(mprotect, mprotect, 4125, 3) -#endif -#ifndef OVERRIDE_TABLE_32_getpgid -TRACE_SYSCALL_TABLE(getpgid, getpgid, 4132, 1) -#endif -#ifndef OVERRIDE_TABLE_32_fchdir -TRACE_SYSCALL_TABLE(fchdir, fchdir, 4133, 1) -#endif -#ifndef OVERRIDE_TABLE_32_bdflush -TRACE_SYSCALL_TABLE(bdflush, bdflush, 4134, 2) -#endif -#ifndef OVERRIDE_TABLE_32_sysfs -TRACE_SYSCALL_TABLE(sysfs, sysfs, 4135, 3) -#endif -#ifndef OVERRIDE_TABLE_32_personality -TRACE_SYSCALL_TABLE(personality, personality, 4136, 1) -#endif -#ifndef OVERRIDE_TABLE_32_setfsuid -TRACE_SYSCALL_TABLE(setfsuid, setfsuid, 4138, 1) -#endif -#ifndef OVERRIDE_TABLE_32_setfsgid -TRACE_SYSCALL_TABLE(setfsgid, setfsgid, 4139, 1) -#endif -#ifndef OVERRIDE_TABLE_32_flock -TRACE_SYSCALL_TABLE(flock, flock, 4143, 2) -#endif -#ifndef OVERRIDE_TABLE_32_msync -TRACE_SYSCALL_TABLE(msync, msync, 4144, 3) -#endif -#ifndef OVERRIDE_TABLE_32_cacheflush -TRACE_SYSCALL_TABLE(cacheflush, cacheflush, 4147, 3) -#endif -#ifndef OVERRIDE_TABLE_32_sysmips -TRACE_SYSCALL_TABLE(sysmips, sysmips, 4149, 3) -#endif -#ifndef OVERRIDE_TABLE_32_getsid -TRACE_SYSCALL_TABLE(getsid, getsid, 4151, 1) -#endif -#ifndef OVERRIDE_TABLE_32_fdatasync -TRACE_SYSCALL_TABLE(fdatasync, fdatasync, 4152, 1) -#endif -#ifndef OVERRIDE_TABLE_32_mlock -TRACE_SYSCALL_TABLE(mlock, mlock, 4154, 2) -#endif -#ifndef OVERRIDE_TABLE_32_munlock -TRACE_SYSCALL_TABLE(munlock, munlock, 4155, 2) -#endif -#ifndef OVERRIDE_TABLE_32_mlockall -TRACE_SYSCALL_TABLE(mlockall, mlockall, 4156, 1) -#endif -#ifndef OVERRIDE_TABLE_32_sched_getscheduler -TRACE_SYSCALL_TABLE(sched_getscheduler, sched_getscheduler, 4161, 1) -#endif -#ifndef OVERRIDE_TABLE_32_sched_get_priority_max -TRACE_SYSCALL_TABLE(sched_get_priority_max, sched_get_priority_max, 4163, 1) -#endif -#ifndef OVERRIDE_TABLE_32_sched_get_priority_min -TRACE_SYSCALL_TABLE(sched_get_priority_min, sched_get_priority_min, 4164, 1) -#endif -#ifndef OVERRIDE_TABLE_32_mremap -TRACE_SYSCALL_TABLE(mremap, mremap, 4167, 5) -#endif -#ifndef OVERRIDE_TABLE_32_listen -TRACE_SYSCALL_TABLE(listen, listen, 4174, 2) -#endif -#ifndef OVERRIDE_TABLE_32_shutdown -TRACE_SYSCALL_TABLE(shutdown, shutdown, 4182, 2) -#endif -#ifndef OVERRIDE_TABLE_32_socket -TRACE_SYSCALL_TABLE(socket, socket, 4183, 3) -#endif -#ifndef OVERRIDE_TABLE_32_setresuid -TRACE_SYSCALL_TABLE(setresuid, setresuid, 4185, 3) -#endif -#ifndef OVERRIDE_TABLE_32_setresgid -TRACE_SYSCALL_TABLE(setresgid, setresgid, 4190, 3) -#endif -#ifndef OVERRIDE_TABLE_32_prctl -TRACE_SYSCALL_TABLE(prctl, prctl, 4192, 5) -#endif -#ifndef OVERRIDE_TABLE_32_mips_mmap2 -TRACE_SYSCALL_TABLE(mips_mmap2, mips_mmap2, 4210, 6) -#endif -#ifndef OVERRIDE_TABLE_32_ftruncate64 -TRACE_SYSCALL_TABLE(ftruncate64, ftruncate64, 4212, 2) -#endif -#ifndef OVERRIDE_TABLE_32_madvise -TRACE_SYSCALL_TABLE(madvise, madvise, 4218, 3) -#endif -#ifndef OVERRIDE_TABLE_32_fcntl64 -TRACE_SYSCALL_TABLE(fcntl64, fcntl64, 4220, 3) -#endif -#ifndef OVERRIDE_TABLE_32_readahead -TRACE_SYSCALL_TABLE(readahead, readahead, 4223, 3) -#endif -#ifndef OVERRIDE_TABLE_32_tkill -TRACE_SYSCALL_TABLE(tkill, tkill, 4236, 2) -#endif -#ifndef OVERRIDE_TABLE_32_io_destroy -TRACE_SYSCALL_TABLE(io_destroy, io_destroy, 4242, 1) -#endif -#ifndef OVERRIDE_TABLE_32_exit_group -TRACE_SYSCALL_TABLE(exit_group, exit_group, 4246, 1) -#endif -#ifndef OVERRIDE_TABLE_32_epoll_create -TRACE_SYSCALL_TABLE(epoll_create, epoll_create, 4248, 1) -#endif -#ifndef OVERRIDE_TABLE_32_remap_file_pages -TRACE_SYSCALL_TABLE(remap_file_pages, remap_file_pages, 4251, 5) -#endif -#ifndef OVERRIDE_TABLE_32_fadvise64_64 -TRACE_SYSCALL_TABLE(fadvise64_64, fadvise64_64, 4254, 4) -#endif -#ifndef OVERRIDE_TABLE_32_timer_getoverrun -TRACE_SYSCALL_TABLE(timer_getoverrun, timer_getoverrun, 4260, 1) -#endif -#ifndef OVERRIDE_TABLE_32_timer_delete -TRACE_SYSCALL_TABLE(timer_delete, timer_delete, 4261, 1) -#endif -#ifndef OVERRIDE_TABLE_32_tgkill -TRACE_SYSCALL_TABLE(tgkill, tgkill, 4266, 3) -#endif -#ifndef OVERRIDE_TABLE_32_set_thread_area -TRACE_SYSCALL_TABLE(set_thread_area, set_thread_area, 4283, 1) -#endif -#ifndef OVERRIDE_TABLE_32_inotify_rm_watch -TRACE_SYSCALL_TABLE(inotify_rm_watch, inotify_rm_watch, 4286, 2) -#endif -#ifndef OVERRIDE_TABLE_32_unshare -TRACE_SYSCALL_TABLE(unshare, unshare, 4303, 1) -#endif -#ifndef OVERRIDE_TABLE_32_sync_file_range -TRACE_SYSCALL_TABLE(sync_file_range, sync_file_range, 4305, 4) -#endif -#ifndef OVERRIDE_TABLE_32_tee -TRACE_SYSCALL_TABLE(tee, tee, 4306, 4) -#endif -#ifndef OVERRIDE_TABLE_32_ioprio_set -TRACE_SYSCALL_TABLE(ioprio_set, ioprio_set, 4314, 3) -#endif -#ifndef OVERRIDE_TABLE_32_ioprio_get -TRACE_SYSCALL_TABLE(ioprio_get, ioprio_get, 4315, 2) -#endif -#ifndef OVERRIDE_TABLE_32_eventfd -TRACE_SYSCALL_TABLE(eventfd, eventfd, 4319, 1) -#endif -#ifndef OVERRIDE_TABLE_32_fallocate -TRACE_SYSCALL_TABLE(fallocate, fallocate, 4320, 4) -#endif -#ifndef OVERRIDE_TABLE_32_timerfd_create -TRACE_SYSCALL_TABLE(timerfd_create, timerfd_create, 4321, 2) -#endif -#ifndef OVERRIDE_TABLE_32_eventfd2 -TRACE_SYSCALL_TABLE(eventfd2, eventfd2, 4325, 2) -#endif -#ifndef OVERRIDE_TABLE_32_epoll_create1 -TRACE_SYSCALL_TABLE(epoll_create1, epoll_create1, 4326, 1) -#endif -#ifndef OVERRIDE_TABLE_32_dup3 -TRACE_SYSCALL_TABLE(dup3, dup3, 4327, 3) -#endif -#ifndef OVERRIDE_TABLE_32_inotify_init1 -TRACE_SYSCALL_TABLE(inotify_init1, inotify_init1, 4329, 1) -#endif -#ifndef OVERRIDE_TABLE_32_syncfs -TRACE_SYSCALL_TABLE(syncfs, syncfs, 4342, 1) -#endif -#ifndef OVERRIDE_TABLE_32_setns -TRACE_SYSCALL_TABLE(setns, setns, 4344, 2) -#endif - -#endif /* CREATE_SYSCALL_TABLE */ diff --git a/instrumentation/syscalls/headers/mips-32-syscalls-3.13.0_pointers.h b/instrumentation/syscalls/headers/mips-32-syscalls-3.13.0_pointers.h deleted file mode 100644 index 33d7d74a..00000000 --- a/instrumentation/syscalls/headers/mips-32-syscalls-3.13.0_pointers.h +++ /dev/null @@ -1,1824 +0,0 @@ -/* THIS FILE IS AUTO-GENERATED. DO NOT EDIT */ -#ifndef CREATE_SYSCALL_TABLE - -#if !defined(_TRACE_SYSCALLS_POINTERS_H) || defined(TRACE_HEADER_MULTI_READ) -#define _TRACE_SYSCALLS_POINTERS_H - -#include -#include -#include "mips-32-syscalls-3.13.0_pointers_override.h" -#include "syscalls_pointers_override.h" - -#ifndef OVERRIDE_32_unlink -SC_LTTNG_TRACEPOINT_EVENT(unlink, - TP_PROTO(sc_exit(long ret,) const char * pathname), - TP_ARGS(sc_exit(ret,) pathname), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname))) -) -#endif -#ifndef OVERRIDE_32_chdir -SC_LTTNG_TRACEPOINT_EVENT(chdir, - TP_PROTO(sc_exit(long ret,) const char * filename), - TP_ARGS(sc_exit(ret,) filename), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename))) -) -#endif -#ifndef OVERRIDE_32_time -SC_LTTNG_TRACEPOINT_EVENT(time, - TP_PROTO(sc_exit(long ret,) time_t * tloc), - TP_ARGS(sc_exit(ret,) tloc), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(time_t *, tloc, tloc))) -) -#endif -#ifndef OVERRIDE_32_oldumount -SC_LTTNG_TRACEPOINT_EVENT(oldumount, - TP_PROTO(sc_exit(long ret,) char * name), - TP_ARGS(sc_exit(ret,) name), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_user_string(name, name))) -) -#endif -#ifndef OVERRIDE_32_stime -SC_LTTNG_TRACEPOINT_EVENT(stime, - TP_PROTO(sc_exit(long ret,) time_t * tptr), - TP_ARGS(sc_exit(ret,) tptr), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(time_t *, tptr, tptr))) -) -#endif -#ifndef OVERRIDE_32_rmdir -SC_LTTNG_TRACEPOINT_EVENT(rmdir, - TP_PROTO(sc_exit(long ret,) const char * pathname), - TP_ARGS(sc_exit(ret,) pathname), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname))) -) -#endif -#ifndef OVERRIDE_32_times -SC_LTTNG_TRACEPOINT_EVENT(times, - TP_PROTO(sc_exit(long ret,) struct tms * tbuf), - TP_ARGS(sc_exit(ret,) tbuf), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(struct tms *, tbuf, tbuf))) -) -#endif -#ifndef OVERRIDE_32_olduname -SC_LTTNG_TRACEPOINT_EVENT(olduname, - TP_PROTO(sc_exit(long ret,) struct oldold_utsname * name), - TP_ARGS(sc_exit(ret,) name), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(struct oldold_utsname *, name, name))) -) -#endif -#ifndef OVERRIDE_32_chroot -SC_LTTNG_TRACEPOINT_EVENT(chroot, - TP_PROTO(sc_exit(long ret,) const char * filename), - TP_ARGS(sc_exit(ret,) filename), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename))) -) -#endif -#ifndef OVERRIDE_32_sigsuspend -SC_LTTNG_TRACEPOINT_EVENT(sigsuspend, - TP_PROTO(sc_exit(long ret,) sigset_t * uset), - TP_ARGS(sc_exit(ret,) uset), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(sigset_t *, uset, uset))) -) -#endif -#ifndef OVERRIDE_32_sigpending -SC_LTTNG_TRACEPOINT_EVENT(sigpending, - TP_PROTO(sc_exit(long ret,) old_sigset_t * set), - TP_ARGS(sc_exit(ret,) set), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(old_sigset_t *, set, set))) -) -#endif -#ifndef OVERRIDE_32_uselib -SC_LTTNG_TRACEPOINT_EVENT(uselib, - TP_PROTO(sc_exit(long ret,) const char * library), - TP_ARGS(sc_exit(ret,) library), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(const char *, library, library))) -) -#endif -#ifndef OVERRIDE_32_uname -SC_LTTNG_TRACEPOINT_EVENT(uname, - TP_PROTO(sc_exit(long ret,) struct old_utsname * name), - TP_ARGS(sc_exit(ret,) name), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(struct old_utsname *, name, name))) -) -#endif -#ifndef OVERRIDE_32_sysinfo -SC_LTTNG_TRACEPOINT_EVENT(sysinfo, - TP_PROTO(sc_exit(long ret,) struct sysinfo * info), - TP_ARGS(sc_exit(ret,) info), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(struct sysinfo *, info, info))) -) -#endif -#ifndef OVERRIDE_32_newuname -SC_LTTNG_TRACEPOINT_EVENT(newuname, - TP_PROTO(sc_exit(long ret,) struct new_utsname * name), - TP_ARGS(sc_exit(ret,) name), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(struct new_utsname *, name, name))) -) -#endif -#ifndef OVERRIDE_32_adjtimex -SC_LTTNG_TRACEPOINT_EVENT(adjtimex, - TP_PROTO(sc_exit(long ret,) struct timex * txc_p), - TP_ARGS(sc_exit(ret,) txc_p), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(struct timex *, txc_p, txc_p))) -) -#endif -#ifndef OVERRIDE_32_sysctl -SC_LTTNG_TRACEPOINT_EVENT(sysctl, - TP_PROTO(sc_exit(long ret,) struct __sysctl_args * args), - TP_ARGS(sc_exit(ret,) args), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(struct __sysctl_args *, args, args))) -) -#endif -#ifndef OVERRIDE_32_set_tid_address -SC_LTTNG_TRACEPOINT_EVENT(set_tid_address, - TP_PROTO(sc_exit(long ret,) int * tidptr), - TP_ARGS(sc_exit(ret,) tidptr), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int *, tidptr, tidptr))) -) -#endif -#ifndef OVERRIDE_32_creat -SC_LTTNG_TRACEPOINT_EVENT(creat, - TP_PROTO(sc_exit(long ret,) const char * pathname, umode_t mode), - TP_ARGS(sc_exit(ret,) pathname, mode), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname)) sc_in(ctf_integer(umode_t, mode, mode))) -) -#endif -#ifndef OVERRIDE_32_link -SC_LTTNG_TRACEPOINT_EVENT(link, - TP_PROTO(sc_exit(long ret,) const char * oldname, const char * newname), - TP_ARGS(sc_exit(ret,) oldname, newname), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(oldname, oldname)) sc_in(ctf_user_string(newname, newname))) -) -#endif -#ifndef OVERRIDE_32_chmod -SC_LTTNG_TRACEPOINT_EVENT(chmod, - TP_PROTO(sc_exit(long ret,) const char * filename, umode_t mode), - TP_ARGS(sc_exit(ret,) filename, mode), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(umode_t, mode, mode))) -) -#endif -#ifndef OVERRIDE_32_utime -SC_LTTNG_TRACEPOINT_EVENT(utime, - TP_PROTO(sc_exit(long ret,) char * filename, struct utimbuf * times), - TP_ARGS(sc_exit(ret,) filename, times), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(struct utimbuf *, times, times))) -) -#endif -#ifndef OVERRIDE_32_access -SC_LTTNG_TRACEPOINT_EVENT(access, - TP_PROTO(sc_exit(long ret,) const char * filename, int mode), - TP_ARGS(sc_exit(ret,) filename, mode), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(int, mode, mode))) -) -#endif -#ifndef OVERRIDE_32_rename -SC_LTTNG_TRACEPOINT_EVENT(rename, - TP_PROTO(sc_exit(long ret,) const char * oldname, const char * newname), - TP_ARGS(sc_exit(ret,) oldname, newname), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(oldname, oldname)) sc_in(ctf_user_string(newname, newname))) -) -#endif -#ifndef OVERRIDE_32_mkdir -SC_LTTNG_TRACEPOINT_EVENT(mkdir, - TP_PROTO(sc_exit(long ret,) const char * pathname, umode_t mode), - TP_ARGS(sc_exit(ret,) pathname, mode), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname)) sc_in(ctf_integer(umode_t, mode, mode))) -) -#endif -#ifndef OVERRIDE_32_umount -SC_LTTNG_TRACEPOINT_EVENT(umount, - TP_PROTO(sc_exit(long ret,) char * name, int flags), - TP_ARGS(sc_exit(ret,) name, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(name, name)) sc_in(ctf_integer(int, flags, flags))) -) -#endif -#ifndef OVERRIDE_32_ustat -SC_LTTNG_TRACEPOINT_EVENT(ustat, - TP_PROTO(sc_exit(long ret,) unsigned dev, struct ustat * ubuf), - TP_ARGS(sc_exit(ret,) dev, ubuf), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned, dev, dev)) sc_out(ctf_integer(struct ustat *, ubuf, ubuf))) -) -#endif -#ifndef OVERRIDE_32_sethostname -SC_LTTNG_TRACEPOINT_EVENT(sethostname, - TP_PROTO(sc_exit(long ret,) char * name, int len), - TP_ARGS(sc_exit(ret,) name, len), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(name, name)) sc_in(ctf_integer(int, len, len))) -) -#endif -#ifndef OVERRIDE_32_setrlimit -SC_LTTNG_TRACEPOINT_EVENT(setrlimit, - TP_PROTO(sc_exit(long ret,) unsigned int resource, struct rlimit * rlim), - TP_ARGS(sc_exit(ret,) resource, rlim), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, resource, resource)) sc_in(ctf_integer(struct rlimit *, rlim, rlim))) -) -#endif -#ifndef OVERRIDE_32_getrlimit -SC_LTTNG_TRACEPOINT_EVENT(getrlimit, - TP_PROTO(sc_exit(long ret,) unsigned int resource, struct rlimit * rlim), - TP_ARGS(sc_exit(ret,) resource, rlim), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, resource, resource)) sc_out(ctf_integer(struct rlimit *, rlim, rlim))) -) -#endif -#ifndef OVERRIDE_32_getrusage -SC_LTTNG_TRACEPOINT_EVENT(getrusage, - TP_PROTO(sc_exit(long ret,) int who, struct rusage * ru), - TP_ARGS(sc_exit(ret,) who, ru), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, who, who)) sc_out(ctf_integer(struct rusage *, ru, ru))) -) -#endif -#ifndef OVERRIDE_32_gettimeofday -SC_LTTNG_TRACEPOINT_EVENT(gettimeofday, - TP_PROTO(sc_exit(long ret,) struct timeval * tv, struct timezone * tz), - TP_ARGS(sc_exit(ret,) tv, tz), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(struct timeval *, tv, tv)) sc_out(ctf_integer(struct timezone *, tz, tz))) -) -#endif -#ifndef OVERRIDE_32_settimeofday -SC_LTTNG_TRACEPOINT_EVENT(settimeofday, - TP_PROTO(sc_exit(long ret,) struct timeval * tv, struct timezone * tz), - TP_ARGS(sc_exit(ret,) tv, tz), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(struct timeval *, tv, tv)) sc_in(ctf_integer(struct timezone *, tz, tz))) -) -#endif -#ifndef OVERRIDE_32_getgroups -SC_LTTNG_TRACEPOINT_EVENT(getgroups, - TP_PROTO(sc_exit(long ret,) int gidsetsize, gid_t * grouplist), - TP_ARGS(sc_exit(ret,) gidsetsize, grouplist), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, gidsetsize, gidsetsize)) sc_out(ctf_integer(gid_t *, grouplist, grouplist))) -) -#endif -#ifndef OVERRIDE_32_setgroups -SC_LTTNG_TRACEPOINT_EVENT(setgroups, - TP_PROTO(sc_exit(long ret,) int gidsetsize, gid_t * grouplist), - TP_ARGS(sc_exit(ret,) gidsetsize, grouplist), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, gidsetsize, gidsetsize)) sc_in(ctf_integer(gid_t *, grouplist, grouplist))) -) -#endif -#ifndef OVERRIDE_32_symlink -SC_LTTNG_TRACEPOINT_EVENT(symlink, - TP_PROTO(sc_exit(long ret,) const char * oldname, const char * newname), - TP_ARGS(sc_exit(ret,) oldname, newname), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(oldname, oldname)) sc_in(ctf_user_string(newname, newname))) -) -#endif -#ifndef OVERRIDE_32_truncate -SC_LTTNG_TRACEPOINT_EVENT(truncate, - TP_PROTO(sc_exit(long ret,) const char * path, long length), - TP_ARGS(sc_exit(ret,) path, length), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(path, path)) sc_in(ctf_integer(long, length, length))) -) -#endif -#ifndef OVERRIDE_32_statfs -SC_LTTNG_TRACEPOINT_EVENT(statfs, - TP_PROTO(sc_exit(long ret,) const char * pathname, struct statfs * buf), - TP_ARGS(sc_exit(ret,) pathname, buf), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname)) sc_out(ctf_integer(struct statfs *, buf, buf))) -) -#endif -#ifndef OVERRIDE_32_fstatfs -SC_LTTNG_TRACEPOINT_EVENT(fstatfs, - TP_PROTO(sc_exit(long ret,) unsigned int fd, struct statfs * buf), - TP_ARGS(sc_exit(ret,) fd, buf), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_out(ctf_integer(struct statfs *, buf, buf))) -) -#endif -#ifndef OVERRIDE_32_socketcall -SC_LTTNG_TRACEPOINT_EVENT(socketcall, - TP_PROTO(sc_exit(long ret,) int call, unsigned long * args), - TP_ARGS(sc_exit(ret,) call, args), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, call, call)) sc_inout(ctf_integer(unsigned long *, args, args))) -) -#endif -#ifndef OVERRIDE_32_getitimer -SC_LTTNG_TRACEPOINT_EVENT(getitimer, - TP_PROTO(sc_exit(long ret,) int which, struct itimerval * value), - TP_ARGS(sc_exit(ret,) which, value), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, which, which)) sc_out(ctf_integer(struct itimerval *, value, value))) -) -#endif -#ifndef OVERRIDE_32_newstat -SC_LTTNG_TRACEPOINT_EVENT(newstat, - TP_PROTO(sc_exit(long ret,) const char * filename, struct stat * statbuf), - TP_ARGS(sc_exit(ret,) filename, statbuf), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_out(ctf_integer(struct stat *, statbuf, statbuf))) -) -#endif -#ifndef OVERRIDE_32_newlstat -SC_LTTNG_TRACEPOINT_EVENT(newlstat, - TP_PROTO(sc_exit(long ret,) const char * filename, struct stat * statbuf), - TP_ARGS(sc_exit(ret,) filename, statbuf), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_out(ctf_integer(struct stat *, statbuf, statbuf))) -) -#endif -#ifndef OVERRIDE_32_newfstat -SC_LTTNG_TRACEPOINT_EVENT(newfstat, - TP_PROTO(sc_exit(long ret,) unsigned int fd, struct stat * statbuf), - TP_ARGS(sc_exit(ret,) fd, statbuf), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_out(ctf_integer(struct stat *, statbuf, statbuf))) -) -#endif -#ifndef OVERRIDE_32_setdomainname -SC_LTTNG_TRACEPOINT_EVENT(setdomainname, - TP_PROTO(sc_exit(long ret,) char * name, int len), - TP_ARGS(sc_exit(ret,) name, len), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(name, name)) sc_in(ctf_integer(int, len, len))) -) -#endif -#ifndef OVERRIDE_32_delete_module -SC_LTTNG_TRACEPOINT_EVENT(delete_module, - TP_PROTO(sc_exit(long ret,) const char * name_user, unsigned int flags), - TP_ARGS(sc_exit(ret,) name_user, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(name_user, name_user)) sc_in(ctf_integer(unsigned int, flags, flags))) -) -#endif -#ifndef OVERRIDE_32_sched_setparam -SC_LTTNG_TRACEPOINT_EVENT(sched_setparam, - TP_PROTO(sc_exit(long ret,) pid_t pid, struct sched_param * param), - TP_ARGS(sc_exit(ret,) pid, param), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid)) sc_in(ctf_integer(struct sched_param *, param, param))) -) -#endif -#ifndef OVERRIDE_32_sched_getparam -SC_LTTNG_TRACEPOINT_EVENT(sched_getparam, - TP_PROTO(sc_exit(long ret,) pid_t pid, struct sched_param * param), - TP_ARGS(sc_exit(ret,) pid, param), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid)) sc_out(ctf_integer(struct sched_param *, param, param))) -) -#endif -#ifndef OVERRIDE_32_sched_rr_get_interval -SC_LTTNG_TRACEPOINT_EVENT(sched_rr_get_interval, - TP_PROTO(sc_exit(long ret,) pid_t pid, struct timespec * interval), - TP_ARGS(sc_exit(ret,) pid, interval), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid)) sc_out(ctf_integer(struct timespec *, interval, interval))) -) -#endif -#ifndef OVERRIDE_32_nanosleep -SC_LTTNG_TRACEPOINT_EVENT(nanosleep, - TP_PROTO(sc_exit(long ret,) struct timespec * rqtp, struct timespec * rmtp), - TP_ARGS(sc_exit(ret,) rqtp, rmtp), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(struct timespec *, rqtp, rqtp)) sc_out(ctf_integer(struct timespec *, rmtp, rmtp))) -) -#endif -#ifndef OVERRIDE_32_rt_sigpending -SC_LTTNG_TRACEPOINT_EVENT(rt_sigpending, - TP_PROTO(sc_exit(long ret,) sigset_t * uset, size_t sigsetsize), - TP_ARGS(sc_exit(ret,) uset, sigsetsize), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(sigset_t *, uset, uset)) sc_in(ctf_integer(size_t, sigsetsize, sigsetsize))) -) -#endif -#ifndef OVERRIDE_32_rt_sigsuspend -SC_LTTNG_TRACEPOINT_EVENT(rt_sigsuspend, - TP_PROTO(sc_exit(long ret,) sigset_t * unewset, size_t sigsetsize), - TP_ARGS(sc_exit(ret,) unewset, sigsetsize), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(sigset_t *, unewset, unewset)) sc_in(ctf_integer(size_t, sigsetsize, sigsetsize))) -) -#endif -#ifndef OVERRIDE_32_getcwd -SC_LTTNG_TRACEPOINT_EVENT(getcwd, - TP_PROTO(sc_exit(long ret,) char * buf, unsigned long size), - TP_ARGS(sc_exit(ret,) buf, size), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(char *, buf, buf)) sc_in(ctf_integer(unsigned long, size, size))) -) -#endif -#ifndef OVERRIDE_32_sigaltstack -SC_LTTNG_TRACEPOINT_EVENT(sigaltstack, - TP_PROTO(sc_exit(long ret,) const stack_t * uss, stack_t * uoss), - TP_ARGS(sc_exit(ret,) uss, uoss), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(const stack_t *, uss, uss)) sc_inout(ctf_integer(stack_t *, uoss, uoss))) -) -#endif -#ifndef OVERRIDE_32_truncate64 -SC_LTTNG_TRACEPOINT_EVENT(truncate64, - TP_PROTO(sc_exit(long ret,) const char * path, loff_t length), - TP_ARGS(sc_exit(ret,) path, length), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_user_string(path, path)) sc_inout(ctf_integer(loff_t, length, length))) -) -#endif -#ifndef OVERRIDE_32_stat64 -SC_LTTNG_TRACEPOINT_EVENT(stat64, - TP_PROTO(sc_exit(long ret,) const char * filename, struct stat64 * statbuf), - TP_ARGS(sc_exit(ret,) filename, statbuf), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_user_string(filename, filename)) sc_inout(ctf_integer(struct stat64 *, statbuf, statbuf))) -) -#endif -#ifndef OVERRIDE_32_lstat64 -SC_LTTNG_TRACEPOINT_EVENT(lstat64, - TP_PROTO(sc_exit(long ret,) const char * filename, struct stat64 * statbuf), - TP_ARGS(sc_exit(ret,) filename, statbuf), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_user_string(filename, filename)) sc_inout(ctf_integer(struct stat64 *, statbuf, statbuf))) -) -#endif -#ifndef OVERRIDE_32_fstat64 -SC_LTTNG_TRACEPOINT_EVENT(fstat64, - TP_PROTO(sc_exit(long ret,) unsigned long fd, struct stat64 * statbuf), - TP_ARGS(sc_exit(ret,) fd, statbuf), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned long, fd, fd)) sc_inout(ctf_integer(struct stat64 *, statbuf, statbuf))) -) -#endif -#ifndef OVERRIDE_32_pivot_root -SC_LTTNG_TRACEPOINT_EVENT(pivot_root, - TP_PROTO(sc_exit(long ret,) const char * new_root, const char * put_old), - TP_ARGS(sc_exit(ret,) new_root, put_old), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(new_root, new_root)) sc_in(ctf_user_string(put_old, put_old))) -) -#endif -#ifndef OVERRIDE_32_removexattr -SC_LTTNG_TRACEPOINT_EVENT(removexattr, - TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name), - TP_ARGS(sc_exit(ret,) pathname, name), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname)) sc_in(ctf_user_string(name, name))) -) -#endif -#ifndef OVERRIDE_32_lremovexattr -SC_LTTNG_TRACEPOINT_EVENT(lremovexattr, - TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name), - TP_ARGS(sc_exit(ret,) pathname, name), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname)) sc_in(ctf_user_string(name, name))) -) -#endif -#ifndef OVERRIDE_32_fremovexattr -SC_LTTNG_TRACEPOINT_EVENT(fremovexattr, - TP_PROTO(sc_exit(long ret,) int fd, const char * name), - TP_ARGS(sc_exit(ret,) fd, name), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_user_string(name, name))) -) -#endif -#ifndef OVERRIDE_32_io_setup -SC_LTTNG_TRACEPOINT_EVENT(io_setup, - TP_PROTO(sc_exit(long ret,) unsigned nr_events, aio_context_t * ctxp), - TP_ARGS(sc_exit(ret,) nr_events, ctxp), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned, nr_events, nr_events)) sc_in(ctf_integer(aio_context_t *, ctxp, ctxp))) -) -#endif -#ifndef OVERRIDE_32_timer_gettime -SC_LTTNG_TRACEPOINT_EVENT(timer_gettime, - TP_PROTO(sc_exit(long ret,) timer_t timer_id, struct itimerspec * setting), - TP_ARGS(sc_exit(ret,) timer_id, setting), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(timer_t, timer_id, timer_id)) sc_out(ctf_integer(struct itimerspec *, setting, setting))) -) -#endif -#ifndef OVERRIDE_32_clock_settime -SC_LTTNG_TRACEPOINT_EVENT(clock_settime, - TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, const struct timespec * tp), - TP_ARGS(sc_exit(ret,) which_clock, tp), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(const clockid_t, which_clock, which_clock)) sc_in(ctf_integer(const struct timespec *, tp, tp))) -) -#endif -#ifndef OVERRIDE_32_clock_gettime -SC_LTTNG_TRACEPOINT_EVENT(clock_gettime, - TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, struct timespec * tp), - TP_ARGS(sc_exit(ret,) which_clock, tp), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(const clockid_t, which_clock, which_clock)) sc_out(ctf_integer(struct timespec *, tp, tp))) -) -#endif -#ifndef OVERRIDE_32_clock_getres -SC_LTTNG_TRACEPOINT_EVENT(clock_getres, - TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, struct timespec * tp), - TP_ARGS(sc_exit(ret,) which_clock, tp), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(const clockid_t, which_clock, which_clock)) sc_out(ctf_integer(struct timespec *, tp, tp))) -) -#endif -#ifndef OVERRIDE_32_utimes -SC_LTTNG_TRACEPOINT_EVENT(utimes, - TP_PROTO(sc_exit(long ret,) char * filename, struct timeval * utimes), - TP_ARGS(sc_exit(ret,) filename, utimes), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(struct timeval *, utimes, utimes))) -) -#endif -#ifndef OVERRIDE_32_set_robust_list -SC_LTTNG_TRACEPOINT_EVENT(set_robust_list, - TP_PROTO(sc_exit(long ret,) struct robust_list_head * head, size_t len), - TP_ARGS(sc_exit(ret,) head, len), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(struct robust_list_head *, head, head)) sc_in(ctf_integer(size_t, len, len))) -) -#endif -#ifndef OVERRIDE_32_timerfd_gettime -SC_LTTNG_TRACEPOINT_EVENT(timerfd_gettime, - TP_PROTO(sc_exit(long ret,) int ufd, struct itimerspec * otmr), - TP_ARGS(sc_exit(ret,) ufd, otmr), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, ufd, ufd)) sc_out(ctf_integer(struct itimerspec *, otmr, otmr))) -) -#endif -#ifndef OVERRIDE_32_pipe2 -SC_LTTNG_TRACEPOINT_EVENT(pipe2, - TP_PROTO(sc_exit(long ret,) int * fildes, int flags), - TP_ARGS(sc_exit(ret,) fildes, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(int *, fildes, fildes)) sc_in(ctf_integer(int, flags, flags))) -) -#endif -#ifndef OVERRIDE_32_clock_adjtime -SC_LTTNG_TRACEPOINT_EVENT(clock_adjtime, - TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, struct timex * utx), - TP_ARGS(sc_exit(ret,) which_clock, utx), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(const clockid_t, which_clock, which_clock)) sc_inout(ctf_integer(struct timex *, utx, utx))) -) -#endif -#ifndef OVERRIDE_32_read -SC_LTTNG_TRACEPOINT_EVENT(read, - TP_PROTO(sc_exit(long ret,) unsigned int fd, char * buf, size_t count), - TP_ARGS(sc_exit(ret,) fd, buf, count), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_out(ctf_integer(char *, buf, buf)) sc_in(ctf_integer(size_t, count, count))) -) -#endif -#ifndef OVERRIDE_32_write -SC_LTTNG_TRACEPOINT_EVENT(write, - TP_PROTO(sc_exit(long ret,) unsigned int fd, const char * buf, size_t count), - TP_ARGS(sc_exit(ret,) fd, buf, count), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(const char *, buf, buf)) sc_in(ctf_integer(size_t, count, count))) -) -#endif -#ifndef OVERRIDE_32_open -SC_LTTNG_TRACEPOINT_EVENT(open, - TP_PROTO(sc_exit(long ret,) const char * filename, int flags, umode_t mode), - TP_ARGS(sc_exit(ret,) filename, flags, mode), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(int, flags, flags)) sc_in(ctf_integer(umode_t, mode, mode))) -) -#endif -#ifndef OVERRIDE_32_waitpid -SC_LTTNG_TRACEPOINT_EVENT(waitpid, - TP_PROTO(sc_exit(long ret,) pid_t pid, int * stat_addr, int options), - TP_ARGS(sc_exit(ret,) pid, stat_addr, options), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(pid_t, pid, pid)) sc_inout(ctf_integer(int *, stat_addr, stat_addr)) sc_inout(ctf_integer(int, options, options))) -) -#endif -#ifndef OVERRIDE_32_execve -SC_LTTNG_TRACEPOINT_EVENT(execve, - TP_PROTO(sc_exit(long ret,) const char * filename, const char *const * argv, const char *const * envp), - TP_ARGS(sc_exit(ret,) filename, argv, envp), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_user_string(filename, filename)) sc_inout(ctf_integer(const char *const *, argv, argv)) sc_inout(ctf_integer(const char *const *, envp, envp))) -) -#endif -#ifndef OVERRIDE_32_mknod -SC_LTTNG_TRACEPOINT_EVENT(mknod, - TP_PROTO(sc_exit(long ret,) const char * filename, umode_t mode, unsigned dev), - TP_ARGS(sc_exit(ret,) filename, mode, dev), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(umode_t, mode, mode)) sc_in(ctf_integer(unsigned, dev, dev))) -) -#endif -#ifndef OVERRIDE_32_lchown -SC_LTTNG_TRACEPOINT_EVENT(lchown, - TP_PROTO(sc_exit(long ret,) const char * filename, uid_t user, gid_t group), - TP_ARGS(sc_exit(ret,) filename, user, group), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(uid_t, user, user)) sc_in(ctf_integer(gid_t, group, group))) -) -#endif -#ifndef OVERRIDE_32_sigaction -SC_LTTNG_TRACEPOINT_EVENT(sigaction, - TP_PROTO(sc_exit(long ret,) int sig, const struct sigaction * act, struct sigaction * oact), - TP_ARGS(sc_exit(ret,) sig, act, oact), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, sig, sig)) sc_inout(ctf_integer(const struct sigaction *, act, act)) sc_inout(ctf_integer(struct sigaction *, oact, oact))) -) -#endif -#ifndef OVERRIDE_32_readlink -SC_LTTNG_TRACEPOINT_EVENT(readlink, - TP_PROTO(sc_exit(long ret,) const char * path, char * buf, int bufsiz), - TP_ARGS(sc_exit(ret,) path, buf, bufsiz), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(path, path)) sc_out(ctf_integer(char *, buf, buf)) sc_in(ctf_integer(int, bufsiz, bufsiz))) -) -#endif -#ifndef OVERRIDE_32_old_readdir -SC_LTTNG_TRACEPOINT_EVENT(old_readdir, - TP_PROTO(sc_exit(long ret,) unsigned int fd, struct old_linux_dirent * dirent, unsigned int count), - TP_ARGS(sc_exit(ret,) fd, dirent, count), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned int, fd, fd)) sc_inout(ctf_integer(struct old_linux_dirent *, dirent, dirent)) sc_inout(ctf_integer(unsigned int, count, count))) -) -#endif -#ifndef OVERRIDE_32_syslog -SC_LTTNG_TRACEPOINT_EVENT(syslog, - TP_PROTO(sc_exit(long ret,) int type, char * buf, int len), - TP_ARGS(sc_exit(ret,) type, buf, len), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, type, type)) sc_out(ctf_integer(char *, buf, buf)) sc_in(ctf_integer(int, len, len))) -) -#endif -#ifndef OVERRIDE_32_setitimer -SC_LTTNG_TRACEPOINT_EVENT(setitimer, - TP_PROTO(sc_exit(long ret,) int which, struct itimerval * value, struct itimerval * ovalue), - TP_ARGS(sc_exit(ret,) which, value, ovalue), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, which, which)) sc_in(ctf_integer(struct itimerval *, value, value)) sc_out(ctf_integer(struct itimerval *, ovalue, ovalue))) -) -#endif -#ifndef OVERRIDE_32_sigprocmask -SC_LTTNG_TRACEPOINT_EVENT(sigprocmask, - TP_PROTO(sc_exit(long ret,) int how, old_sigset_t * nset, old_sigset_t * oset), - TP_ARGS(sc_exit(ret,) how, nset, oset), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, how, how)) sc_inout(ctf_integer(old_sigset_t *, nset, nset)) sc_inout(ctf_integer(old_sigset_t *, oset, oset))) -) -#endif -#ifndef OVERRIDE_32_init_module -SC_LTTNG_TRACEPOINT_EVENT(init_module, - TP_PROTO(sc_exit(long ret,) void * umod, unsigned long len, const char * uargs), - TP_ARGS(sc_exit(ret,) umod, len, uargs), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(void *, umod, umod)) sc_in(ctf_integer(unsigned long, len, len)) sc_in(ctf_integer(const char *, uargs, uargs))) -) -#endif -#ifndef OVERRIDE_32_getdents -SC_LTTNG_TRACEPOINT_EVENT(getdents, - TP_PROTO(sc_exit(long ret,) unsigned int fd, struct linux_dirent * dirent, unsigned int count), - TP_ARGS(sc_exit(ret,) fd, dirent, count), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_out(ctf_integer(struct linux_dirent *, dirent, dirent)) sc_in(ctf_integer(unsigned int, count, count))) -) -#endif -#ifndef OVERRIDE_32_readv -SC_LTTNG_TRACEPOINT_EVENT(readv, - TP_PROTO(sc_exit(long ret,) unsigned long fd, const struct iovec * vec, unsigned long vlen), - TP_ARGS(sc_exit(ret,) fd, vec, vlen), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, fd, fd)) sc_inout(ctf_integer(const struct iovec *, vec, vec)) sc_in(ctf_integer(unsigned long, vlen, vlen))) -) -#endif -#ifndef OVERRIDE_32_writev -SC_LTTNG_TRACEPOINT_EVENT(writev, - TP_PROTO(sc_exit(long ret,) unsigned long fd, const struct iovec * vec, unsigned long vlen), - TP_ARGS(sc_exit(ret,) fd, vec, vlen), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, fd, fd)) sc_inout(ctf_integer(const struct iovec *, vec, vec)) sc_in(ctf_integer(unsigned long, vlen, vlen))) -) -#endif -#ifndef OVERRIDE_32_cachectl -SC_LTTNG_TRACEPOINT_EVENT(cachectl, - TP_PROTO(sc_exit(long ret,) char * addr, int nbytes, int op), - TP_ARGS(sc_exit(ret,) addr, nbytes, op), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(char *, addr, addr)) sc_inout(ctf_integer(int, nbytes, nbytes)) sc_inout(ctf_integer(int, op, op))) -) -#endif -#ifndef OVERRIDE_32_sched_setscheduler -SC_LTTNG_TRACEPOINT_EVENT(sched_setscheduler, - TP_PROTO(sc_exit(long ret,) pid_t pid, int policy, struct sched_param * param), - TP_ARGS(sc_exit(ret,) pid, policy, param), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid)) sc_in(ctf_integer(int, policy, policy)) sc_in(ctf_integer(struct sched_param *, param, param))) -) -#endif -#ifndef OVERRIDE_32_accept -SC_LTTNG_TRACEPOINT_EVENT(accept, - TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * upeer_sockaddr, int * upeer_addrlen), - TP_ARGS(sc_exit(ret,) fd, upeer_sockaddr, upeer_addrlen), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_out(ctf_integer(struct sockaddr *, upeer_sockaddr, upeer_sockaddr)) sc_inout(ctf_integer(int *, upeer_addrlen, upeer_addrlen))) -) -#endif -#ifndef OVERRIDE_32_bind -SC_LTTNG_TRACEPOINT_EVENT(bind, - TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * umyaddr, int addrlen), - TP_ARGS(sc_exit(ret,) fd, umyaddr, addrlen), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(struct sockaddr *, umyaddr, umyaddr)) sc_in(ctf_integer(int, addrlen, addrlen))) -) -#endif -#ifndef OVERRIDE_32_connect -SC_LTTNG_TRACEPOINT_EVENT(connect, - TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * uservaddr, int addrlen), - TP_ARGS(sc_exit(ret,) fd, uservaddr, addrlen), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(struct sockaddr *, uservaddr, uservaddr)) sc_in(ctf_integer(int, addrlen, addrlen))) -) -#endif -#ifndef OVERRIDE_32_getpeername -SC_LTTNG_TRACEPOINT_EVENT(getpeername, - TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * usockaddr, int * usockaddr_len), - TP_ARGS(sc_exit(ret,) fd, usockaddr, usockaddr_len), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_out(ctf_integer(struct sockaddr *, usockaddr, usockaddr)) sc_inout(ctf_integer(int *, usockaddr_len, usockaddr_len))) -) -#endif -#ifndef OVERRIDE_32_getsockname -SC_LTTNG_TRACEPOINT_EVENT(getsockname, - TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * usockaddr, int * usockaddr_len), - TP_ARGS(sc_exit(ret,) fd, usockaddr, usockaddr_len), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_out(ctf_integer(struct sockaddr *, usockaddr, usockaddr)) sc_inout(ctf_integer(int *, usockaddr_len, usockaddr_len))) -) -#endif -#ifndef OVERRIDE_32_recvmsg -SC_LTTNG_TRACEPOINT_EVENT(recvmsg, - TP_PROTO(sc_exit(long ret,) int fd, struct msghdr * msg, unsigned int flags), - TP_ARGS(sc_exit(ret,) fd, msg, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_inout(ctf_integer(struct msghdr *, msg, msg)) sc_in(ctf_integer(unsigned int, flags, flags))) -) -#endif -#ifndef OVERRIDE_32_sendmsg -SC_LTTNG_TRACEPOINT_EVENT(sendmsg, - TP_PROTO(sc_exit(long ret,) int fd, struct msghdr * msg, unsigned int flags), - TP_ARGS(sc_exit(ret,) fd, msg, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(struct msghdr *, msg, msg)) sc_in(ctf_integer(unsigned int, flags, flags))) -) -#endif -#ifndef OVERRIDE_32_getresuid -SC_LTTNG_TRACEPOINT_EVENT(getresuid, - TP_PROTO(sc_exit(long ret,) uid_t * ruidp, uid_t * euidp, uid_t * suidp), - TP_ARGS(sc_exit(ret,) ruidp, euidp, suidp), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(uid_t *, ruidp, ruidp)) sc_out(ctf_integer(uid_t *, euidp, euidp)) sc_out(ctf_integer(uid_t *, suidp, suidp))) -) -#endif -#ifndef OVERRIDE_32_poll -SC_LTTNG_TRACEPOINT_EVENT(poll, - TP_PROTO(sc_exit(long ret,) struct pollfd * ufds, unsigned int nfds, int timeout_msecs), - TP_ARGS(sc_exit(ret,) ufds, nfds, timeout_msecs), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(struct pollfd *, ufds, ufds)) sc_in(ctf_integer(unsigned int, nfds, nfds)) sc_in(ctf_integer(int, timeout_msecs, timeout_msecs))) -) -#endif -#ifndef OVERRIDE_32_getresgid -SC_LTTNG_TRACEPOINT_EVENT(getresgid, - TP_PROTO(sc_exit(long ret,) gid_t * rgidp, gid_t * egidp, gid_t * sgidp), - TP_ARGS(sc_exit(ret,) rgidp, egidp, sgidp), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(gid_t *, rgidp, rgidp)) sc_out(ctf_integer(gid_t *, egidp, egidp)) sc_out(ctf_integer(gid_t *, sgidp, sgidp))) -) -#endif -#ifndef OVERRIDE_32_rt_sigqueueinfo -SC_LTTNG_TRACEPOINT_EVENT(rt_sigqueueinfo, - TP_PROTO(sc_exit(long ret,) pid_t pid, int sig, siginfo_t * uinfo), - TP_ARGS(sc_exit(ret,) pid, sig, uinfo), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid)) sc_in(ctf_integer(int, sig, sig)) sc_in(ctf_integer(siginfo_t *, uinfo, uinfo))) -) -#endif -#ifndef OVERRIDE_32_chown -SC_LTTNG_TRACEPOINT_EVENT(chown, - TP_PROTO(sc_exit(long ret,) const char * filename, uid_t user, gid_t group), - TP_ARGS(sc_exit(ret,) filename, user, group), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(uid_t, user, user)) sc_in(ctf_integer(gid_t, group, group))) -) -#endif -#ifndef OVERRIDE_32_mincore -SC_LTTNG_TRACEPOINT_EVENT(mincore, - TP_PROTO(sc_exit(long ret,) unsigned long start, size_t len, unsigned char * vec), - TP_ARGS(sc_exit(ret,) start, len, vec), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, start, start)) sc_in(ctf_integer(size_t, len, len)) sc_out(ctf_integer(unsigned char *, vec, vec))) -) -#endif -#ifndef OVERRIDE_32_getdents64 -SC_LTTNG_TRACEPOINT_EVENT(getdents64, - TP_PROTO(sc_exit(long ret,) unsigned int fd, struct linux_dirent64 * dirent, unsigned int count), - TP_ARGS(sc_exit(ret,) fd, dirent, count), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_out(ctf_integer(struct linux_dirent64 *, dirent, dirent)) sc_in(ctf_integer(unsigned int, count, count))) -) -#endif -#ifndef OVERRIDE_32_listxattr -SC_LTTNG_TRACEPOINT_EVENT(listxattr, - TP_PROTO(sc_exit(long ret,) const char * pathname, char * list, size_t size), - TP_ARGS(sc_exit(ret,) pathname, list, size), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname)) sc_out(ctf_integer(char *, list, list)) sc_in(ctf_integer(size_t, size, size))) -) -#endif -#ifndef OVERRIDE_32_llistxattr -SC_LTTNG_TRACEPOINT_EVENT(llistxattr, - TP_PROTO(sc_exit(long ret,) const char * pathname, char * list, size_t size), - TP_ARGS(sc_exit(ret,) pathname, list, size), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname)) sc_out(ctf_integer(char *, list, list)) sc_in(ctf_integer(size_t, size, size))) -) -#endif -#ifndef OVERRIDE_32_flistxattr -SC_LTTNG_TRACEPOINT_EVENT(flistxattr, - TP_PROTO(sc_exit(long ret,) int fd, char * list, size_t size), - TP_ARGS(sc_exit(ret,) fd, list, size), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_out(ctf_integer(char *, list, list)) sc_in(ctf_integer(size_t, size, size))) -) -#endif -#ifndef OVERRIDE_32_io_submit -SC_LTTNG_TRACEPOINT_EVENT(io_submit, - TP_PROTO(sc_exit(long ret,) aio_context_t ctx_id, long nr, struct iocb * * iocbpp), - TP_ARGS(sc_exit(ret,) ctx_id, nr, iocbpp), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(aio_context_t, ctx_id, ctx_id)) sc_in(ctf_integer(long, nr, nr)) sc_in(ctf_integer(struct iocb * *, iocbpp, iocbpp))) -) -#endif -#ifndef OVERRIDE_32_io_cancel -SC_LTTNG_TRACEPOINT_EVENT(io_cancel, - TP_PROTO(sc_exit(long ret,) aio_context_t ctx_id, struct iocb * iocb, struct io_event * result), - TP_ARGS(sc_exit(ret,) ctx_id, iocb, result), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(aio_context_t, ctx_id, ctx_id)) sc_in(ctf_integer(struct iocb *, iocb, iocb)) sc_out(ctf_integer(struct io_event *, result, result))) -) -#endif -#ifndef OVERRIDE_32_statfs64 -SC_LTTNG_TRACEPOINT_EVENT(statfs64, - TP_PROTO(sc_exit(long ret,) const char * pathname, size_t sz, struct statfs64 * buf), - TP_ARGS(sc_exit(ret,) pathname, sz, buf), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_user_string(pathname, pathname)) sc_inout(ctf_integer(size_t, sz, sz)) sc_inout(ctf_integer(struct statfs64 *, buf, buf))) -) -#endif -#ifndef OVERRIDE_32_fstatfs64 -SC_LTTNG_TRACEPOINT_EVENT(fstatfs64, - TP_PROTO(sc_exit(long ret,) unsigned int fd, size_t sz, struct statfs64 * buf), - TP_ARGS(sc_exit(ret,) fd, sz, buf), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned int, fd, fd)) sc_inout(ctf_integer(size_t, sz, sz)) sc_inout(ctf_integer(struct statfs64 *, buf, buf))) -) -#endif -#ifndef OVERRIDE_32_timer_create -SC_LTTNG_TRACEPOINT_EVENT(timer_create, - TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, struct sigevent * timer_event_spec, timer_t * created_timer_id), - TP_ARGS(sc_exit(ret,) which_clock, timer_event_spec, created_timer_id), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(const clockid_t, which_clock, which_clock)) sc_in(ctf_integer(struct sigevent *, timer_event_spec, timer_event_spec)) sc_out(ctf_integer(timer_t *, created_timer_id, created_timer_id))) -) -#endif -#ifndef OVERRIDE_32_inotify_add_watch -SC_LTTNG_TRACEPOINT_EVENT(inotify_add_watch, - TP_PROTO(sc_exit(long ret,) int fd, const char * pathname, u32 mask), - TP_ARGS(sc_exit(ret,) fd, pathname, mask), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_user_string(pathname, pathname)) sc_in(ctf_integer(u32, mask, mask))) -) -#endif -#ifndef OVERRIDE_32_mkdirat -SC_LTTNG_TRACEPOINT_EVENT(mkdirat, - TP_PROTO(sc_exit(long ret,) int dfd, const char * pathname, umode_t mode), - TP_ARGS(sc_exit(ret,) dfd, pathname, mode), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, dfd, dfd)) sc_in(ctf_user_string(pathname, pathname)) sc_in(ctf_integer(umode_t, mode, mode))) -) -#endif -#ifndef OVERRIDE_32_futimesat -SC_LTTNG_TRACEPOINT_EVENT(futimesat, - TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, struct timeval * utimes), - TP_ARGS(sc_exit(ret,) dfd, filename, utimes), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, dfd, dfd)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(struct timeval *, utimes, utimes))) -) -#endif -#ifndef OVERRIDE_32_unlinkat -SC_LTTNG_TRACEPOINT_EVENT(unlinkat, - TP_PROTO(sc_exit(long ret,) int dfd, const char * pathname, int flag), - TP_ARGS(sc_exit(ret,) dfd, pathname, flag), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, dfd, dfd)) sc_in(ctf_user_string(pathname, pathname)) sc_in(ctf_integer(int, flag, flag))) -) -#endif -#ifndef OVERRIDE_32_symlinkat -SC_LTTNG_TRACEPOINT_EVENT(symlinkat, - TP_PROTO(sc_exit(long ret,) const char * oldname, int newdfd, const char * newname), - TP_ARGS(sc_exit(ret,) oldname, newdfd, newname), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(oldname, oldname)) sc_in(ctf_integer(int, newdfd, newdfd)) sc_in(ctf_user_string(newname, newname))) -) -#endif -#ifndef OVERRIDE_32_fchmodat -SC_LTTNG_TRACEPOINT_EVENT(fchmodat, - TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, umode_t mode), - TP_ARGS(sc_exit(ret,) dfd, filename, mode), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, dfd, dfd)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(umode_t, mode, mode))) -) -#endif -#ifndef OVERRIDE_32_faccessat -SC_LTTNG_TRACEPOINT_EVENT(faccessat, - TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, int mode), - TP_ARGS(sc_exit(ret,) dfd, filename, mode), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, dfd, dfd)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(int, mode, mode))) -) -#endif -#ifndef OVERRIDE_32_get_robust_list -SC_LTTNG_TRACEPOINT_EVENT(get_robust_list, - TP_PROTO(sc_exit(long ret,) int pid, struct robust_list_head * * head_ptr, size_t * len_ptr), - TP_ARGS(sc_exit(ret,) pid, head_ptr, len_ptr), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, pid, pid)) sc_out(ctf_integer(struct robust_list_head * *, head_ptr, head_ptr)) sc_out(ctf_integer(size_t *, len_ptr, len_ptr))) -) -#endif -#ifndef OVERRIDE_32_getcpu -SC_LTTNG_TRACEPOINT_EVENT(getcpu, - TP_PROTO(sc_exit(long ret,) unsigned * cpup, unsigned * nodep, struct getcpu_cache * unused), - TP_ARGS(sc_exit(ret,) cpup, nodep, unused), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(unsigned *, cpup, cpup)) sc_out(ctf_integer(unsigned *, nodep, nodep)) sc_inout(ctf_integer(struct getcpu_cache *, unused, unused))) -) -#endif -#ifndef OVERRIDE_32_signalfd -SC_LTTNG_TRACEPOINT_EVENT(signalfd, - TP_PROTO(sc_exit(long ret,) int ufd, sigset_t * user_mask, size_t sizemask), - TP_ARGS(sc_exit(ret,) ufd, user_mask, sizemask), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, ufd, ufd)) sc_in(ctf_integer(sigset_t *, user_mask, user_mask)) sc_in(ctf_integer(size_t, sizemask, sizemask))) -) -#endif -#ifndef OVERRIDE_32_open_by_handle_at -SC_LTTNG_TRACEPOINT_EVENT(open_by_handle_at, - TP_PROTO(sc_exit(long ret,) int mountdirfd, struct file_handle * handle, int flags), - TP_ARGS(sc_exit(ret,) mountdirfd, handle, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, mountdirfd, mountdirfd)) sc_in(ctf_integer(struct file_handle *, handle, handle)) sc_in(ctf_integer(int, flags, flags))) -) -#endif -#ifndef OVERRIDE_32_reboot -SC_LTTNG_TRACEPOINT_EVENT(reboot, - TP_PROTO(sc_exit(long ret,) int magic1, int magic2, unsigned int cmd, void * arg), - TP_ARGS(sc_exit(ret,) magic1, magic2, cmd, arg), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, magic1, magic1)) sc_in(ctf_integer(int, magic2, magic2)) sc_in(ctf_integer(unsigned int, cmd, cmd)) sc_in(ctf_integer(void *, arg, arg))) -) -#endif -#ifndef OVERRIDE_32_wait4 -SC_LTTNG_TRACEPOINT_EVENT(wait4, - TP_PROTO(sc_exit(long ret,) pid_t upid, int * stat_addr, int options, struct rusage * ru), - TP_ARGS(sc_exit(ret,) upid, stat_addr, options, ru), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, upid, upid)) sc_out(ctf_integer(int *, stat_addr, stat_addr)) sc_in(ctf_integer(int, options, options)) sc_out(ctf_integer(struct rusage *, ru, ru))) -) -#endif -#ifndef OVERRIDE_32_send -SC_LTTNG_TRACEPOINT_EVENT(send, - TP_PROTO(sc_exit(long ret,) int fd, void * buff, size_t len, unsigned int flags), - TP_ARGS(sc_exit(ret,) fd, buff, len, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, fd, fd)) sc_inout(ctf_integer(void *, buff, buff)) sc_inout(ctf_integer(size_t, len, len)) sc_inout(ctf_integer(unsigned int, flags, flags))) -) -#endif -#ifndef OVERRIDE_32_socketpair -SC_LTTNG_TRACEPOINT_EVENT(socketpair, - TP_PROTO(sc_exit(long ret,) int family, int type, int protocol, int * usockvec), - TP_ARGS(sc_exit(ret,) family, type, protocol, usockvec), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, family, family)) sc_in(ctf_integer(int, type, type)) sc_in(ctf_integer(int, protocol, protocol)) sc_out(ctf_integer(int *, usockvec, usockvec))) -) -#endif -#ifndef OVERRIDE_32_rt_sigaction -SC_LTTNG_TRACEPOINT_EVENT(rt_sigaction, - TP_PROTO(sc_exit(long ret,) int sig, const struct sigaction * act, struct sigaction * oact, size_t sigsetsize), - TP_ARGS(sc_exit(ret,) sig, act, oact, sigsetsize), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, sig, sig)) sc_in(ctf_integer(const struct sigaction *, act, act)) sc_out(ctf_integer(struct sigaction *, oact, oact)) sc_in(ctf_integer(size_t, sigsetsize, sigsetsize))) -) -#endif -#ifndef OVERRIDE_32_rt_sigprocmask -SC_LTTNG_TRACEPOINT_EVENT(rt_sigprocmask, - TP_PROTO(sc_exit(long ret,) int how, sigset_t * nset, sigset_t * oset, size_t sigsetsize), - TP_ARGS(sc_exit(ret,) how, nset, oset, sigsetsize), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, how, how)) sc_in(ctf_integer(sigset_t *, nset, nset)) sc_out(ctf_integer(sigset_t *, oset, oset)) sc_in(ctf_integer(size_t, sigsetsize, sigsetsize))) -) -#endif -#ifndef OVERRIDE_32_rt_sigtimedwait -SC_LTTNG_TRACEPOINT_EVENT(rt_sigtimedwait, - TP_PROTO(sc_exit(long ret,) const sigset_t * uthese, siginfo_t * uinfo, const struct timespec * uts, size_t sigsetsize), - TP_ARGS(sc_exit(ret,) uthese, uinfo, uts, sigsetsize), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(const sigset_t *, uthese, uthese)) sc_out(ctf_integer(siginfo_t *, uinfo, uinfo)) sc_in(ctf_integer(const struct timespec *, uts, uts)) sc_in(ctf_integer(size_t, sigsetsize, sigsetsize))) -) -#endif -#ifndef OVERRIDE_32_pread64 -SC_LTTNG_TRACEPOINT_EVENT(pread64, - TP_PROTO(sc_exit(long ret,) unsigned int fd, char * buf, size_t count, loff_t pos), - TP_ARGS(sc_exit(ret,) fd, buf, count, pos), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_out(ctf_integer(char *, buf, buf)) sc_in(ctf_integer(size_t, count, count)) sc_in(ctf_integer(loff_t, pos, pos))) -) -#endif -#ifndef OVERRIDE_32_pwrite64 -SC_LTTNG_TRACEPOINT_EVENT(pwrite64, - TP_PROTO(sc_exit(long ret,) unsigned int fd, const char * buf, size_t count, loff_t pos), - TP_ARGS(sc_exit(ret,) fd, buf, count, pos), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(const char *, buf, buf)) sc_in(ctf_integer(size_t, count, count)) sc_in(ctf_integer(loff_t, pos, pos))) -) -#endif -#ifndef OVERRIDE_32_sendfile -SC_LTTNG_TRACEPOINT_EVENT(sendfile, - TP_PROTO(sc_exit(long ret,) int out_fd, int in_fd, off_t * offset, size_t count), - TP_ARGS(sc_exit(ret,) out_fd, in_fd, offset, count), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, out_fd, out_fd)) sc_inout(ctf_integer(int, in_fd, in_fd)) sc_inout(ctf_integer(off_t *, offset, offset)) sc_inout(ctf_integer(size_t, count, count))) -) -#endif -#ifndef OVERRIDE_32_getxattr -SC_LTTNG_TRACEPOINT_EVENT(getxattr, - TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name, void * value, size_t size), - TP_ARGS(sc_exit(ret,) pathname, name, value, size), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname)) sc_in(ctf_user_string(name, name)) sc_out(ctf_integer(void *, value, value)) sc_in(ctf_integer(size_t, size, size))) -) -#endif -#ifndef OVERRIDE_32_lgetxattr -SC_LTTNG_TRACEPOINT_EVENT(lgetxattr, - TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name, void * value, size_t size), - TP_ARGS(sc_exit(ret,) pathname, name, value, size), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname)) sc_in(ctf_user_string(name, name)) sc_out(ctf_integer(void *, value, value)) sc_in(ctf_integer(size_t, size, size))) -) -#endif -#ifndef OVERRIDE_32_fgetxattr -SC_LTTNG_TRACEPOINT_EVENT(fgetxattr, - TP_PROTO(sc_exit(long ret,) int fd, const char * name, void * value, size_t size), - TP_ARGS(sc_exit(ret,) fd, name, value, size), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_user_string(name, name)) sc_out(ctf_integer(void *, value, value)) sc_in(ctf_integer(size_t, size, size))) -) -#endif -#ifndef OVERRIDE_32_sendfile64 -SC_LTTNG_TRACEPOINT_EVENT(sendfile64, - TP_PROTO(sc_exit(long ret,) int out_fd, int in_fd, loff_t * offset, size_t count), - TP_ARGS(sc_exit(ret,) out_fd, in_fd, offset, count), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, out_fd, out_fd)) sc_in(ctf_integer(int, in_fd, in_fd)) sc_inout(ctf_integer(loff_t *, offset, offset)) sc_in(ctf_integer(size_t, count, count))) -) -#endif -#ifndef OVERRIDE_32_epoll_ctl -SC_LTTNG_TRACEPOINT_EVENT(epoll_ctl, - TP_PROTO(sc_exit(long ret,) int epfd, int op, int fd, struct epoll_event * event), - TP_ARGS(sc_exit(ret,) epfd, op, fd, event), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, epfd, epfd)) sc_in(ctf_integer(int, op, op)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(struct epoll_event *, event, event))) -) -#endif -#ifndef OVERRIDE_32_epoll_wait -SC_LTTNG_TRACEPOINT_EVENT(epoll_wait, - TP_PROTO(sc_exit(long ret,) int epfd, struct epoll_event * events, int maxevents, int timeout), - TP_ARGS(sc_exit(ret,) epfd, events, maxevents, timeout), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, epfd, epfd)) sc_out(ctf_integer(struct epoll_event *, events, events)) sc_in(ctf_integer(int, maxevents, maxevents)) sc_in(ctf_integer(int, timeout, timeout))) -) -#endif -#ifndef OVERRIDE_32_timer_settime -SC_LTTNG_TRACEPOINT_EVENT(timer_settime, - TP_PROTO(sc_exit(long ret,) timer_t timer_id, int flags, const struct itimerspec * new_setting, struct itimerspec * old_setting), - TP_ARGS(sc_exit(ret,) timer_id, flags, new_setting, old_setting), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(timer_t, timer_id, timer_id)) sc_in(ctf_integer(int, flags, flags)) sc_in(ctf_integer(const struct itimerspec *, new_setting, new_setting)) sc_out(ctf_integer(struct itimerspec *, old_setting, old_setting))) -) -#endif -#ifndef OVERRIDE_32_clock_nanosleep -SC_LTTNG_TRACEPOINT_EVENT(clock_nanosleep, - TP_PROTO(sc_exit(long ret,) const clockid_t which_clock, int flags, const struct timespec * rqtp, struct timespec * rmtp), - TP_ARGS(sc_exit(ret,) which_clock, flags, rqtp, rmtp), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(const clockid_t, which_clock, which_clock)) sc_in(ctf_integer(int, flags, flags)) sc_in(ctf_integer(const struct timespec *, rqtp, rqtp)) sc_out(ctf_integer(struct timespec *, rmtp, rmtp))) -) -#endif -#ifndef OVERRIDE_32_openat -SC_LTTNG_TRACEPOINT_EVENT(openat, - TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, int flags, umode_t mode), - TP_ARGS(sc_exit(ret,) dfd, filename, flags, mode), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, dfd, dfd)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(int, flags, flags)) sc_in(ctf_integer(umode_t, mode, mode))) -) -#endif -#ifndef OVERRIDE_32_mknodat -SC_LTTNG_TRACEPOINT_EVENT(mknodat, - TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, umode_t mode, unsigned dev), - TP_ARGS(sc_exit(ret,) dfd, filename, mode, dev), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, dfd, dfd)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(umode_t, mode, mode)) sc_in(ctf_integer(unsigned, dev, dev))) -) -#endif -#ifndef OVERRIDE_32_fstatat64 -SC_LTTNG_TRACEPOINT_EVENT(fstatat64, - TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, struct stat64 * statbuf, int flag), - TP_ARGS(sc_exit(ret,) dfd, filename, statbuf, flag), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(int, dfd, dfd)) sc_inout(ctf_user_string(filename, filename)) sc_inout(ctf_integer(struct stat64 *, statbuf, statbuf)) sc_inout(ctf_integer(int, flag, flag))) -) -#endif -#ifndef OVERRIDE_32_renameat -SC_LTTNG_TRACEPOINT_EVENT(renameat, - TP_PROTO(sc_exit(long ret,) int olddfd, const char * oldname, int newdfd, const char * newname), - TP_ARGS(sc_exit(ret,) olddfd, oldname, newdfd, newname), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, olddfd, olddfd)) sc_in(ctf_user_string(oldname, oldname)) sc_in(ctf_integer(int, newdfd, newdfd)) sc_in(ctf_user_string(newname, newname))) -) -#endif -#ifndef OVERRIDE_32_readlinkat -SC_LTTNG_TRACEPOINT_EVENT(readlinkat, - TP_PROTO(sc_exit(long ret,) int dfd, const char * pathname, char * buf, int bufsiz), - TP_ARGS(sc_exit(ret,) dfd, pathname, buf, bufsiz), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, dfd, dfd)) sc_in(ctf_user_string(pathname, pathname)) sc_out(ctf_integer(char *, buf, buf)) sc_in(ctf_integer(int, bufsiz, bufsiz))) -) -#endif -#ifndef OVERRIDE_32_vmsplice -SC_LTTNG_TRACEPOINT_EVENT(vmsplice, - TP_PROTO(sc_exit(long ret,) int fd, const struct iovec * iov, unsigned long nr_segs, unsigned int flags), - TP_ARGS(sc_exit(ret,) fd, iov, nr_segs, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(const struct iovec *, iov, iov)) sc_in(ctf_integer(unsigned long, nr_segs, nr_segs)) sc_in(ctf_integer(unsigned int, flags, flags))) -) -#endif -#ifndef OVERRIDE_32_utimensat -SC_LTTNG_TRACEPOINT_EVENT(utimensat, - TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, struct timespec * utimes, int flags), - TP_ARGS(sc_exit(ret,) dfd, filename, utimes, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, dfd, dfd)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(struct timespec *, utimes, utimes)) sc_in(ctf_integer(int, flags, flags))) -) -#endif -#ifndef OVERRIDE_32_timerfd_settime -SC_LTTNG_TRACEPOINT_EVENT(timerfd_settime, - TP_PROTO(sc_exit(long ret,) int ufd, int flags, const struct itimerspec * utmr, struct itimerspec * otmr), - TP_ARGS(sc_exit(ret,) ufd, flags, utmr, otmr), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, ufd, ufd)) sc_in(ctf_integer(int, flags, flags)) sc_in(ctf_integer(const struct itimerspec *, utmr, utmr)) sc_out(ctf_integer(struct itimerspec *, otmr, otmr))) -) -#endif -#ifndef OVERRIDE_32_signalfd4 -SC_LTTNG_TRACEPOINT_EVENT(signalfd4, - TP_PROTO(sc_exit(long ret,) int ufd, sigset_t * user_mask, size_t sizemask, int flags), - TP_ARGS(sc_exit(ret,) ufd, user_mask, sizemask, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, ufd, ufd)) sc_in(ctf_integer(sigset_t *, user_mask, user_mask)) sc_in(ctf_integer(size_t, sizemask, sizemask)) sc_in(ctf_integer(int, flags, flags))) -) -#endif -#ifndef OVERRIDE_32_rt_tgsigqueueinfo -SC_LTTNG_TRACEPOINT_EVENT(rt_tgsigqueueinfo, - TP_PROTO(sc_exit(long ret,) pid_t tgid, pid_t pid, int sig, siginfo_t * uinfo), - TP_ARGS(sc_exit(ret,) tgid, pid, sig, uinfo), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, tgid, tgid)) sc_in(ctf_integer(pid_t, pid, pid)) sc_in(ctf_integer(int, sig, sig)) sc_in(ctf_integer(siginfo_t *, uinfo, uinfo))) -) -#endif -#ifndef OVERRIDE_32_accept4 -SC_LTTNG_TRACEPOINT_EVENT(accept4, - TP_PROTO(sc_exit(long ret,) int fd, struct sockaddr * upeer_sockaddr, int * upeer_addrlen, int flags), - TP_ARGS(sc_exit(ret,) fd, upeer_sockaddr, upeer_addrlen, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_out(ctf_integer(struct sockaddr *, upeer_sockaddr, upeer_sockaddr)) sc_inout(ctf_integer(int *, upeer_addrlen, upeer_addrlen)) sc_in(ctf_integer(int, flags, flags))) -) -#endif -#ifndef OVERRIDE_32_prlimit64 -SC_LTTNG_TRACEPOINT_EVENT(prlimit64, - TP_PROTO(sc_exit(long ret,) pid_t pid, unsigned int resource, const struct rlimit64 * new_rlim, struct rlimit64 * old_rlim), - TP_ARGS(sc_exit(ret,) pid, resource, new_rlim, old_rlim), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(pid_t, pid, pid)) sc_in(ctf_integer(unsigned int, resource, resource)) sc_in(ctf_integer(const struct rlimit64 *, new_rlim, new_rlim)) sc_out(ctf_integer(struct rlimit64 *, old_rlim, old_rlim))) -) -#endif -#ifndef OVERRIDE_32_sendmmsg -SC_LTTNG_TRACEPOINT_EVENT(sendmmsg, - TP_PROTO(sc_exit(long ret,) int fd, struct mmsghdr * mmsg, unsigned int vlen, unsigned int flags), - TP_ARGS(sc_exit(ret,) fd, mmsg, vlen, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(struct mmsghdr *, mmsg, mmsg)) sc_in(ctf_integer(unsigned int, vlen, vlen)) sc_in(ctf_integer(unsigned int, flags, flags))) -) -#endif -#ifndef OVERRIDE_32_mount -SC_LTTNG_TRACEPOINT_EVENT(mount, - TP_PROTO(sc_exit(long ret,) char * dev_name, char * dir_name, char * type, unsigned long flags, void * data), - TP_ARGS(sc_exit(ret,) dev_name, dir_name, type, flags, data), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(dev_name, dev_name)) sc_in(ctf_user_string(dir_name, dir_name)) sc_in(ctf_user_string(type, type)) sc_in(ctf_integer(unsigned long, flags, flags)) sc_in(ctf_integer(void *, data, data))) -) -#endif -#ifndef OVERRIDE_32_llseek -SC_LTTNG_TRACEPOINT_EVENT(llseek, - TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned long offset_high, unsigned long offset_low, loff_t * result, unsigned int whence), - TP_ARGS(sc_exit(ret,) fd, offset_high, offset_low, result, whence), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned int, fd, fd)) sc_inout(ctf_integer(unsigned long, offset_high, offset_high)) sc_inout(ctf_integer(unsigned long, offset_low, offset_low)) sc_inout(ctf_integer(loff_t *, result, result)) sc_inout(ctf_integer(unsigned int, whence, whence))) -) -#endif -#ifndef OVERRIDE_32_select -SC_LTTNG_TRACEPOINT_EVENT(select, - TP_PROTO(sc_exit(long ret,) int n, fd_set * inp, fd_set * outp, fd_set * exp, struct timeval * tvp), - TP_ARGS(sc_exit(ret,) n, inp, outp, exp, tvp), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, n, n)) sc_inout(ctf_integer(fd_set *, inp, inp)) sc_inout(ctf_integer(fd_set *, outp, outp)) sc_inout(ctf_integer(fd_set *, exp, exp)) sc_inout(ctf_integer(struct timeval *, tvp, tvp))) -) -#endif -#ifndef OVERRIDE_32_getsockopt -SC_LTTNG_TRACEPOINT_EVENT(getsockopt, - TP_PROTO(sc_exit(long ret,) int fd, int level, int optname, char * optval, int * optlen), - TP_ARGS(sc_exit(ret,) fd, level, optname, optval, optlen), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(int, level, level)) sc_in(ctf_integer(int, optname, optname)) sc_out(ctf_integer(char *, optval, optval)) sc_inout(ctf_integer(int *, optlen, optlen))) -) -#endif -#ifndef OVERRIDE_32_setsockopt -SC_LTTNG_TRACEPOINT_EVENT(setsockopt, - TP_PROTO(sc_exit(long ret,) int fd, int level, int optname, char * optval, int optlen), - TP_ARGS(sc_exit(ret,) fd, level, optname, optval, optlen), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(int, level, level)) sc_in(ctf_integer(int, optname, optname)) sc_in(ctf_integer(char *, optval, optval)) sc_in(ctf_integer(int, optlen, optlen))) -) -#endif -#ifndef OVERRIDE_32_setxattr -SC_LTTNG_TRACEPOINT_EVENT(setxattr, - TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name, const void * value, size_t size, int flags), - TP_ARGS(sc_exit(ret,) pathname, name, value, size, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname)) sc_in(ctf_user_string(name, name)) sc_in(ctf_integer(const void *, value, value)) sc_in(ctf_integer(size_t, size, size)) sc_in(ctf_integer(int, flags, flags))) -) -#endif -#ifndef OVERRIDE_32_lsetxattr -SC_LTTNG_TRACEPOINT_EVENT(lsetxattr, - TP_PROTO(sc_exit(long ret,) const char * pathname, const char * name, const void * value, size_t size, int flags), - TP_ARGS(sc_exit(ret,) pathname, name, value, size, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname)) sc_in(ctf_user_string(name, name)) sc_in(ctf_integer(const void *, value, value)) sc_in(ctf_integer(size_t, size, size)) sc_in(ctf_integer(int, flags, flags))) -) -#endif -#ifndef OVERRIDE_32_fsetxattr -SC_LTTNG_TRACEPOINT_EVENT(fsetxattr, - TP_PROTO(sc_exit(long ret,) int fd, const char * name, const void * value, size_t size, int flags), - TP_ARGS(sc_exit(ret,) fd, name, value, size, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_user_string(name, name)) sc_in(ctf_integer(const void *, value, value)) sc_in(ctf_integer(size_t, size, size)) sc_in(ctf_integer(int, flags, flags))) -) -#endif -#ifndef OVERRIDE_32_io_getevents -SC_LTTNG_TRACEPOINT_EVENT(io_getevents, - TP_PROTO(sc_exit(long ret,) aio_context_t ctx_id, long min_nr, long nr, struct io_event * events, struct timespec * timeout), - TP_ARGS(sc_exit(ret,) ctx_id, min_nr, nr, events, timeout), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(aio_context_t, ctx_id, ctx_id)) sc_in(ctf_integer(long, min_nr, min_nr)) sc_in(ctf_integer(long, nr, nr)) sc_out(ctf_integer(struct io_event *, events, events)) sc_inout(ctf_integer(struct timespec *, timeout, timeout))) -) -#endif -#ifndef OVERRIDE_32_waitid -SC_LTTNG_TRACEPOINT_EVENT(waitid, - TP_PROTO(sc_exit(long ret,) int which, pid_t upid, struct siginfo * infop, int options, struct rusage * ru), - TP_ARGS(sc_exit(ret,) which, upid, infop, options, ru), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, which, which)) sc_in(ctf_integer(pid_t, upid, upid)) sc_out(ctf_integer(struct siginfo *, infop, infop)) sc_in(ctf_integer(int, options, options)) sc_out(ctf_integer(struct rusage *, ru, ru))) -) -#endif -#ifndef OVERRIDE_32_fchownat -SC_LTTNG_TRACEPOINT_EVENT(fchownat, - TP_PROTO(sc_exit(long ret,) int dfd, const char * filename, uid_t user, gid_t group, int flag), - TP_ARGS(sc_exit(ret,) dfd, filename, user, group, flag), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, dfd, dfd)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(uid_t, user, user)) sc_in(ctf_integer(gid_t, group, group)) sc_in(ctf_integer(int, flag, flag))) -) -#endif -#ifndef OVERRIDE_32_linkat -SC_LTTNG_TRACEPOINT_EVENT(linkat, - TP_PROTO(sc_exit(long ret,) int olddfd, const char * oldname, int newdfd, const char * newname, int flags), - TP_ARGS(sc_exit(ret,) olddfd, oldname, newdfd, newname, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, olddfd, olddfd)) sc_in(ctf_user_string(oldname, oldname)) sc_in(ctf_integer(int, newdfd, newdfd)) sc_in(ctf_user_string(newname, newname)) sc_in(ctf_integer(int, flags, flags))) -) -#endif -#ifndef OVERRIDE_32_ppoll -SC_LTTNG_TRACEPOINT_EVENT(ppoll, - TP_PROTO(sc_exit(long ret,) struct pollfd * ufds, unsigned int nfds, struct timespec * tsp, const sigset_t * sigmask, size_t sigsetsize), - TP_ARGS(sc_exit(ret,) ufds, nfds, tsp, sigmask, sigsetsize), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(struct pollfd *, ufds, ufds)) sc_in(ctf_integer(unsigned int, nfds, nfds)) sc_in(ctf_integer(struct timespec *, tsp, tsp)) sc_in(ctf_integer(const sigset_t *, sigmask, sigmask)) sc_in(ctf_integer(size_t, sigsetsize, sigsetsize))) -) -#endif -#ifndef OVERRIDE_32_preadv -SC_LTTNG_TRACEPOINT_EVENT(preadv, - TP_PROTO(sc_exit(long ret,) unsigned long fd, const struct iovec * vec, unsigned long vlen, unsigned long pos_l, unsigned long pos_h), - TP_ARGS(sc_exit(ret,) fd, vec, vlen, pos_l, pos_h), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, fd, fd)) sc_out(ctf_integer(const struct iovec *, vec, vec)) sc_in(ctf_integer(unsigned long, vlen, vlen)) sc_in(ctf_integer(unsigned long, pos_l, pos_l)) sc_in(ctf_integer(unsigned long, pos_h, pos_h))) -) -#endif -#ifndef OVERRIDE_32_pwritev -SC_LTTNG_TRACEPOINT_EVENT(pwritev, - TP_PROTO(sc_exit(long ret,) unsigned long fd, const struct iovec * vec, unsigned long vlen, unsigned long pos_l, unsigned long pos_h), - TP_ARGS(sc_exit(ret,) fd, vec, vlen, pos_l, pos_h), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned long, fd, fd)) sc_in(ctf_integer(const struct iovec *, vec, vec)) sc_in(ctf_integer(unsigned long, vlen, vlen)) sc_in(ctf_integer(unsigned long, pos_l, pos_l)) sc_in(ctf_integer(unsigned long, pos_h, pos_h))) -) -#endif -#ifndef OVERRIDE_32_perf_event_open -SC_LTTNG_TRACEPOINT_EVENT(perf_event_open, - TP_PROTO(sc_exit(long ret,) struct perf_event_attr * attr_uptr, pid_t pid, int cpu, int group_fd, unsigned long flags), - TP_ARGS(sc_exit(ret,) attr_uptr, pid, cpu, group_fd, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(struct perf_event_attr *, attr_uptr, attr_uptr)) sc_in(ctf_integer(pid_t, pid, pid)) sc_in(ctf_integer(int, cpu, cpu)) sc_in(ctf_integer(int, group_fd, group_fd)) sc_in(ctf_integer(unsigned long, flags, flags))) -) -#endif -#ifndef OVERRIDE_32_recvmmsg -SC_LTTNG_TRACEPOINT_EVENT(recvmmsg, - TP_PROTO(sc_exit(long ret,) int fd, struct mmsghdr * mmsg, unsigned int vlen, unsigned int flags, struct timespec * timeout), - TP_ARGS(sc_exit(ret,) fd, mmsg, vlen, flags, timeout), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_out(ctf_integer(struct mmsghdr *, mmsg, mmsg)) sc_in(ctf_integer(unsigned int, vlen, vlen)) sc_in(ctf_integer(unsigned int, flags, flags)) sc_inout(ctf_integer(struct timespec *, timeout, timeout))) -) -#endif -#ifndef OVERRIDE_32_name_to_handle_at -SC_LTTNG_TRACEPOINT_EVENT(name_to_handle_at, - TP_PROTO(sc_exit(long ret,) int dfd, const char * name, struct file_handle * handle, int * mnt_id, int flag), - TP_ARGS(sc_exit(ret,) dfd, name, handle, mnt_id, flag), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, dfd, dfd)) sc_in(ctf_user_string(name, name)) sc_inout(ctf_integer(struct file_handle *, handle, handle)) sc_out(ctf_integer(int *, mnt_id, mnt_id)) sc_in(ctf_integer(int, flag, flag))) -) -#endif -#ifndef OVERRIDE_32_ipc -SC_LTTNG_TRACEPOINT_EVENT(ipc, - TP_PROTO(sc_exit(long ret,) unsigned int call, int first, unsigned long second, unsigned long third, void * ptr, long fifth), - TP_ARGS(sc_exit(ret,) call, first, second, third, ptr, fifth), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned int, call, call)) sc_inout(ctf_integer(int, first, first)) sc_inout(ctf_integer(unsigned long, second, second)) sc_inout(ctf_integer(unsigned long, third, third)) sc_inout(ctf_integer(void *, ptr, ptr)) sc_inout(ctf_integer(long, fifth, fifth))) -) -#endif -#ifndef OVERRIDE_32_recvfrom -SC_LTTNG_TRACEPOINT_EVENT(recvfrom, - TP_PROTO(sc_exit(long ret,) int fd, void * ubuf, size_t size, unsigned int flags, struct sockaddr * addr, int * addr_len), - TP_ARGS(sc_exit(ret,) fd, ubuf, size, flags, addr, addr_len), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_out(ctf_integer(void *, ubuf, ubuf)) sc_in(ctf_integer(size_t, size, size)) sc_in(ctf_integer(unsigned int, flags, flags)) sc_out(ctf_integer(struct sockaddr *, addr, addr)) sc_inout(ctf_integer(int *, addr_len, addr_len))) -) -#endif -#ifndef OVERRIDE_32_sendto -SC_LTTNG_TRACEPOINT_EVENT(sendto, - TP_PROTO(sc_exit(long ret,) int fd, void * buff, size_t len, unsigned int flags, struct sockaddr * addr, int addr_len), - TP_ARGS(sc_exit(ret,) fd, buff, len, flags, addr, addr_len), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd, fd)) sc_in(ctf_integer(void *, buff, buff)) sc_in(ctf_integer(size_t, len, len)) sc_in(ctf_integer(unsigned int, flags, flags)) sc_in(ctf_integer(struct sockaddr *, addr, addr)) sc_in(ctf_integer(int, addr_len, addr_len))) -) -#endif -#ifndef OVERRIDE_32_futex -SC_LTTNG_TRACEPOINT_EVENT(futex, - TP_PROTO(sc_exit(long ret,) u32 * uaddr, int op, u32 val, struct timespec * utime, u32 * uaddr2, u32 val3), - TP_ARGS(sc_exit(ret,) uaddr, op, val, utime, uaddr2, val3), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(u32 *, uaddr, uaddr)) sc_in(ctf_integer(int, op, op)) sc_in(ctf_integer(u32, val, val)) sc_in(ctf_integer(struct timespec *, utime, utime)) sc_inout(ctf_integer(u32 *, uaddr2, uaddr2)) sc_in(ctf_integer(u32, val3, val3))) -) -#endif -#ifndef OVERRIDE_32_pselect6 -SC_LTTNG_TRACEPOINT_EVENT(pselect6, - TP_PROTO(sc_exit(long ret,) int n, fd_set * inp, fd_set * outp, fd_set * exp, struct timespec * tsp, void * sig), - TP_ARGS(sc_exit(ret,) n, inp, outp, exp, tsp, sig), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, n, n)) sc_inout(ctf_integer(fd_set *, inp, inp)) sc_inout(ctf_integer(fd_set *, outp, outp)) sc_inout(ctf_integer(fd_set *, exp, exp)) sc_inout(ctf_integer(struct timespec *, tsp, tsp)) sc_in(ctf_integer(void *, sig, sig))) -) -#endif -#ifndef OVERRIDE_32_splice -SC_LTTNG_TRACEPOINT_EVENT(splice, - TP_PROTO(sc_exit(long ret,) int fd_in, loff_t * off_in, int fd_out, loff_t * off_out, size_t len, unsigned int flags), - TP_ARGS(sc_exit(ret,) fd_in, off_in, fd_out, off_out, len, flags), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, fd_in, fd_in)) sc_in(ctf_integer(loff_t *, off_in, off_in)) sc_in(ctf_integer(int, fd_out, fd_out)) sc_in(ctf_integer(loff_t *, off_out, off_out)) sc_in(ctf_integer(size_t, len, len)) sc_in(ctf_integer(unsigned int, flags, flags))) -) -#endif -#ifndef OVERRIDE_32_epoll_pwait -SC_LTTNG_TRACEPOINT_EVENT(epoll_pwait, - TP_PROTO(sc_exit(long ret,) int epfd, struct epoll_event * events, int maxevents, int timeout, const sigset_t * sigmask, size_t sigsetsize), - TP_ARGS(sc_exit(ret,) epfd, events, maxevents, timeout, sigmask, sigsetsize), - TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, epfd, epfd)) sc_out(ctf_integer(struct epoll_event *, events, events)) sc_in(ctf_integer(int, maxevents, maxevents)) sc_in(ctf_integer(int, timeout, timeout)) sc_in(ctf_integer(const sigset_t *, sigmask, sigmask)) sc_in(ctf_integer(size_t, sigsetsize, sigsetsize))) -) -#endif - -#endif /* _TRACE_SYSCALLS_POINTERS_H */ - -/* This part must be outside protection */ -#include - -#else /* CREATE_SYSCALL_TABLE */ - -#include "mips-32-syscalls-3.13.0_pointers_override.h" -#include "syscalls_pointers_override.h" - -#ifndef OVERRIDE_TABLE_32_read -TRACE_SYSCALL_TABLE(read, read, 4003, 3) -#endif -#ifndef OVERRIDE_TABLE_32_write -TRACE_SYSCALL_TABLE(write, write, 4004, 3) -#endif -#ifndef OVERRIDE_TABLE_32_open -TRACE_SYSCALL_TABLE(open, open, 4005, 3) -#endif -#ifndef OVERRIDE_TABLE_32_waitpid -TRACE_SYSCALL_TABLE(waitpid, waitpid, 4007, 3) -#endif -#ifndef OVERRIDE_TABLE_32_creat -TRACE_SYSCALL_TABLE(creat, creat, 4008, 2) -#endif -#ifndef OVERRIDE_TABLE_32_link -TRACE_SYSCALL_TABLE(link, link, 4009, 2) -#endif -#ifndef OVERRIDE_TABLE_32_unlink -TRACE_SYSCALL_TABLE(unlink, unlink, 4010, 1) -#endif -#ifndef OVERRIDE_TABLE_32_execve -TRACE_SYSCALL_TABLE(execve, execve, 4011, 3) -#endif -#ifndef OVERRIDE_TABLE_32_chdir -TRACE_SYSCALL_TABLE(chdir, chdir, 4012, 1) -#endif -#ifndef OVERRIDE_TABLE_32_time -TRACE_SYSCALL_TABLE(time, time, 4013, 1) -#endif -#ifndef OVERRIDE_TABLE_32_mknod -TRACE_SYSCALL_TABLE(mknod, mknod, 4014, 3) -#endif -#ifndef OVERRIDE_TABLE_32_chmod -TRACE_SYSCALL_TABLE(chmod, chmod, 4015, 2) -#endif -#ifndef OVERRIDE_TABLE_32_lchown -TRACE_SYSCALL_TABLE(lchown, lchown, 4016, 3) -#endif -#ifndef OVERRIDE_TABLE_32_mount -TRACE_SYSCALL_TABLE(mount, mount, 4021, 5) -#endif -#ifndef OVERRIDE_TABLE_32_oldumount -TRACE_SYSCALL_TABLE(oldumount, oldumount, 4022, 1) -#endif -#ifndef OVERRIDE_TABLE_32_stime -TRACE_SYSCALL_TABLE(stime, stime, 4025, 1) -#endif -#ifndef OVERRIDE_TABLE_32_utime -TRACE_SYSCALL_TABLE(utime, utime, 4030, 2) -#endif -#ifndef OVERRIDE_TABLE_32_access -TRACE_SYSCALL_TABLE(access, access, 4033, 2) -#endif -#ifndef OVERRIDE_TABLE_32_rename -TRACE_SYSCALL_TABLE(rename, rename, 4038, 2) -#endif -#ifndef OVERRIDE_TABLE_32_mkdir -TRACE_SYSCALL_TABLE(mkdir, mkdir, 4039, 2) -#endif -#ifndef OVERRIDE_TABLE_32_rmdir -TRACE_SYSCALL_TABLE(rmdir, rmdir, 4040, 1) -#endif -#ifndef OVERRIDE_TABLE_32_times -TRACE_SYSCALL_TABLE(times, times, 4043, 1) -#endif -#ifndef OVERRIDE_TABLE_32_umount -TRACE_SYSCALL_TABLE(umount, umount, 4052, 2) -#endif -#ifndef OVERRIDE_TABLE_32_olduname -TRACE_SYSCALL_TABLE(olduname, olduname, 4059, 1) -#endif -#ifndef OVERRIDE_TABLE_32_chroot -TRACE_SYSCALL_TABLE(chroot, chroot, 4061, 1) -#endif -#ifndef OVERRIDE_TABLE_32_ustat -TRACE_SYSCALL_TABLE(ustat, ustat, 4062, 2) -#endif -#ifndef OVERRIDE_TABLE_32_sigaction -TRACE_SYSCALL_TABLE(sigaction, sigaction, 4067, 3) -#endif -#ifndef OVERRIDE_TABLE_32_sigsuspend -TRACE_SYSCALL_TABLE(sigsuspend, sigsuspend, 4072, 1) -#endif -#ifndef OVERRIDE_TABLE_32_sigpending -TRACE_SYSCALL_TABLE(sigpending, sigpending, 4073, 1) -#endif -#ifndef OVERRIDE_TABLE_32_sethostname -TRACE_SYSCALL_TABLE(sethostname, sethostname, 4074, 2) -#endif -#ifndef OVERRIDE_TABLE_32_setrlimit -TRACE_SYSCALL_TABLE(setrlimit, setrlimit, 4075, 2) -#endif -#ifndef OVERRIDE_TABLE_32_getrlimit -TRACE_SYSCALL_TABLE(getrlimit, getrlimit, 4076, 2) -#endif -#ifndef OVERRIDE_TABLE_32_getrusage -TRACE_SYSCALL_TABLE(getrusage, getrusage, 4077, 2) -#endif -#ifndef OVERRIDE_TABLE_32_gettimeofday -TRACE_SYSCALL_TABLE(gettimeofday, gettimeofday, 4078, 2) -#endif -#ifndef OVERRIDE_TABLE_32_settimeofday -TRACE_SYSCALL_TABLE(settimeofday, settimeofday, 4079, 2) -#endif -#ifndef OVERRIDE_TABLE_32_getgroups -TRACE_SYSCALL_TABLE(getgroups, getgroups, 4080, 2) -#endif -#ifndef OVERRIDE_TABLE_32_setgroups -TRACE_SYSCALL_TABLE(setgroups, setgroups, 4081, 2) -#endif -#ifndef OVERRIDE_TABLE_32_symlink -TRACE_SYSCALL_TABLE(symlink, symlink, 4083, 2) -#endif -#ifndef OVERRIDE_TABLE_32_readlink -TRACE_SYSCALL_TABLE(readlink, readlink, 4085, 3) -#endif -#ifndef OVERRIDE_TABLE_32_uselib -TRACE_SYSCALL_TABLE(uselib, uselib, 4086, 1) -#endif -#ifndef OVERRIDE_TABLE_32_reboot -TRACE_SYSCALL_TABLE(reboot, reboot, 4088, 4) -#endif -#ifndef OVERRIDE_TABLE_32_old_readdir -TRACE_SYSCALL_TABLE(old_readdir, old_readdir, 4089, 3) -#endif -#ifndef OVERRIDE_TABLE_32_truncate -TRACE_SYSCALL_TABLE(truncate, truncate, 4092, 2) -#endif -#ifndef OVERRIDE_TABLE_32_statfs -TRACE_SYSCALL_TABLE(statfs, statfs, 4099, 2) -#endif -#ifndef OVERRIDE_TABLE_32_fstatfs -TRACE_SYSCALL_TABLE(fstatfs, fstatfs, 4100, 2) -#endif -#ifndef OVERRIDE_TABLE_32_socketcall -TRACE_SYSCALL_TABLE(socketcall, socketcall, 4102, 2) -#endif -#ifndef OVERRIDE_TABLE_32_syslog -TRACE_SYSCALL_TABLE(syslog, syslog, 4103, 3) -#endif -#ifndef OVERRIDE_TABLE_32_setitimer -TRACE_SYSCALL_TABLE(setitimer, setitimer, 4104, 3) -#endif -#ifndef OVERRIDE_TABLE_32_getitimer -TRACE_SYSCALL_TABLE(getitimer, getitimer, 4105, 2) -#endif -#ifndef OVERRIDE_TABLE_32_newstat -TRACE_SYSCALL_TABLE(newstat, newstat, 4106, 2) -#endif -#ifndef OVERRIDE_TABLE_32_newlstat -TRACE_SYSCALL_TABLE(newlstat, newlstat, 4107, 2) -#endif -#ifndef OVERRIDE_TABLE_32_newfstat -TRACE_SYSCALL_TABLE(newfstat, newfstat, 4108, 2) -#endif -#ifndef OVERRIDE_TABLE_32_uname -TRACE_SYSCALL_TABLE(uname, uname, 4109, 1) -#endif -#ifndef OVERRIDE_TABLE_32_wait4 -TRACE_SYSCALL_TABLE(wait4, wait4, 4114, 4) -#endif -#ifndef OVERRIDE_TABLE_32_sysinfo -TRACE_SYSCALL_TABLE(sysinfo, sysinfo, 4116, 1) -#endif -#ifndef OVERRIDE_TABLE_32_ipc -TRACE_SYSCALL_TABLE(ipc, ipc, 4117, 6) -#endif -#ifndef OVERRIDE_TABLE_32_setdomainname -TRACE_SYSCALL_TABLE(setdomainname, setdomainname, 4121, 2) -#endif -#ifndef OVERRIDE_TABLE_32_newuname -TRACE_SYSCALL_TABLE(newuname, newuname, 4122, 1) -#endif -#ifndef OVERRIDE_TABLE_32_adjtimex -TRACE_SYSCALL_TABLE(adjtimex, adjtimex, 4124, 1) -#endif -#ifndef OVERRIDE_TABLE_32_sigprocmask -TRACE_SYSCALL_TABLE(sigprocmask, sigprocmask, 4126, 3) -#endif -#ifndef OVERRIDE_TABLE_32_init_module -TRACE_SYSCALL_TABLE(init_module, init_module, 4128, 3) -#endif -#ifndef OVERRIDE_TABLE_32_delete_module -TRACE_SYSCALL_TABLE(delete_module, delete_module, 4129, 2) -#endif -#ifndef OVERRIDE_TABLE_32_llseek -TRACE_SYSCALL_TABLE(llseek, llseek, 4140, 5) -#endif -#ifndef OVERRIDE_TABLE_32_getdents -TRACE_SYSCALL_TABLE(getdents, getdents, 4141, 3) -#endif -#ifndef OVERRIDE_TABLE_32_select -TRACE_SYSCALL_TABLE(select, select, 4142, 5) -#endif -#ifndef OVERRIDE_TABLE_32_readv -TRACE_SYSCALL_TABLE(readv, readv, 4145, 3) -#endif -#ifndef OVERRIDE_TABLE_32_writev -TRACE_SYSCALL_TABLE(writev, writev, 4146, 3) -#endif -#ifndef OVERRIDE_TABLE_32_cachectl -TRACE_SYSCALL_TABLE(cachectl, cachectl, 4148, 3) -#endif -#ifndef OVERRIDE_TABLE_32_sysctl -TRACE_SYSCALL_TABLE(sysctl, sysctl, 4153, 1) -#endif -#ifndef OVERRIDE_TABLE_32_sched_setparam -TRACE_SYSCALL_TABLE(sched_setparam, sched_setparam, 4158, 2) -#endif -#ifndef OVERRIDE_TABLE_32_sched_getparam -TRACE_SYSCALL_TABLE(sched_getparam, sched_getparam, 4159, 2) -#endif -#ifndef OVERRIDE_TABLE_32_sched_setscheduler -TRACE_SYSCALL_TABLE(sched_setscheduler, sched_setscheduler, 4160, 3) -#endif -#ifndef OVERRIDE_TABLE_32_sched_rr_get_interval -TRACE_SYSCALL_TABLE(sched_rr_get_interval, sched_rr_get_interval, 4165, 2) -#endif -#ifndef OVERRIDE_TABLE_32_nanosleep -TRACE_SYSCALL_TABLE(nanosleep, nanosleep, 4166, 2) -#endif -#ifndef OVERRIDE_TABLE_32_accept -TRACE_SYSCALL_TABLE(accept, accept, 4168, 3) -#endif -#ifndef OVERRIDE_TABLE_32_bind -TRACE_SYSCALL_TABLE(bind, bind, 4169, 3) -#endif -#ifndef OVERRIDE_TABLE_32_connect -TRACE_SYSCALL_TABLE(connect, connect, 4170, 3) -#endif -#ifndef OVERRIDE_TABLE_32_getpeername -TRACE_SYSCALL_TABLE(getpeername, getpeername, 4171, 3) -#endif -#ifndef OVERRIDE_TABLE_32_getsockname -TRACE_SYSCALL_TABLE(getsockname, getsockname, 4172, 3) -#endif -#ifndef OVERRIDE_TABLE_32_getsockopt -TRACE_SYSCALL_TABLE(getsockopt, getsockopt, 4173, 5) -#endif -#ifndef OVERRIDE_TABLE_32_recvfrom -TRACE_SYSCALL_TABLE(recvfrom, recvfrom, 4176, 6) -#endif -#ifndef OVERRIDE_TABLE_32_recvmsg -TRACE_SYSCALL_TABLE(recvmsg, recvmsg, 4177, 3) -#endif -#ifndef OVERRIDE_TABLE_32_send -TRACE_SYSCALL_TABLE(send, send, 4178, 4) -#endif -#ifndef OVERRIDE_TABLE_32_sendmsg -TRACE_SYSCALL_TABLE(sendmsg, sendmsg, 4179, 3) -#endif -#ifndef OVERRIDE_TABLE_32_sendto -TRACE_SYSCALL_TABLE(sendto, sendto, 4180, 6) -#endif -#ifndef OVERRIDE_TABLE_32_setsockopt -TRACE_SYSCALL_TABLE(setsockopt, setsockopt, 4181, 5) -#endif -#ifndef OVERRIDE_TABLE_32_socketpair -TRACE_SYSCALL_TABLE(socketpair, socketpair, 4184, 4) -#endif -#ifndef OVERRIDE_TABLE_32_getresuid -TRACE_SYSCALL_TABLE(getresuid, getresuid, 4186, 3) -#endif -#ifndef OVERRIDE_TABLE_32_poll -TRACE_SYSCALL_TABLE(poll, poll, 4188, 3) -#endif -#ifndef OVERRIDE_TABLE_32_getresgid -TRACE_SYSCALL_TABLE(getresgid, getresgid, 4191, 3) -#endif -#ifndef OVERRIDE_TABLE_32_rt_sigaction -TRACE_SYSCALL_TABLE(rt_sigaction, rt_sigaction, 4194, 4) -#endif -#ifndef OVERRIDE_TABLE_32_rt_sigprocmask -TRACE_SYSCALL_TABLE(rt_sigprocmask, rt_sigprocmask, 4195, 4) -#endif -#ifndef OVERRIDE_TABLE_32_rt_sigpending -TRACE_SYSCALL_TABLE(rt_sigpending, rt_sigpending, 4196, 2) -#endif -#ifndef OVERRIDE_TABLE_32_rt_sigtimedwait -TRACE_SYSCALL_TABLE(rt_sigtimedwait, rt_sigtimedwait, 4197, 4) -#endif -#ifndef OVERRIDE_TABLE_32_rt_sigqueueinfo -TRACE_SYSCALL_TABLE(rt_sigqueueinfo, rt_sigqueueinfo, 4198, 3) -#endif -#ifndef OVERRIDE_TABLE_32_rt_sigsuspend -TRACE_SYSCALL_TABLE(rt_sigsuspend, rt_sigsuspend, 4199, 2) -#endif -#ifndef OVERRIDE_TABLE_32_pread64 -TRACE_SYSCALL_TABLE(pread64, pread64, 4200, 4) -#endif -#ifndef OVERRIDE_TABLE_32_pwrite64 -TRACE_SYSCALL_TABLE(pwrite64, pwrite64, 4201, 4) -#endif -#ifndef OVERRIDE_TABLE_32_chown -TRACE_SYSCALL_TABLE(chown, chown, 4202, 3) -#endif -#ifndef OVERRIDE_TABLE_32_getcwd -TRACE_SYSCALL_TABLE(getcwd, getcwd, 4203, 2) -#endif -#ifndef OVERRIDE_TABLE_32_sigaltstack -TRACE_SYSCALL_TABLE(sigaltstack, sigaltstack, 4206, 2) -#endif -#ifndef OVERRIDE_TABLE_32_sendfile -TRACE_SYSCALL_TABLE(sendfile, sendfile, 4207, 4) -#endif -#ifndef OVERRIDE_TABLE_32_truncate64 -TRACE_SYSCALL_TABLE(truncate64, truncate64, 4211, 2) -#endif -#ifndef OVERRIDE_TABLE_32_stat64 -TRACE_SYSCALL_TABLE(stat64, stat64, 4213, 2) -#endif -#ifndef OVERRIDE_TABLE_32_lstat64 -TRACE_SYSCALL_TABLE(lstat64, lstat64, 4214, 2) -#endif -#ifndef OVERRIDE_TABLE_32_fstat64 -TRACE_SYSCALL_TABLE(fstat64, fstat64, 4215, 2) -#endif -#ifndef OVERRIDE_TABLE_32_pivot_root -TRACE_SYSCALL_TABLE(pivot_root, pivot_root, 4216, 2) -#endif -#ifndef OVERRIDE_TABLE_32_mincore -TRACE_SYSCALL_TABLE(mincore, mincore, 4217, 3) -#endif -#ifndef OVERRIDE_TABLE_32_getdents64 -TRACE_SYSCALL_TABLE(getdents64, getdents64, 4219, 3) -#endif -#ifndef OVERRIDE_TABLE_32_setxattr -TRACE_SYSCALL_TABLE(setxattr, setxattr, 4224, 5) -#endif -#ifndef OVERRIDE_TABLE_32_lsetxattr -TRACE_SYSCALL_TABLE(lsetxattr, lsetxattr, 4225, 5) -#endif -#ifndef OVERRIDE_TABLE_32_fsetxattr -TRACE_SYSCALL_TABLE(fsetxattr, fsetxattr, 4226, 5) -#endif -#ifndef OVERRIDE_TABLE_32_getxattr -TRACE_SYSCALL_TABLE(getxattr, getxattr, 4227, 4) -#endif -#ifndef OVERRIDE_TABLE_32_lgetxattr -TRACE_SYSCALL_TABLE(lgetxattr, lgetxattr, 4228, 4) -#endif -#ifndef OVERRIDE_TABLE_32_fgetxattr -TRACE_SYSCALL_TABLE(fgetxattr, fgetxattr, 4229, 4) -#endif -#ifndef OVERRIDE_TABLE_32_listxattr -TRACE_SYSCALL_TABLE(listxattr, listxattr, 4230, 3) -#endif -#ifndef OVERRIDE_TABLE_32_llistxattr -TRACE_SYSCALL_TABLE(llistxattr, llistxattr, 4231, 3) -#endif -#ifndef OVERRIDE_TABLE_32_flistxattr -TRACE_SYSCALL_TABLE(flistxattr, flistxattr, 4232, 3) -#endif -#ifndef OVERRIDE_TABLE_32_removexattr -TRACE_SYSCALL_TABLE(removexattr, removexattr, 4233, 2) -#endif -#ifndef OVERRIDE_TABLE_32_lremovexattr -TRACE_SYSCALL_TABLE(lremovexattr, lremovexattr, 4234, 2) -#endif -#ifndef OVERRIDE_TABLE_32_fremovexattr -TRACE_SYSCALL_TABLE(fremovexattr, fremovexattr, 4235, 2) -#endif -#ifndef OVERRIDE_TABLE_32_sendfile64 -TRACE_SYSCALL_TABLE(sendfile64, sendfile64, 4237, 4) -#endif -#ifndef OVERRIDE_TABLE_32_futex -TRACE_SYSCALL_TABLE(futex, futex, 4238, 6) -#endif -#ifndef OVERRIDE_TABLE_32_io_setup -TRACE_SYSCALL_TABLE(io_setup, io_setup, 4241, 2) -#endif -#ifndef OVERRIDE_TABLE_32_io_getevents -TRACE_SYSCALL_TABLE(io_getevents, io_getevents, 4243, 5) -#endif -#ifndef OVERRIDE_TABLE_32_io_submit -TRACE_SYSCALL_TABLE(io_submit, io_submit, 4244, 3) -#endif -#ifndef OVERRIDE_TABLE_32_io_cancel -TRACE_SYSCALL_TABLE(io_cancel, io_cancel, 4245, 3) -#endif -#ifndef OVERRIDE_TABLE_32_epoll_ctl -TRACE_SYSCALL_TABLE(epoll_ctl, epoll_ctl, 4249, 4) -#endif -#ifndef OVERRIDE_TABLE_32_epoll_wait -TRACE_SYSCALL_TABLE(epoll_wait, epoll_wait, 4250, 4) -#endif -#ifndef OVERRIDE_TABLE_32_set_tid_address -TRACE_SYSCALL_TABLE(set_tid_address, set_tid_address, 4252, 1) -#endif -#ifndef OVERRIDE_TABLE_32_statfs64 -TRACE_SYSCALL_TABLE(statfs64, statfs64, 4255, 3) -#endif -#ifndef OVERRIDE_TABLE_32_fstatfs64 -TRACE_SYSCALL_TABLE(fstatfs64, fstatfs64, 4256, 3) -#endif -#ifndef OVERRIDE_TABLE_32_timer_create -TRACE_SYSCALL_TABLE(timer_create, timer_create, 4257, 3) -#endif -#ifndef OVERRIDE_TABLE_32_timer_settime -TRACE_SYSCALL_TABLE(timer_settime, timer_settime, 4258, 4) -#endif -#ifndef OVERRIDE_TABLE_32_timer_gettime -TRACE_SYSCALL_TABLE(timer_gettime, timer_gettime, 4259, 2) -#endif -#ifndef OVERRIDE_TABLE_32_clock_settime -TRACE_SYSCALL_TABLE(clock_settime, clock_settime, 4262, 2) -#endif -#ifndef OVERRIDE_TABLE_32_clock_gettime -TRACE_SYSCALL_TABLE(clock_gettime, clock_gettime, 4263, 2) -#endif -#ifndef OVERRIDE_TABLE_32_clock_getres -TRACE_SYSCALL_TABLE(clock_getres, clock_getres, 4264, 2) -#endif -#ifndef OVERRIDE_TABLE_32_clock_nanosleep -TRACE_SYSCALL_TABLE(clock_nanosleep, clock_nanosleep, 4265, 4) -#endif -#ifndef OVERRIDE_TABLE_32_utimes -TRACE_SYSCALL_TABLE(utimes, utimes, 4267, 2) -#endif -#ifndef OVERRIDE_TABLE_32_waitid -TRACE_SYSCALL_TABLE(waitid, waitid, 4278, 5) -#endif -#ifndef OVERRIDE_TABLE_32_inotify_add_watch -TRACE_SYSCALL_TABLE(inotify_add_watch, inotify_add_watch, 4285, 3) -#endif -#ifndef OVERRIDE_TABLE_32_openat -TRACE_SYSCALL_TABLE(openat, openat, 4288, 4) -#endif -#ifndef OVERRIDE_TABLE_32_mkdirat -TRACE_SYSCALL_TABLE(mkdirat, mkdirat, 4289, 3) -#endif -#ifndef OVERRIDE_TABLE_32_mknodat -TRACE_SYSCALL_TABLE(mknodat, mknodat, 4290, 4) -#endif -#ifndef OVERRIDE_TABLE_32_fchownat -TRACE_SYSCALL_TABLE(fchownat, fchownat, 4291, 5) -#endif -#ifndef OVERRIDE_TABLE_32_futimesat -TRACE_SYSCALL_TABLE(futimesat, futimesat, 4292, 3) -#endif -#ifndef OVERRIDE_TABLE_32_fstatat64 -TRACE_SYSCALL_TABLE(fstatat64, fstatat64, 4293, 4) -#endif -#ifndef OVERRIDE_TABLE_32_unlinkat -TRACE_SYSCALL_TABLE(unlinkat, unlinkat, 4294, 3) -#endif -#ifndef OVERRIDE_TABLE_32_renameat -TRACE_SYSCALL_TABLE(renameat, renameat, 4295, 4) -#endif -#ifndef OVERRIDE_TABLE_32_linkat -TRACE_SYSCALL_TABLE(linkat, linkat, 4296, 5) -#endif -#ifndef OVERRIDE_TABLE_32_symlinkat -TRACE_SYSCALL_TABLE(symlinkat, symlinkat, 4297, 3) -#endif -#ifndef OVERRIDE_TABLE_32_readlinkat -TRACE_SYSCALL_TABLE(readlinkat, readlinkat, 4298, 4) -#endif -#ifndef OVERRIDE_TABLE_32_fchmodat -TRACE_SYSCALL_TABLE(fchmodat, fchmodat, 4299, 3) -#endif -#ifndef OVERRIDE_TABLE_32_faccessat -TRACE_SYSCALL_TABLE(faccessat, faccessat, 4300, 3) -#endif -#ifndef OVERRIDE_TABLE_32_pselect6 -TRACE_SYSCALL_TABLE(pselect6, pselect6, 4301, 6) -#endif -#ifndef OVERRIDE_TABLE_32_ppoll -TRACE_SYSCALL_TABLE(ppoll, ppoll, 4302, 5) -#endif -#ifndef OVERRIDE_TABLE_32_splice -TRACE_SYSCALL_TABLE(splice, splice, 4304, 6) -#endif -#ifndef OVERRIDE_TABLE_32_vmsplice -TRACE_SYSCALL_TABLE(vmsplice, vmsplice, 4307, 4) -#endif -#ifndef OVERRIDE_TABLE_32_set_robust_list -TRACE_SYSCALL_TABLE(set_robust_list, set_robust_list, 4309, 2) -#endif -#ifndef OVERRIDE_TABLE_32_get_robust_list -TRACE_SYSCALL_TABLE(get_robust_list, get_robust_list, 4310, 3) -#endif -#ifndef OVERRIDE_TABLE_32_getcpu -TRACE_SYSCALL_TABLE(getcpu, getcpu, 4312, 3) -#endif -#ifndef OVERRIDE_TABLE_32_epoll_pwait -TRACE_SYSCALL_TABLE(epoll_pwait, epoll_pwait, 4313, 6) -#endif -#ifndef OVERRIDE_TABLE_32_utimensat -TRACE_SYSCALL_TABLE(utimensat, utimensat, 4316, 4) -#endif -#ifndef OVERRIDE_TABLE_32_signalfd -TRACE_SYSCALL_TABLE(signalfd, signalfd, 4317, 3) -#endif -#ifndef OVERRIDE_TABLE_32_timerfd_gettime -TRACE_SYSCALL_TABLE(timerfd_gettime, timerfd_gettime, 4322, 2) -#endif -#ifndef OVERRIDE_TABLE_32_timerfd_settime -TRACE_SYSCALL_TABLE(timerfd_settime, timerfd_settime, 4323, 4) -#endif -#ifndef OVERRIDE_TABLE_32_signalfd4 -TRACE_SYSCALL_TABLE(signalfd4, signalfd4, 4324, 4) -#endif -#ifndef OVERRIDE_TABLE_32_pipe2 -TRACE_SYSCALL_TABLE(pipe2, pipe2, 4328, 2) -#endif -#ifndef OVERRIDE_TABLE_32_preadv -TRACE_SYSCALL_TABLE(preadv, preadv, 4330, 5) -#endif -#ifndef OVERRIDE_TABLE_32_pwritev -TRACE_SYSCALL_TABLE(pwritev, pwritev, 4331, 5) -#endif -#ifndef OVERRIDE_TABLE_32_rt_tgsigqueueinfo -TRACE_SYSCALL_TABLE(rt_tgsigqueueinfo, rt_tgsigqueueinfo, 4332, 4) -#endif -#ifndef OVERRIDE_TABLE_32_perf_event_open -TRACE_SYSCALL_TABLE(perf_event_open, perf_event_open, 4333, 5) -#endif -#ifndef OVERRIDE_TABLE_32_accept4 -TRACE_SYSCALL_TABLE(accept4, accept4, 4334, 4) -#endif -#ifndef OVERRIDE_TABLE_32_recvmmsg -TRACE_SYSCALL_TABLE(recvmmsg, recvmmsg, 4335, 5) -#endif -#ifndef OVERRIDE_TABLE_32_prlimit64 -TRACE_SYSCALL_TABLE(prlimit64, prlimit64, 4338, 4) -#endif -#ifndef OVERRIDE_TABLE_32_name_to_handle_at -TRACE_SYSCALL_TABLE(name_to_handle_at, name_to_handle_at, 4339, 5) -#endif -#ifndef OVERRIDE_TABLE_32_open_by_handle_at -TRACE_SYSCALL_TABLE(open_by_handle_at, open_by_handle_at, 4340, 3) -#endif -#ifndef OVERRIDE_TABLE_32_clock_adjtime -TRACE_SYSCALL_TABLE(clock_adjtime, clock_adjtime, 4341, 2) -#endif -#ifndef OVERRIDE_TABLE_32_sendmmsg -TRACE_SYSCALL_TABLE(sendmmsg, sendmmsg, 4343, 4) -#endif - -#endif /* CREATE_SYSCALL_TABLE */ diff --git a/instrumentation/syscalls/headers/mips-32-syscalls-3.13.0_pointers_override.h b/instrumentation/syscalls/headers/mips-32-syscalls-3.13.0_pointers_override.h deleted file mode 100644 index bcf5662f..00000000 --- a/instrumentation/syscalls/headers/mips-32-syscalls-3.13.0_pointers_override.h +++ /dev/null @@ -1,8 +0,0 @@ -#ifndef CREATE_SYSCALL_TABLE - -#else /* CREATE_SYSCALL_TABLE */ - -#define OVERRIDE_TABLE_32_clone -TRACE_SYSCALL_TABLE(clone, clone, 4120, 0) - -#endif /* CREATE_SYSCALL_TABLE */ diff --git a/instrumentation/syscalls/headers/mips-32-syscalls-3.18.0_integers_override.h b/instrumentation/syscalls/headers/mips-32-syscalls-3.18.0_integers_override.h deleted file mode 100644 index 49b485bb..00000000 --- a/instrumentation/syscalls/headers/mips-32-syscalls-3.18.0_integers_override.h +++ /dev/null @@ -1,3 +0,0 @@ -/* - * this is a place-holder for MIPS integer syscall definition override. - */ diff --git a/instrumentation/syscalls/headers/mips-32-syscalls-3.18.0_integers.h b/instrumentation/syscalls/headers/mips-32-syscalls_integers.h similarity index 99% rename from instrumentation/syscalls/headers/mips-32-syscalls-3.18.0_integers.h rename to instrumentation/syscalls/headers/mips-32-syscalls_integers.h index 430d4cf5..79472f07 100644 --- a/instrumentation/syscalls/headers/mips-32-syscalls-3.18.0_integers.h +++ b/instrumentation/syscalls/headers/mips-32-syscalls_integers.h @@ -1,4 +1,9 @@ +/* SPDX-License-Identifier: (GPL-2.0 or LGPL-2.1) */ + /* THIS FILE IS AUTO-GENERATED. DO NOT EDIT */ + +/* Generated from mips-32-syscalls 3.18.0 */ + #ifndef CREATE_SYSCALL_TABLE #if !defined(_TRACE_SYSCALLS_INTEGERS_H) || defined(TRACE_HEADER_MULTI_READ) @@ -6,7 +11,7 @@ #include #include -#include "mips-32-syscalls-3.18.0_integers_override.h" +#include "mips-32-syscalls_integers_override.h" #include "syscalls_integers_override.h" #ifdef SC_ENTER @@ -757,7 +762,7 @@ SC_LTTNG_TRACEPOINT_EVENT(mips_mmap2, #else /* CREATE_SYSCALL_TABLE */ -#include "mips-32-syscalls-3.18.0_integers_override.h" +#include "mips-32-syscalls_integers_override.h" #include "syscalls_integers_override.h" #ifdef SC_ENTER diff --git a/instrumentation/syscalls/headers/mips-64-syscalls-3.5.0_integers_override.h b/instrumentation/syscalls/headers/mips-32-syscalls_integers_override.h similarity index 59% rename from instrumentation/syscalls/headers/mips-64-syscalls-3.5.0_integers_override.h rename to instrumentation/syscalls/headers/mips-32-syscalls_integers_override.h index 49b485bb..f2ec34fc 100644 --- a/instrumentation/syscalls/headers/mips-64-syscalls-3.5.0_integers_override.h +++ b/instrumentation/syscalls/headers/mips-32-syscalls_integers_override.h @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: (GPL-2.0 or LGPL-2.1) */ + /* * this is a place-holder for MIPS integer syscall definition override. */ diff --git a/instrumentation/syscalls/headers/mips-32-syscalls-3.18.0_pointers.h b/instrumentation/syscalls/headers/mips-32-syscalls_pointers.h similarity index 99% rename from instrumentation/syscalls/headers/mips-32-syscalls-3.18.0_pointers.h rename to instrumentation/syscalls/headers/mips-32-syscalls_pointers.h index 118eadc6..27d50ce4 100644 --- a/instrumentation/syscalls/headers/mips-32-syscalls-3.18.0_pointers.h +++ b/instrumentation/syscalls/headers/mips-32-syscalls_pointers.h @@ -1,4 +1,9 @@ +/* SPDX-License-Identifier: (GPL-2.0 or LGPL-2.1) */ + /* THIS FILE IS AUTO-GENERATED. DO NOT EDIT */ + +/* Generated from mips-32-syscalls 3.18.0 */ + #ifndef CREATE_SYSCALL_TABLE #if !defined(_TRACE_SYSCALLS_POINTERS_H) || defined(TRACE_HEADER_MULTI_READ) @@ -6,7 +11,7 @@ #include #include -#include "mips-32-syscalls-3.18.0_pointers_override.h" +#include "mips-32-syscalls_pointers_override.h" #include "syscalls_pointers_override.h" #ifndef OVERRIDE_32_unlink @@ -1326,7 +1331,7 @@ SC_LTTNG_TRACEPOINT_EVENT(epoll_pwait, #else /* CREATE_SYSCALL_TABLE */ -#include "mips-32-syscalls-3.18.0_pointers_override.h" +#include "mips-32-syscalls_pointers_override.h" #include "syscalls_pointers_override.h" #ifndef OVERRIDE_TABLE_32_read diff --git a/instrumentation/syscalls/headers/mips-32-syscalls-3.18.0_pointers_override.h b/instrumentation/syscalls/headers/mips-32-syscalls_pointers_override.h similarity index 95% rename from instrumentation/syscalls/headers/mips-32-syscalls-3.18.0_pointers_override.h rename to instrumentation/syscalls/headers/mips-32-syscalls_pointers_override.h index d7e25036..d2d6dfa8 100644 --- a/instrumentation/syscalls/headers/mips-32-syscalls-3.18.0_pointers_override.h +++ b/instrumentation/syscalls/headers/mips-32-syscalls_pointers_override.h @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: (GPL-2.0 or LGPL-2.1) */ + #ifndef CREATE_SYSCALL_TABLE #define OVERRIDE_32_sched_setaffinity diff --git a/instrumentation/syscalls/headers/mips-64-syscalls-3.5.0_integers.h b/instrumentation/syscalls/headers/mips-64-syscalls_integers.h similarity index 99% rename from instrumentation/syscalls/headers/mips-64-syscalls-3.5.0_integers.h rename to instrumentation/syscalls/headers/mips-64-syscalls_integers.h index c4d19538..436abc1d 100644 --- a/instrumentation/syscalls/headers/mips-64-syscalls-3.5.0_integers.h +++ b/instrumentation/syscalls/headers/mips-64-syscalls_integers.h @@ -1,4 +1,9 @@ +/* SPDX-License-Identifier: (GPL-2.0 or LGPL-2.1) */ + /* THIS FILE IS AUTO-GENERATED. DO NOT EDIT */ + +/* Generated from mips-64-syscalls 3.5.0 */ + #ifndef CREATE_SYSCALL_TABLE #if !defined(_TRACE_SYSCALLS_INTEGERS_H) || defined(TRACE_HEADER_MULTI_READ) @@ -6,7 +11,7 @@ #include #include -#include "mips-64-syscalls-3.5.0_integers_override.h" +#include "mips-64-syscalls_integers_override.h" #include "syscalls_integers_override.h" #ifdef SC_ENTER @@ -795,7 +800,7 @@ SC_LTTNG_TRACEPOINT_EVENT(mips_mmap, #else /* CREATE_SYSCALL_TABLE */ -#include "mips-64-syscalls-3.5.0_integers_override.h" +#include "mips-64-syscalls_integers_override.h" #include "syscalls_integers_override.h" #ifdef SC_ENTER diff --git a/instrumentation/syscalls/headers/mips-32-syscalls-3.13.0_integers_override.h b/instrumentation/syscalls/headers/mips-64-syscalls_integers_override.h similarity index 59% rename from instrumentation/syscalls/headers/mips-32-syscalls-3.13.0_integers_override.h rename to instrumentation/syscalls/headers/mips-64-syscalls_integers_override.h index 49b485bb..f2ec34fc 100644 --- a/instrumentation/syscalls/headers/mips-32-syscalls-3.13.0_integers_override.h +++ b/instrumentation/syscalls/headers/mips-64-syscalls_integers_override.h @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: (GPL-2.0 or LGPL-2.1) */ + /* * this is a place-holder for MIPS integer syscall definition override. */ diff --git a/instrumentation/syscalls/headers/mips-64-syscalls-3.5.0_pointers.h b/instrumentation/syscalls/headers/mips-64-syscalls_pointers.h similarity index 99% rename from instrumentation/syscalls/headers/mips-64-syscalls-3.5.0_pointers.h rename to instrumentation/syscalls/headers/mips-64-syscalls_pointers.h index 6605d913..17d085c7 100644 --- a/instrumentation/syscalls/headers/mips-64-syscalls-3.5.0_pointers.h +++ b/instrumentation/syscalls/headers/mips-64-syscalls_pointers.h @@ -1,4 +1,9 @@ +/* SPDX-License-Identifier: (GPL-2.0 or LGPL-2.1) */ + /* THIS FILE IS AUTO-GENERATED. DO NOT EDIT */ + +/* Generated from mips-64-syscalls 3.5.0 */ + #ifndef CREATE_SYSCALL_TABLE #if !defined(_TRACE_SYSCALLS_POINTERS_H) || defined(TRACE_HEADER_MULTI_READ) @@ -6,7 +11,7 @@ #include #include -#include "mips-64-syscalls-3.5.0_pointers_override.h" +#include "mips-64-syscalls_pointers_override.h" #include "syscalls_pointers_override.h" #ifndef OVERRIDE_64_oldumount @@ -1305,7 +1310,7 @@ SC_LTTNG_TRACEPOINT_EVENT(splice, #else /* CREATE_SYSCALL_TABLE */ -#include "mips-64-syscalls-3.5.0_pointers_override.h" +#include "mips-64-syscalls_pointers_override.h" #include "syscalls_pointers_override.h" #ifndef OVERRIDE_TABLE_64_waitpid diff --git a/instrumentation/syscalls/headers/mips-64-syscalls-3.5.0_pointers_override.h b/instrumentation/syscalls/headers/mips-64-syscalls_pointers_override.h similarity index 76% rename from instrumentation/syscalls/headers/mips-64-syscalls-3.5.0_pointers_override.h rename to instrumentation/syscalls/headers/mips-64-syscalls_pointers_override.h index f4c35c7e..5527a15d 100644 --- a/instrumentation/syscalls/headers/mips-64-syscalls-3.5.0_pointers_override.h +++ b/instrumentation/syscalls/headers/mips-64-syscalls_pointers_override.h @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: (GPL-2.0 or LGPL-2.1) */ + #ifndef CREATE_SYSCALL_TABLE #else /* CREATE_SYSCALL_TABLE */ diff --git a/instrumentation/syscalls/headers/powerpc-32-syscalls-3.0.34_integers.h b/instrumentation/syscalls/headers/powerpc-32-syscalls_integers.h similarity index 96% rename from instrumentation/syscalls/headers/powerpc-32-syscalls-3.0.34_integers.h rename to instrumentation/syscalls/headers/powerpc-32-syscalls_integers.h index ded32234..987d0b34 100644 --- a/instrumentation/syscalls/headers/powerpc-32-syscalls-3.0.34_integers.h +++ b/instrumentation/syscalls/headers/powerpc-32-syscalls_integers.h @@ -1,4 +1,9 @@ +/* SPDX-License-Identifier: (GPL-2.0 or LGPL-2.1) */ + /* THIS FILE IS AUTO-GENERATED. DO NOT EDIT */ + +/* Generated from powerpc-32-syscalls 3.0.34 */ + #ifndef CREATE_SYSCALL_TABLE #if !defined(_TRACE_SYSCALLS_INTEGERS_H) || defined(TRACE_HEADER_MULTI_READ) @@ -6,7 +11,7 @@ #include #include -#include "powerpc-32-syscalls-3.0.34_integers_override.h" +#include "powerpc-32-syscalls_integers_override.h" #include "syscalls_integers_override.h" #ifdef SC_ENTER @@ -191,28 +196,28 @@ SC_LTTNG_TRACEPOINT_EVENT(exit, TP_ARGS(sc_exit(ret,) error_code), TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(int, error_code, error_code))) ) -#endif +#endif #ifndef OVERRIDE_32_close SC_LTTNG_TRACEPOINT_EVENT(close, TP_PROTO(sc_exit(long ret,) unsigned int fd), TP_ARGS(sc_exit(ret,) fd), TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd))) ) -#endif +#endif #ifndef OVERRIDE_32_setuid SC_LTTNG_TRACEPOINT_EVENT(setuid, TP_PROTO(sc_exit(long ret,) uid_t uid), TP_ARGS(sc_exit(ret,) uid), TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(uid_t, uid, uid))) ) -#endif +#endif #ifndef OVERRIDE_32_alarm SC_LTTNG_TRACEPOINT_EVENT(alarm, TP_PROTO(sc_exit(long ret,) unsigned int seconds), TP_ARGS(sc_exit(ret,) seconds), TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, seconds, seconds))) ) -#endif +#endif #ifndef OVERRIDE_32_nice SC_LTTNG_TRACEPOINT_EVENT(nice, TP_PROTO(sc_exit(long ret,) int increment), @@ -569,7 +574,7 @@ SC_LTTNG_TRACEPOINT_EVENT(lseek, TP_ARGS(sc_exit(ret,) fd, offset, origin), TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(off_t, offset, offset)) sc_in(ctf_integer(unsigned int, origin, origin))) ) -#endif +#endif #ifndef OVERRIDE_32_ioctl SC_LTTNG_TRACEPOINT_EVENT(ioctl, TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned int cmd, unsigned long arg), @@ -681,7 +686,7 @@ SC_LTTNG_TRACEPOINT_EVENT(ptrace, TP_ARGS(sc_exit(ret,) request, pid, addr, data), TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(long, request, request)) sc_in(ctf_integer(long, pid, pid)) sc_inout(ctf_integer(unsigned long, addr, addr)) sc_inout(ctf_integer(unsigned long, data, data))) ) -#endif +#endif #ifndef OVERRIDE_32_tee SC_LTTNG_TRACEPOINT_EVENT(tee, TP_PROTO(sc_exit(long ret,) int fdin, int fdout, size_t len, unsigned int flags), @@ -725,7 +730,7 @@ SC_LTTNG_TRACEPOINT_EVENT(keyctl, #else /* CREATE_SYSCALL_TABLE */ -#include "powerpc-32-syscalls-3.0.34_integers_override.h" +#include "powerpc-32-syscalls_integers_override.h" #include "syscalls_integers_override.h" #ifdef SC_ENTER diff --git a/instrumentation/syscalls/headers/powerpc-32-syscalls-3.0.34_integers_override.h b/instrumentation/syscalls/headers/powerpc-32-syscalls_integers_override.h similarity index 97% rename from instrumentation/syscalls/headers/powerpc-32-syscalls-3.0.34_integers_override.h rename to instrumentation/syscalls/headers/powerpc-32-syscalls_integers_override.h index a41be136..770a85a7 100644 --- a/instrumentation/syscalls/headers/powerpc-32-syscalls-3.0.34_integers_override.h +++ b/instrumentation/syscalls/headers/powerpc-32-syscalls_integers_override.h @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: (GPL-2.0 or LGPL-2.1) */ + #ifndef CREATE_SYSCALL_TABLE #define OVERRIDE_32_mmap2 diff --git a/instrumentation/syscalls/headers/powerpc-32-syscalls-3.0.34_pointers.h b/instrumentation/syscalls/headers/powerpc-32-syscalls_pointers.h similarity index 95% rename from instrumentation/syscalls/headers/powerpc-32-syscalls-3.0.34_pointers.h rename to instrumentation/syscalls/headers/powerpc-32-syscalls_pointers.h index 88c19092..0617ca92 100644 --- a/instrumentation/syscalls/headers/powerpc-32-syscalls-3.0.34_pointers.h +++ b/instrumentation/syscalls/headers/powerpc-32-syscalls_pointers.h @@ -1,4 +1,9 @@ +/* SPDX-License-Identifier: (GPL-2.0 or LGPL-2.1) */ + /* THIS FILE IS AUTO-GENERATED. DO NOT EDIT */ + +/* Generated from powerpc-32-syscalls 3.0.34 */ + #ifndef CREATE_SYSCALL_TABLE #if !defined(_TRACE_SYSCALLS_POINTERS_H) || defined(TRACE_HEADER_MULTI_READ) @@ -6,7 +11,7 @@ #include #include -#include "powerpc-32-syscalls-3.0.34_pointers_override.h" +#include "powerpc-32-syscalls_pointers_override.h" #include "syscalls_pointers_override.h" #ifndef OVERRIDE_32_unlink @@ -15,35 +20,35 @@ SC_LTTNG_TRACEPOINT_EVENT(unlink, TP_ARGS(sc_exit(ret,) pathname), TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname))) ) -#endif +#endif #ifndef OVERRIDE_32_chdir SC_LTTNG_TRACEPOINT_EVENT(chdir, TP_PROTO(sc_exit(long ret,) const char * filename), TP_ARGS(sc_exit(ret,) filename), TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename))) ) -#endif +#endif #ifndef OVERRIDE_32_time SC_LTTNG_TRACEPOINT_EVENT(time, TP_PROTO(sc_exit(long ret,) time_t * tloc), TP_ARGS(sc_exit(ret,) tloc), TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_out(ctf_integer(time_t *, tloc, tloc))) ) -#endif +#endif #ifndef OVERRIDE_32_oldumount SC_LTTNG_TRACEPOINT_EVENT(oldumount, TP_PROTO(sc_exit(long ret,) char * name), TP_ARGS(sc_exit(ret,) name), TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_user_string(name, name))) ) -#endif +#endif #ifndef OVERRIDE_32_stime SC_LTTNG_TRACEPOINT_EVENT(stime, TP_PROTO(sc_exit(long ret,) time_t * tptr), TP_ARGS(sc_exit(ret,) tptr), TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(time_t *, tptr, tptr))) ) -#endif +#endif #ifndef OVERRIDE_32_rmdir SC_LTTNG_TRACEPOINT_EVENT(rmdir, TP_PROTO(sc_exit(long ret,) const char * pathname), @@ -162,49 +167,49 @@ SC_LTTNG_TRACEPOINT_EVENT(creat, TP_ARGS(sc_exit(ret,) pathname, mode), TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(pathname, pathname)) sc_in(ctf_integer(int, mode, mode))) ) -#endif +#endif #ifndef OVERRIDE_32_link SC_LTTNG_TRACEPOINT_EVENT(link, TP_PROTO(sc_exit(long ret,) const char * oldname, const char * newname), TP_ARGS(sc_exit(ret,) oldname, newname), TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(oldname, oldname)) sc_in(ctf_user_string(newname, newname))) ) -#endif +#endif #ifndef OVERRIDE_32_chmod SC_LTTNG_TRACEPOINT_EVENT(chmod, TP_PROTO(sc_exit(long ret,) const char * filename, mode_t mode), TP_ARGS(sc_exit(ret,) filename, mode), TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(mode_t, mode, mode))) ) -#endif +#endif #ifndef OVERRIDE_32_stat SC_LTTNG_TRACEPOINT_EVENT(stat, TP_PROTO(sc_exit(long ret,) const char * filename, struct __old_kernel_stat * statbuf), TP_ARGS(sc_exit(ret,) filename, statbuf), TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_user_string(filename, filename)) sc_inout(ctf_integer(struct __old_kernel_stat *, statbuf, statbuf))) ) -#endif +#endif #ifndef OVERRIDE_32_fstat SC_LTTNG_TRACEPOINT_EVENT(fstat, TP_PROTO(sc_exit(long ret,) unsigned int fd, struct __old_kernel_stat * statbuf), TP_ARGS(sc_exit(ret,) fd, statbuf), TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(unsigned int, fd, fd)) sc_inout(ctf_integer(struct __old_kernel_stat *, statbuf, statbuf))) ) -#endif +#endif #ifndef OVERRIDE_32_utime SC_LTTNG_TRACEPOINT_EVENT(utime, TP_PROTO(sc_exit(long ret,) char * filename, struct utimbuf * times), TP_ARGS(sc_exit(ret,) filename, times), TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(struct utimbuf *, times, times))) ) -#endif +#endif #ifndef OVERRIDE_32_access SC_LTTNG_TRACEPOINT_EVENT(access, TP_PROTO(sc_exit(long ret,) const char * filename, int mode), TP_ARGS(sc_exit(ret,) filename, mode), TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(int, mode, mode))) ) -#endif +#endif #ifndef OVERRIDE_32_rename SC_LTTNG_TRACEPOINT_EVENT(rename, TP_PROTO(sc_exit(long ret,) const char * oldname, const char * newname), @@ -568,42 +573,42 @@ SC_LTTNG_TRACEPOINT_EVENT(read, TP_ARGS(sc_exit(ret,) fd, buf, count), TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_out(ctf_integer(char *, buf, buf)) sc_in(ctf_integer(size_t, count, count))) ) -#endif +#endif #ifndef OVERRIDE_32_write SC_LTTNG_TRACEPOINT_EVENT(write, TP_PROTO(sc_exit(long ret,) unsigned int fd, const char * buf, size_t count), TP_ARGS(sc_exit(ret,) fd, buf, count), TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_integer(unsigned int, fd, fd)) sc_in(ctf_integer(const char *, buf, buf)) sc_in(ctf_integer(size_t, count, count))) ) -#endif +#endif #ifndef OVERRIDE_32_open SC_LTTNG_TRACEPOINT_EVENT(open, TP_PROTO(sc_exit(long ret,) const char * filename, int flags, int mode), TP_ARGS(sc_exit(ret,) filename, flags, mode), TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(int, flags, flags)) sc_in(ctf_integer(int, mode, mode))) ) -#endif +#endif #ifndef OVERRIDE_32_waitpid SC_LTTNG_TRACEPOINT_EVENT(waitpid, TP_PROTO(sc_exit(long ret,) pid_t pid, int * stat_addr, int options), TP_ARGS(sc_exit(ret,) pid, stat_addr, options), TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_inout(ctf_integer(pid_t, pid, pid)) sc_inout(ctf_integer(int *, stat_addr, stat_addr)) sc_inout(ctf_integer(int, options, options))) ) -#endif +#endif #ifndef OVERRIDE_32_mknod SC_LTTNG_TRACEPOINT_EVENT(mknod, TP_PROTO(sc_exit(long ret,) const char * filename, int mode, unsigned dev), TP_ARGS(sc_exit(ret,) filename, mode, dev), TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(int, mode, mode)) sc_in(ctf_integer(unsigned, dev, dev))) ) -#endif +#endif #ifndef OVERRIDE_32_lchown SC_LTTNG_TRACEPOINT_EVENT(lchown, TP_PROTO(sc_exit(long ret,) const char * filename, uid_t user, gid_t group), TP_ARGS(sc_exit(ret,) filename, user, group), TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(filename, filename)) sc_in(ctf_integer(uid_t, user, user)) sc_in(ctf_integer(gid_t, group, group))) ) -#endif +#endif #ifndef OVERRIDE_32_readlink SC_LTTNG_TRACEPOINT_EVENT(readlink, TP_PROTO(sc_exit(long ret,) const char * path, char * buf, int bufsiz), @@ -1149,7 +1154,7 @@ SC_LTTNG_TRACEPOINT_EVENT(mount, TP_ARGS(sc_exit(ret,) dev_name, dir_name, type, flags, data), TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) sc_in(ctf_user_string(dev_name, dev_name)) sc_in(ctf_user_string(dir_name, dir_name)) sc_in(ctf_user_string(type, type)) sc_in(ctf_integer(unsigned long, flags, flags)) sc_in(ctf_integer(void *, data, data))) ) -#endif +#endif #ifndef OVERRIDE_32_llseek SC_LTTNG_TRACEPOINT_EVENT(llseek, TP_PROTO(sc_exit(long ret,) unsigned int fd, unsigned long offset_high, unsigned long offset_low, loff_t * result, unsigned int origin), @@ -1354,7 +1359,7 @@ SC_LTTNG_TRACEPOINT_EVENT(recvfrom, #else /* CREATE_SYSCALL_TABLE */ -#include "powerpc-32-syscalls-3.0.34_pointers_override.h" +#include "powerpc-32-syscalls_pointers_override.h" #include "syscalls_pointers_override.h" #ifndef OVERRIDE_TABLE_32_read diff --git a/instrumentation/syscalls/headers/powerpc-32-syscalls-3.0.34_pointers_override.h b/instrumentation/syscalls/headers/powerpc-32-syscalls_pointers_override.h similarity index 90% rename from instrumentation/syscalls/headers/powerpc-32-syscalls-3.0.34_pointers_override.h rename to instrumentation/syscalls/headers/powerpc-32-syscalls_pointers_override.h index 06704b90..e9f6da4f 100644 --- a/instrumentation/syscalls/headers/powerpc-32-syscalls-3.0.34_pointers_override.h +++ b/instrumentation/syscalls/headers/powerpc-32-syscalls_pointers_override.h @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: (GPL-2.0 or LGPL-2.1) */ + #define OVERRIDE_TABLE_32_mmap2 #ifndef CREATE_SYSCALL_TABLE diff --git a/instrumentation/syscalls/headers/syscalls_integers.h b/instrumentation/syscalls/headers/syscalls_integers.h index 1d50c86b..2671f66a 100644 --- a/instrumentation/syscalls/headers/syscalls_integers.h +++ b/instrumentation/syscalls/headers/syscalls_integers.h @@ -1,23 +1,25 @@ +/* SPDX-License-Identifier: (GPL-2.0 or LGPL-2.1) */ + #ifdef CONFIG_X86_64 -#include "x86-64-syscalls-3.10.0-rc7_integers.h" +#include "x86-64-syscalls_integers.h" #endif #ifdef CONFIG_X86_32 -#include "x86-32-syscalls-3.1.0-rc6_integers.h" +#include "x86-32-syscalls_integers.h" #endif #ifdef CONFIG_ARM -#include "arm-32-syscalls-3.4.25_integers.h" +#include "arm-32-syscalls_integers.h" #endif #ifdef CONFIG_PPC -#include "powerpc-32-syscalls-3.0.34_integers.h" +#include "powerpc-32-syscalls_integers.h" #endif #ifdef CONFIG_CPU_MIPS32 -#include "mips-32-syscalls-3.18.0_integers.h" +#include "mips-32-syscalls_integers.h" #endif #ifdef CONFIG_ARM64 -#include "arm-64-syscalls-4.4.0_integers.h" +#include "arm-64-syscalls_integers.h" #endif diff --git a/instrumentation/syscalls/headers/syscalls_integers_override.h b/instrumentation/syscalls/headers/syscalls_integers_override.h index 29bcefbc..b5842649 100644 --- a/instrumentation/syscalls/headers/syscalls_integers_override.h +++ b/instrumentation/syscalls/headers/syscalls_integers_override.h @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: (GPL-2.0 or LGPL-2.1) */ + #ifndef CREATE_SYSCALL_TABLE #define OVERRIDE_32_mmap diff --git a/instrumentation/syscalls/headers/syscalls_pointers.h b/instrumentation/syscalls/headers/syscalls_pointers.h index d60d3801..a525a0f9 100644 --- a/instrumentation/syscalls/headers/syscalls_pointers.h +++ b/instrumentation/syscalls/headers/syscalls_pointers.h @@ -1,23 +1,25 @@ +/* SPDX-License-Identifier: (GPL-2.0 or LGPL-2.1) */ + #ifdef CONFIG_X86_64 -#include "x86-64-syscalls-3.10.0-rc7_pointers.h" +#include "x86-64-syscalls_pointers.h" #endif #ifdef CONFIG_X86_32 -#include "x86-32-syscalls-3.1.0-rc6_pointers.h" +#include "x86-32-syscalls_pointers.h" #endif #ifdef CONFIG_ARM -#include "arm-32-syscalls-3.4.25_pointers.h" +#include "arm-32-syscalls_pointers.h" #endif #ifdef CONFIG_PPC -#include "powerpc-32-syscalls-3.0.34_pointers.h" +#include "powerpc-32-syscalls_pointers.h" #endif #ifdef CONFIG_CPU_MIPS32 -#include "mips-32-syscalls-3.18.0_pointers.h" +#include "mips-32-syscalls_pointers.h" #endif #ifdef CONFIG_ARM64 -#include "arm-64-syscalls-4.4.0_pointers.h" +#include "arm-64-syscalls_pointers.h" #endif diff --git a/instrumentation/syscalls/headers/syscalls_pointers_override.h b/instrumentation/syscalls/headers/syscalls_pointers_override.h index cdc56450..e6821214 100644 --- a/instrumentation/syscalls/headers/syscalls_pointers_override.h +++ b/instrumentation/syscalls/headers/syscalls_pointers_override.h @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: (GPL-2.0 or LGPL-2.1) */ + #ifndef CREATE_SYSCALL_TABLE #define OVERRIDE_32_execve diff --git a/instrumentation/syscalls/headers/syscalls_unknown.h b/instrumentation/syscalls/headers/syscalls_unknown.h index c72e7d0e..30a992a3 100644 --- a/instrumentation/syscalls/headers/syscalls_unknown.h +++ b/instrumentation/syscalls/headers/syscalls_unknown.h @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: (GPL-2.0 or LGPL-2.1) */ + #if !defined(_TRACE_SYSCALLS_UNKNOWN_H) || defined(TRACE_HEADER_MULTI_READ) #define _TRACE_SYSCALLS_UNKNOWN_H diff --git a/instrumentation/syscalls/headers/x86-32-syscalls-3.1.0-rc6_integers.h b/instrumentation/syscalls/headers/x86-32-syscalls_integers.h similarity index 99% rename from instrumentation/syscalls/headers/x86-32-syscalls-3.1.0-rc6_integers.h rename to instrumentation/syscalls/headers/x86-32-syscalls_integers.h index 9d5dba08..6df00c4b 100644 --- a/instrumentation/syscalls/headers/x86-32-syscalls-3.1.0-rc6_integers.h +++ b/instrumentation/syscalls/headers/x86-32-syscalls_integers.h @@ -1,4 +1,9 @@ +/* SPDX-License-Identifier: (GPL-2.0 or LGPL-2.1) */ + /* THIS FILE IS AUTO-GENERATED. DO NOT EDIT */ + +/* Generated from x86-32-syscalls 3.1.0-rc6 */ + #ifndef CREATE_SYSCALL_TABLE #if !defined(_TRACE_SYSCALLS_INTEGERS_H) || defined(TRACE_HEADER_MULTI_READ) @@ -6,7 +11,7 @@ #include #include -#include "x86-32-syscalls-3.1.0-rc6_integers_override.h" +#include "x86-32-syscalls_integers_override.h" #include "syscalls_integers_override.h" #ifdef SC_ENTER @@ -821,7 +826,7 @@ SC_LTTNG_TRACEPOINT_EVENT(mmap_pgoff, #else /* CREATE_SYSCALL_TABLE */ -#include "x86-32-syscalls-3.1.0-rc6_integers_override.h" +#include "x86-32-syscalls_integers_override.h" #include "syscalls_integers_override.h" #ifdef SC_ENTER diff --git a/instrumentation/syscalls/headers/x86-32-syscalls-3.1.0-rc6_integers_override.h b/instrumentation/syscalls/headers/x86-32-syscalls_integers_override.h similarity index 98% rename from instrumentation/syscalls/headers/x86-32-syscalls-3.1.0-rc6_integers_override.h rename to instrumentation/syscalls/headers/x86-32-syscalls_integers_override.h index df814d30..d40360b1 100644 --- a/instrumentation/syscalls/headers/x86-32-syscalls-3.1.0-rc6_integers_override.h +++ b/instrumentation/syscalls/headers/x86-32-syscalls_integers_override.h @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: (GPL-2.0 or LGPL-2.1) */ + #ifndef CONFIG_UID16 #define OVERRIDE_32_getuid16 diff --git a/instrumentation/syscalls/headers/x86-32-syscalls-3.1.0-rc6_pointers.h b/instrumentation/syscalls/headers/x86-32-syscalls_pointers.h similarity index 99% rename from instrumentation/syscalls/headers/x86-32-syscalls-3.1.0-rc6_pointers.h rename to instrumentation/syscalls/headers/x86-32-syscalls_pointers.h index 19d9adea..bf667f22 100644 --- a/instrumentation/syscalls/headers/x86-32-syscalls-3.1.0-rc6_pointers.h +++ b/instrumentation/syscalls/headers/x86-32-syscalls_pointers.h @@ -1,4 +1,9 @@ +/* SPDX-License-Identifier: (GPL-2.0 or LGPL-2.1) */ + /* THIS FILE IS AUTO-GENERATED. DO NOT EDIT */ + +/* Generated from x86-32-syscalls 3.1.0-rc6 */ + #ifndef CREATE_SYSCALL_TABLE #if !defined(_TRACE_SYSCALLS_POINTERS_H) || defined(TRACE_HEADER_MULTI_READ) @@ -6,7 +11,7 @@ #include #include -#include "x86-32-syscalls-3.1.0-rc6_pointers_override.h" +#include "x86-32-syscalls_pointers_override.h" #include "syscalls_pointers_override.h" #ifndef OVERRIDE_32_unlink @@ -1305,7 +1310,7 @@ SC_LTTNG_TRACEPOINT_EVENT(epoll_pwait, #else /* CREATE_SYSCALL_TABLE */ -#include "x86-32-syscalls-3.1.0-rc6_pointers_override.h" +#include "x86-32-syscalls_pointers_override.h" #include "syscalls_pointers_override.h" #ifndef OVERRIDE_TABLE_32_read diff --git a/instrumentation/syscalls/headers/x86-32-syscalls-3.1.0-rc6_pointers_override.h b/instrumentation/syscalls/headers/x86-32-syscalls_pointers_override.h similarity index 95% rename from instrumentation/syscalls/headers/x86-32-syscalls-3.1.0-rc6_pointers_override.h rename to instrumentation/syscalls/headers/x86-32-syscalls_pointers_override.h index 7c804a67..d97138b9 100644 --- a/instrumentation/syscalls/headers/x86-32-syscalls-3.1.0-rc6_pointers_override.h +++ b/instrumentation/syscalls/headers/x86-32-syscalls_pointers_override.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: (GPL-2.0 or LGPL-2.1) */ #ifndef CREATE_SYSCALL_TABLE diff --git a/instrumentation/syscalls/headers/x86-64-syscalls-3.10.0-rc7_integers.h b/instrumentation/syscalls/headers/x86-64-syscalls_integers.h similarity index 99% rename from instrumentation/syscalls/headers/x86-64-syscalls-3.10.0-rc7_integers.h rename to instrumentation/syscalls/headers/x86-64-syscalls_integers.h index f7cf7c1d..57b5d1c1 100644 --- a/instrumentation/syscalls/headers/x86-64-syscalls-3.10.0-rc7_integers.h +++ b/instrumentation/syscalls/headers/x86-64-syscalls_integers.h @@ -1,4 +1,9 @@ +/* SPDX-License-Identifier: (GPL-2.0 or LGPL-2.1) */ + /* THIS FILE IS AUTO-GENERATED. DO NOT EDIT */ + +/* Generated from x86-64-syscalls 3.10.0-rc7 */ + #ifndef CREATE_SYSCALL_TABLE #if !defined(_TRACE_SYSCALLS_INTEGERS_H) || defined(TRACE_HEADER_MULTI_READ) @@ -6,7 +11,7 @@ #include #include -#include "x86-64-syscalls-3.10.0-rc7_integers_override.h" +#include "x86-64-syscalls_integers_override.h" #include "syscalls_integers_override.h" #ifdef SC_ENTER @@ -750,7 +755,7 @@ SC_LTTNG_TRACEPOINT_EVENT(mmap, #else /* CREATE_SYSCALL_TABLE */ -#include "x86-64-syscalls-3.10.0-rc7_integers_override.h" +#include "x86-64-syscalls_integers_override.h" #include "syscalls_integers_override.h" #ifdef SC_ENTER diff --git a/instrumentation/syscalls/headers/x86-64-syscalls-3.10.0-rc7_integers_override.h b/instrumentation/syscalls/headers/x86-64-syscalls_integers_override.h similarity index 60% rename from instrumentation/syscalls/headers/x86-64-syscalls-3.10.0-rc7_integers_override.h rename to instrumentation/syscalls/headers/x86-64-syscalls_integers_override.h index 5f971e70..ba5f5b1e 100644 --- a/instrumentation/syscalls/headers/x86-64-syscalls-3.10.0-rc7_integers_override.h +++ b/instrumentation/syscalls/headers/x86-64-syscalls_integers_override.h @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: (GPL-2.0 or LGPL-2.1) */ + /* * this is a place-holder for x86_64 integer syscall definition override. */ diff --git a/instrumentation/syscalls/headers/x86-64-syscalls-3.10.0-rc7_pointers.h b/instrumentation/syscalls/headers/x86-64-syscalls_pointers.h similarity index 99% rename from instrumentation/syscalls/headers/x86-64-syscalls-3.10.0-rc7_pointers.h rename to instrumentation/syscalls/headers/x86-64-syscalls_pointers.h index 9d9a1b5c..ad438367 100644 --- a/instrumentation/syscalls/headers/x86-64-syscalls-3.10.0-rc7_pointers.h +++ b/instrumentation/syscalls/headers/x86-64-syscalls_pointers.h @@ -1,4 +1,9 @@ +/* SPDX-License-Identifier: (GPL-2.0 or LGPL-2.1) */ + /* THIS FILE IS AUTO-GENERATED. DO NOT EDIT */ + +/* Generated from x86-64-syscalls 3.10.0-rc7 */ + #ifndef CREATE_SYSCALL_TABLE #if !defined(_TRACE_SYSCALLS_POINTERS_H) || defined(TRACE_HEADER_MULTI_READ) @@ -6,7 +11,7 @@ #include #include -#include "x86-64-syscalls-3.10.0-rc7_pointers_override.h" +#include "x86-64-syscalls_pointers_override.h" #include "syscalls_pointers_override.h" #ifndef OVERRIDE_64_pipe @@ -1347,7 +1352,7 @@ SC_LTTNG_TRACEPOINT_EVENT(process_vm_writev, #else /* CREATE_SYSCALL_TABLE */ -#include "x86-64-syscalls-3.10.0-rc7_pointers_override.h" +#include "x86-64-syscalls_pointers_override.h" #include "syscalls_pointers_override.h" #ifndef OVERRIDE_TABLE_64_read diff --git a/instrumentation/syscalls/headers/x86-64-syscalls-3.10.0-rc7_pointers_override.h b/instrumentation/syscalls/headers/x86-64-syscalls_pointers_override.h similarity index 99% rename from instrumentation/syscalls/headers/x86-64-syscalls-3.10.0-rc7_pointers_override.h rename to instrumentation/syscalls/headers/x86-64-syscalls_pointers_override.h index 6bf5291c..93fa7b57 100644 --- a/instrumentation/syscalls/headers/x86-64-syscalls-3.10.0-rc7_pointers_override.h +++ b/instrumentation/syscalls/headers/x86-64-syscalls_pointers_override.h @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: (GPL-2.0 or LGPL-2.1) */ + #ifndef CREATE_SYSCALL_TABLE #define OVERRIDE_64_connect diff --git a/instrumentation/syscalls/lttng-syscalls-generate-headers.sh b/instrumentation/syscalls/lttng-syscalls-generate-headers.sh index 0096c69b..772e6dc7 100755 --- a/instrumentation/syscalls/lttng-syscalls-generate-headers.sh +++ b/instrumentation/syscalls/lttng-syscalls-generate-headers.sh @@ -7,17 +7,17 @@ # example usage: # # lttng-syscalls-generate-headers.sh -# lttng-syscalls-generate-headers.sh integers 3.0.4 x86-64-syscalls-3.0.4 64 -# lttng-syscalls-generate-headers.sh pointers 3.0.4 x86-64-syscalls-3.0.4 64 +# lttng-syscalls-generate-headers.sh integers 3.0.4 x86-64-syscalls 64 +# lttng-syscalls-generate-headers.sh pointers 3.0.4 x86-64-syscalls 64 CLASS=$1 -INPUTDIR=$2 +VERSIONDIR=$2 INPUTFILE=$3 BITNESS=$4 -INPUT=${INPUTDIR}/${INPUTFILE} +INPUT=${VERSIONDIR}/${INPUTFILE} HEADER=headers/${INPUTFILE}_${CLASS}.h -if [ x"$INPUTDIR" = x"" ]; then +if [ x"$VERSIONDIR" = x"" ]; then echo "Error: Please specify input directory as second argument" >&2 exit 1 fi @@ -74,6 +74,8 @@ echo "/* SPDX-License-Identifier: (GPL-2.0 or LGPL-2.1) */ /* THIS FILE IS AUTO-GENERATED. DO NOT EDIT */ +/* Generated from ${INPUTFILE} ${VERSIONDIR} */ + #ifndef CREATE_SYSCALL_TABLE #if !defined(_TRACE_SYSCALLS_${CLASSCAP}_H) || defined(TRACE_HEADER_MULTI_READ) -- 2.34.1