Fix: incorrect in/out direction for syscall exit
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 10 May 2021 15:01:02 +0000 (11:01 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 4 Mar 2022 15:38:55 +0000 (10:38 -0500)
Syscall exit should fetch the "sc_out" parameters. This issue was
introduced by commit e42c4f49c15b ("Split syscall tracepoint generation in their own files").

Fixes: e42c4f49c15b ("Split syscall tracepoint generation in their own files")
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Change-Id: Ib34912005323ea34b6d11ca9acc5edf491649cdd

src/lttng-syscalls-exit-compat-table.c
src/lttng-syscalls-exit-table.c

index 58fc3275650da107e8568b8b1f2248bc17fccdcc..2ba0c016c4dccb7d1368c20b7cf04a888cd2d131 100644 (file)
 #define SC_EXIT
 
 #undef sc_in
-#define sc_in(...)     __VA_ARGS__
+#define sc_in(...)
 #undef sc_out
-#define sc_out(...)
+#define sc_out(...)            __VA_ARGS__
 #undef sc_inout
-#define sc_inout(...)  __VA_ARGS__
+#define sc_inout(...)          __VA_ARGS__
 #undef sc_exit
 #define sc_exit(...)           __VA_ARGS__
 
index aaaa331bbdd61b0de6c24ffcff49ccad7a786204..8e49b42504d65118d0673ad91e64971f76be82fe 100644 (file)
 #define SC_EXIT
 
 #undef sc_in
-#define sc_in(...)     __VA_ARGS__
+#define sc_in(...)
 #undef sc_out
-#define sc_out(...)
+#define sc_out(...)            __VA_ARGS__
 #undef sc_inout
-#define sc_inout(...)  __VA_ARGS__
+#define sc_inout(...)          __VA_ARGS__
 #undef sc_exit
 #define sc_exit(...)           __VA_ARGS__
 
This page took 0.026325 seconds and 4 git commands to generate.