diff options
author | Breno Leitao <[email protected]> | 2024-10-17 02:50:21 -0700 |
---|---|---|
committer | Paolo Abeni <[email protected]> | 2024-10-22 15:44:25 +0200 |
commit | b8dee8ed13b83b701b715dac993582d57c76e31a (patch) | |
tree | 158a917cc36f1189ac35f7b5e6abf9efd70c53ab /tools/perf/scripts/python/flamegraph.py | |
parent | 606994ad2695ca3ffcab3494d7782c45d964c6f7 (diff) |
net: netconsole: track explicitly if msgbody was written to buffer
The current check to determine if the message body was fully sent is
difficult to follow. To improve clarity, introduce a variable that
explicitly tracks whether the message body (msgbody) has been completely
sent, indicating when it's time to begin sending userdata.
Additionally, add comments to make the code more understandable for
others who may work with it.
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