iowatcher: Use queue events if issue not available
authorJan Kara <jack@suse.cz>
Thu, 5 May 2016 15:17:07 +0000 (17:17 +0200)
committerJens Axboe <axboe@fb.com>
Thu, 5 May 2016 15:20:18 +0000 (09:20 -0600)
commit4019edfffaf17b72d75ed14b44105aec6eb254e2
tree0c203f7d60f3244e859a994eb4bcb1dd513fd9a0
parentf53e6d27eabe09adcb5ec04549d8442b447f6104
iowatcher: Use queue events if issue not available

Currently queue depth and latency graphs are generated from ISSUE and
COMPLETE events. For traces which miss the ISSUE events (e.g. from
device mapper) use QUEUE events instead. The result won't be as great
but it still conveys some useful information.

Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Jens Axboe <axboe@fb.com>
iowatcher/blkparse.c