Skip to content

Commit 8fb6cb7

Browse files
aescolarcfriedt
authored andcommitted
tracing: ctf: Fix arguments for socket tracing functions (again)
Zephyr's socklen_t was changed in c546c1c to be uint32_t instea of size_t. Let's fix accordingly the prototypes which expect it. Note this was already fixed in 37ff1b2 But it was reverted in d849ab1 Signed-off-by: Alberto Escolar Piedras <[email protected]>
1 parent dc93090 commit 8fb6cb7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

subsys/tracing/ctf/ctf_top.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1010,7 +1010,7 @@ void sys_trace_socket_accept_enter(int sock)
10101010
ctf_top_socket_accept_enter(sock);
10111011
}
10121012

1013-
void sys_trace_socket_accept_exit(int sock, const struct sockaddr *addr, const size_t *addrlen,
1013+
void sys_trace_socket_accept_exit(int sock, const struct sockaddr *addr, const uint32_t *addrlen,
10141014
int ret)
10151015
{
10161016
ctf_net_bounded_string_t addr_str = {"unknown"};

0 commit comments

Comments
 (0)