Skip to content

Commit 1eb0680

Browse files
committed
tracing: fix build error because of conflicting types
Change addrlen parameter type from 'const size_t *' to 'const uint32_t *'to match the declaration in tracing_ctf.h and resolve compilation error. Signed-off-by: Jony Zhang <jony.zhang@nxp.com>
1 parent 0047a59 commit 1eb0680

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)