trace: use TP_STORE_ADDRS() macro in inet_sock_set_state()
authorJason Xing <kernelxing@tencent.com>
Mon, 25 Mar 2024 03:43:47 +0000 (11:43 +0800)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 26 Mar 2024 10:12:06 +0000 (11:12 +0100)
commit646700ce23f4a3f5e967c394d74ed4ea8998b2af
tree7f8e7e9164ccebd3ebd61b206f45d98a08db552d
parenta24c855a5ef2cd07dece2ccf131c4f40986c584d
trace: use TP_STORE_ADDRS() macro in inet_sock_set_state()

As the title said, use the macro directly like the patch[1] did
to avoid those duplications. No functional change.

[1]
commit 6a6b0b9914e7 ("tcp: Avoid preprocessor directives in tracepoint macro args")

Signed-off-by: Jason Xing <kernelxing@tencent.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
include/trace/events/sock.h