diff options
author | 2024-10-17 02:50:20 -0700 | |
---|---|---|
committer | 2024-10-22 15:44:24 +0200 | |
commit | 606994ad2695ca3ffcab3494d7782c45d964c6f7 (patch) | |
tree | f6a11a2a7f088213b8caffa032a41d84245711a7 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | net: netconsole: rename body to msg_body (diff) | |
download | wireguard-linux-606994ad2695ca3ffcab3494d7782c45d964c6f7.tar.xz wireguard-linux-606994ad2695ca3ffcab3494d7782c45d964c6f7.zip |
net: netconsole: introduce variable to track body length
This new variable tracks the total length of the data to be sent,
encompassing both the message body (msgbody) and userdata, which is
collectively called body.
By explicitly defining body_len, the code becomes clearer and easier to
reason about, simplifying offset calculations and improving overall
readability of the function.
Signed-off-by: Breno Leitao <leitao@debian.org>
Reviewed-by: Simon Horman <horms@kernel.org>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions