diff options
author | Breno Leitao <leitao@debian.org> | 2024-10-17 02:50:21 -0700 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2024-10-22 15:44:25 +0200 |
commit | b8dee8ed13b83b701b715dac993582d57c76e31a (patch) | |
tree | 158a917cc36f1189ac35f7b5e6abf9efd70c53ab /tools/perf/scripts/python/exported-sql-viewer.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 <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/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions