net: add trace_vhost_user_event
commit69b32a6ce4e1a6096a496996fcda833eb54e81b9
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Fri, 9 Oct 2015 15:17:30 +0000 (9 17:17 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 22 Oct 2015 11:34:49 +0000 (22 14:34 +0300)
tree57f55c860e25c681780d68600aebe628aa9db16b
parentc62b91e5804e7d2b1e8e253fc4031b4ea67a11f7
net: add trace_vhost_user_event

Replace error_report() and use tracing instead. It's not an error to get
a connection or a disconnection, so silence this and trace it instead.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Tested-by: Thibaut Collet <thibaut.collet@6wind.com>
net/vhost-user.c
trace-events