mirror of https://gitee.com/openkylin/linux.git
virtio/vsock: update trace event for SEQPACKET
Add SEQPACKET socket type to vsock trace event. Signed-off-by: Arseny Krasnov <arseny.krasnov@kaspersky.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
41b792d7a8
commit
184039eefe
|
@ -9,9 +9,12 @@
|
|||
#include <linux/tracepoint.h>
|
||||
|
||||
TRACE_DEFINE_ENUM(VIRTIO_VSOCK_TYPE_STREAM);
|
||||
TRACE_DEFINE_ENUM(VIRTIO_VSOCK_TYPE_SEQPACKET);
|
||||
|
||||
#define show_type(val) \
|
||||
__print_symbolic(val, { VIRTIO_VSOCK_TYPE_STREAM, "STREAM" })
|
||||
__print_symbolic(val, \
|
||||
{ VIRTIO_VSOCK_TYPE_STREAM, "STREAM" }, \
|
||||
{ VIRTIO_VSOCK_TYPE_SEQPACKET, "SEQPACKET" })
|
||||
|
||||
TRACE_DEFINE_ENUM(VIRTIO_VSOCK_OP_INVALID);
|
||||
TRACE_DEFINE_ENUM(VIRTIO_VSOCK_OP_REQUEST);
|
||||
|
|
Loading…
Reference in New Issue