Fix: x86-64 accept instrumentation
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 19 Aug 2016 14:58:26 +0000 (10:58 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 19 Aug 2016 14:58:26 +0000 (10:58 -0400)
The ipv4/ipv6 addr are output parameters.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
instrumentation/syscalls/headers/x86-64-syscalls-3.10.0-rc7_pointers_override.h

index 837991a6a1667c127715c6affb14c5f1dc569f67..40fa930accb7f22efe99fe1ca1a61fa96f97abc6 100644 (file)
@@ -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()
 )
This page took 0.026606 seconds and 4 git commands to generate.