drm/virtio: add trace events for commands
authorChia-I Wu <olvaffe@gmail.com>
Mon, 29 Apr 2019 22:08:25 +0000 (15:08 -0700)
committerGerd Hoffmann <kraxel@redhat.com>
Mon, 6 May 2019 08:52:58 +0000 (10:52 +0200)
commit5daf8857c9909903348a1559586be8a09564089e
treef0745c98460b9933e447a139a1a6daa3bc1ecca9
parent48ad7751dbd1facd5500c4718698aec550aaea6e
drm/virtio: add trace events for commands

Trace when commands are queued for both ctrlq and cursorq.  Trace
when responses are received for ctrlq.

Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20190429220825.156644-3-olvaffe@gmail.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
drivers/gpu/drm/virtio/Makefile
drivers/gpu/drm/virtio/virtgpu_trace.h [new file with mode: 0644]
drivers/gpu/drm/virtio/virtgpu_trace_points.c [new file with mode: 0644]
drivers/gpu/drm/virtio/virtgpu_vq.c