block: move trace probes into bdrv_co_preadv|pwritev
commitf42cf447e2310e84e119b99f7f13c8dc7a6cf3d6
authorDaniel P. Berrange <berrange@redhat.com>
Fri, 4 Aug 2017 10:50:36 +0000 (4 11:50 +0100)
committerStefan Hajnoczi <stefanha@redhat.com>
Mon, 7 Aug 2017 08:39:35 +0000 (7 09:39 +0100)
tree941e401b34cb90ef071fc219da469d841ceafaba
parentac44ed2afb7c60255e989b163301479f5b4ecd04
block: move trace probes into bdrv_co_preadv|pwritev

There are trace probes in bdrv_co_readv|writev, however, the
block drivers are being gradually moved over to using the
bdrv_co_preadv|pwritev functions instead. As a result some
block drivers miss the current probes. Move the probes
into bdrv_co_preadv|pwritev instead, so that they are triggered
by more (all?) I/O code paths.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Message-id: 20170804105036.11879-1-berrange@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
block/io.c
block/trace-events