From 4667f7f663bcf3e8ec315fc7965893aeabd64e95 Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Mon, 10 May 2021 11:01:02 -0400 Subject: [PATCH] Fix: incorrect in/out direction for syscall exit 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 Change-Id: Ib34912005323ea34b6d11ca9acc5edf491649cdd --- src/lttng-syscalls-exit-compat-table.c | 6 +++--- src/lttng-syscalls-exit-table.c | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/lttng-syscalls-exit-compat-table.c b/src/lttng-syscalls-exit-compat-table.c index 58fc3275..2ba0c016 100644 --- a/src/lttng-syscalls-exit-compat-table.c +++ b/src/lttng-syscalls-exit-compat-table.c @@ -32,11 +32,11 @@ #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__ diff --git a/src/lttng-syscalls-exit-table.c b/src/lttng-syscalls-exit-table.c index aaaa331b..8e49b425 100644 --- a/src/lttng-syscalls-exit-table.c +++ b/src/lttng-syscalls-exit-table.c @@ -32,11 +32,11 @@ #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__ -- 2.34.1