diff options
author | Breno Leitao <[email protected]> | 2024-10-17 02:50:20 -0700 |
---|---|---|
committer | Paolo Abeni <[email protected]> | 2024-10-22 15:44:24 +0200 |
commit | 606994ad2695ca3ffcab3494d7782c45d964c6f7 (patch) | |
tree | f6a11a2a7f088213b8caffa032a41d84245711a7 /tools/perf/scripts/python/flamegraph.py | |
parent | e1fa5d23b2c02f265f3111f4aa0a6b6b47da80a0 (diff) |
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 <[email protected]>
Reviewed-by: Simon Horman <[email protected]>
Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions