aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorArseny Krasnov <[email protected]>2021-09-03 15:32:35 +0300
committerMichael S. Tsirkin <[email protected]>2021-09-05 16:23:09 -0400
commit1af7e55511fe194a07f3fa4e77b5b9d10bdd9208 (patch)
treec548575984c6d18f8645791daf335f1044dcf8ba /tools/perf/util/trace-event-scripting.c
parent41116599a0731f4cd451e9d191d879ab45e31945 (diff)
vhost/vsock: support MSG_EOR bit processing
'MSG_EOR' handling has similar logic as 'MSG_EOM' - if bit present in packet's header, reset it to 0. Then restore it back if packet processing wasn't completed. Instead of bool variable for each flag, bit mask variable was added: it has logical OR of 'MSG_EOR' and 'MSG_EOM' if needed, to restore flags, this variable is ORed with flags field of packet. Signed-off-by: Arseny Krasnov <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Michael S. Tsirkin <[email protected]> Reviewed-by: Stefano Garzarella <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions