Skip to content
  • Stefan Hajnoczi's avatar
    qemu-io: add option to enable tracing · d7bb72c8
    Stefan Hajnoczi authored
    
    
    It can be useful to enable QEMU tracing when trying out block layer
    interfaces via qemu-io.  Tracing can be enabled using the new -T FILE
    option where the given file contains a list of trace events to enable
    (just like the qemu --trace events=FILE option).
    
      $ echo qemu_vfree >my-events
      $ ./qemu-io -T my-events ...
    
    Remember to use ./configure --enable-trace-backend=BACKEND when building
    qemu-io.
    
    Signed-off-by: default avatarStefan Hajnoczi <stefanha@linux.vnet.ibm.com>
    Signed-off-by: default avatarKevin Wolf <kwolf@redhat.com>
    d7bb72c8