diff options
author | Kevin Wolf <kwolf@redhat.com> | 2013-06-05 15:17:55 +0200 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2013-06-06 11:27:22 +0200 |
commit | bf736fe34caba0688c9095c31b9d097ea15c1296 (patch) | |
tree | 1f924e47bbc31d073fea6b4cd753bc6f09dee8e5 /block/blkdebug.c | |
parent | 587da2c39c9ace168f4d01fa446a54ae998a2553 (diff) | |
download | qemu-bf736fe34caba0688c9095c31b9d097ea15c1296.zip qemu-bf736fe34caba0688c9095c31b9d097ea15c1296.tar.gz qemu-bf736fe34caba0688c9095c31b9d097ea15c1296.tar.bz2 |
blkdebug: Add BLKDBG_FLUSH_TO_OS/DISK events
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'block/blkdebug.c')
-rw-r--r-- | block/blkdebug.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/block/blkdebug.c b/block/blkdebug.c index 71f99e4..ccb627a 100644 --- a/block/blkdebug.c +++ b/block/blkdebug.c @@ -182,6 +182,9 @@ static const char *event_names[BLKDBG_EVENT_MAX] = { [BLKDBG_CLUSTER_ALLOC] = "cluster_alloc", [BLKDBG_CLUSTER_ALLOC_BYTES] = "cluster_alloc_bytes", [BLKDBG_CLUSTER_FREE] = "cluster_free", + + [BLKDBG_FLUSH_TO_OS] = "flush_to_os", + [BLKDBG_FLUSH_TO_DISK] = "flush_to_disk", }; static int get_event_by_name(const char *name, BlkDebugEvent *event) |