cleanup: document 'pipe' syscall override
authorMichael Jeanson <mjeanson@efficios.com>
Wed, 8 May 2024 18:47:09 +0000 (14:47 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 6 Jun 2024 20:31:45 +0000 (16:31 -0400)
Change-Id: Iec84c10b774c1001ff2035024a1d05fdd31c8d9d
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
include/instrumentation/syscalls/arm-32-syscalls_pointers_override.h
include/instrumentation/syscalls/powerpc-32-syscalls_pointers_override.h
include/instrumentation/syscalls/syscalls_pointers_override.h
include/instrumentation/syscalls/x86-32-syscalls_pointers_override.h
include/instrumentation/syscalls/x86-64-syscalls_pointers_override.h

index 96fb731f7212a5e025a059f498e3f6d94315f7cd..6c08b79435165b96e77f21fe5999f118751660cf 100644 (file)
 #endif /* CONFIG_COMPAT_OLD_SIGACTION */
 #endif
 
+/*
+ * Override 'pipe' to set the output field 'fildes' to an array of 2 integers
+ * instead of the default integer pointer.
+ */
 #define OVERRIDE_32_pipe
 SC_LTTNG_TRACEPOINT_EVENT(pipe,
        TP_PROTO(sc_exit(long ret,) int * fildes),
index fde30d270ff2cdbaf1307c331997077b0e830475..b0006833b2923b3a73da32bb30a1e6563b40a23d 100644 (file)
@@ -4,6 +4,10 @@
 
 #ifndef CREATE_SYSCALL_TABLE
 
+/*
+ * Override 'pipe' to set the output field 'fildes' to an array of 2 integers
+ * instead of the default integer pointer.
+ */
 #define OVERRIDE_32_pipe
 SC_LTTNG_TRACEPOINT_EVENT(pipe,
        TP_PROTO(sc_exit(long ret,) int * fildes),
index 924677491b12b343c096eeaa486c4c6228162f42..b3647ecd27c7378d3960512809318f779e2ef731 100644 (file)
@@ -193,6 +193,10 @@ SC_LTTNG_TRACEPOINT_EVENT(getcpu,
        )
 )
 
+/*
+ * Override 'pipe2' to set the output field 'fildes' to an array of 2 integers
+ * instead of the default integer pointer.
+ */
 #define OVERRIDE_32_pipe2
 #define OVERRIDE_64_pipe2
 SC_LTTNG_TRACEPOINT_EVENT(pipe2,
index bd63ed09ceebda18410da8f6dcd076060f329589..63a900f619b2ac5b5b96eb0991c410462384f8b5 100644 (file)
 #endif /* CONFIG_COMPAT_OLD_SIGACTION */
 #endif
 
+/*
+ * Override 'pipe' to set the output field 'fildes' to an array of 2 integers
+ * instead of the default integer pointer.
+ */
 #define OVERRIDE_32_pipe
 #define OVERRIDE_64_pipe
 SC_LTTNG_TRACEPOINT_EVENT(pipe,
index bd88945124285608df97c82dc4325c574169ce91..e88a97aa3addbf3fbe9abba8a930b0a014fcba4f 100644 (file)
@@ -155,6 +155,10 @@ SC_LTTNG_TRACEPOINT_EVENT_CODE(accept4,
        TP_code_post()
 )
 
+/*
+ * Override 'pipe' to set the output field 'fildes' to an array of 2 integers
+ * instead of the default integer pointer.
+ */
 #define OVERRIDE_64_pipe
 SC_LTTNG_TRACEPOINT_EVENT(pipe,
        TP_PROTO(sc_exit(long ret,) int * fildes),
This page took 0.031588 seconds and 4 git commands to generate.