summaryrefslogtreecommitdiffstats
path: root/docs/devel
diff options
context:
space:
mode:
authorStefan Hajnoczi2017-07-14 15:31:11 +0200
committerStefan Hajnoczi2017-07-17 14:11:13 +0200
commit304187c51cfe1ffda1afc9b86c4ccae1cbac68cb (patch)
tree78aa03efbfea7e22163f15750e9fc40798894e9d /docs/devel
parenttrace: [trivial] Statically enable all guest events (diff)
downloadqemu-304187c51cfe1ffda1afc9b86c4ccae1cbac68cb.tar.gz
qemu-304187c51cfe1ffda1afc9b86c4ccae1cbac68cb.tar.xz
qemu-304187c51cfe1ffda1afc9b86c4ccae1cbac68cb.zip
trace: update old trace events in docs
Commit c5f1ad429cdf26023cf331075a7d327708e3db6d ("block: Remove bdrv_aio_readv/writev/flush()") removed bdrv_aio_readv()/bdrv_aio_writev() so the example in the tracing documentation is no longer valid. Reported-by: Wang Dong <dongdwdw@linux.vnet.ibm.com> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Message-id: 20170714133111.27359-1-stefanha@redhat.com Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'docs/devel')
-rw-r--r--docs/devel/tracing.txt3
1 files changed, 1 insertions, 2 deletions
diff --git a/docs/devel/tracing.txt b/docs/devel/tracing.txt
index 8c0029beca..5768a0b7a2 100644
--- a/docs/devel/tracing.txt
+++ b/docs/devel/tracing.txt
@@ -14,8 +14,7 @@ for debugging, profiling, and observing execution.
2. Create a file with the events you want to trace:
- echo bdrv_aio_readv > /tmp/events
- echo bdrv_aio_writev >> /tmp/events
+ echo memory_region_ops_read >/tmp/events
3. Run the virtual machine to produce a trace file: