trace: use TP_STORE_ADDRS() macro in inet_sk_error_report()
authorJason Xing <kernelxing@tencent.com>
Mon, 25 Mar 2024 03:43:46 +0000 (11:43 +0800)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 26 Mar 2024 10:12:05 +0000 (11:12 +0100)
commita24c855a5ef2cd07dece2ccf131c4f40986c584d
treee8512f95a4e494a1ce00535a8f0d60c9834b621d
parentb3af9045b482925c770f56f81d68c0b9bc6c5049
trace: use TP_STORE_ADDRS() macro in inet_sk_error_report()

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