From: Mathieu Desnoyers Date: Fri, 19 Aug 2016 14:58:26 +0000 (-0400) Subject: Fix: x86-64 accept instrumentation X-Git-Tag: v2.8.1~13 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=b06d8b692f2c9b766528446a4091b3693a7ab577;p=lttng-modules.git Fix: x86-64 accept instrumentation The ipv4/ipv6 addr are output parameters. Signed-off-by: Mathieu Desnoyers --- diff --git a/instrumentation/syscalls/headers/x86-64-syscalls-3.10.0-rc7_pointers_override.h b/instrumentation/syscalls/headers/x86-64-syscalls-3.10.0-rc7_pointers_override.h index 837991a6..40fa930a 100644 --- a/instrumentation/syscalls/headers/x86-64-syscalls-3.10.0-rc7_pointers_override.h +++ b/instrumentation/syscalls/headers/x86-64-syscalls-3.10.0-rc7_pointers_override.h @@ -102,8 +102,8 @@ SC_LTTNG_TRACEPOINT_EVENT_CODE(accept, sc_inout(ctf_integer(int, upeer_addrlen, tp_locvar->uaddr_len)) sc_out(ctf_integer(int, family, tp_locvar->sa_family)) sc_out(ctf_integer_network(uint16_t, sport, tp_locvar->sport)) - sc_in(ctf_sequence_network(uint8_t, v4addr, &tp_locvar->v4addr, unsigned int, tp_locvar->v4addr_len)) - sc_in(ctf_sequence_network(uint16_t, v6addr, &tp_locvar->v6addr, unsigned int, tp_locvar->v6addr_len)) + sc_out(ctf_sequence_network(uint8_t, v4addr, &tp_locvar->v4addr, unsigned int, tp_locvar->v4addr_len)) + sc_out(ctf_sequence_network(uint16_t, v6addr, &tp_locvar->v6addr, unsigned int, tp_locvar->v6addr_len)) ), TP_code_post() )