===================================================================
@@ -295,6 +295,14 @@ typedef enum {
BLKDBG_CLUSTER_ALLOC_BYTES,
BLKDBG_CLUSTER_FREE,
+ BLKDBG_BLKCOPY_STAGE_BULK,
+ BLKDBG_BLKCOPY_STAGE_BULK_FINISHED,
+ BLKDBG_BLKCOPY_STAGE_DIRTY,
+ BLKDBG_BLKCOPY_STAGE_MIRROR_WRITES,
+ BLKDBG_BLKCOPY_STAGE_SWITCH_FINISHED,
+ BLKDBG_BLKCOPY_SWITCH_START,
+ BLKDBG_BLKCOPY_AIO_WRITE,
+
BLKDBG_EVENT_MAX,
} BlkDebugEvent;
===================================================================
@@ -178,6 +178,15 @@ static const char *event_names[BLKDBG_EV
[BLKDBG_CLUSTER_ALLOC] = "cluster_alloc",
[BLKDBG_CLUSTER_ALLOC_BYTES] = "cluster_alloc_bytes",
[BLKDBG_CLUSTER_FREE] = "cluster_free",
+
+
+ [BLKDBG_BLKCOPY_STAGE_BULK] = "blkcopy_stage_bulk",
+ [BLKDBG_BLKCOPY_STAGE_BULK_FINISHED] = "blkcopy_stage_bulk_finished",
+ [BLKDBG_BLKCOPY_STAGE_DIRTY] = "blkcopy_stage_dirty",
+ [BLKDBG_BLKCOPY_STAGE_MIRROR_WRITES] = "blkcopy_stage_mirror_writes",
+ [BLKDBG_BLKCOPY_STAGE_SWITCH_FINISHED] = "blkcopy_stage_switch_finished",
+ [BLKDBG_BLKCOPY_SWITCH_START] = "blkcopy_switch_start",
+ [BLKDBG_BLKCOPY_AIO_WRITE] = "blkcopy_aio_write",
};
static int get_event_by_name(const char *name, BlkDebugEvent *event)
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>