Skip to content

Commit

Permalink
trace: update old trace events in docs
Browse files Browse the repository at this point in the history
Commit c5f1ad4 ("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 <[email protected]>
Signed-off-by: Stefan Hajnoczi <[email protected]>
Reviewed-by: Eric Blake <[email protected]>
Message-id: [email protected]
Signed-off-by: Stefan Hajnoczi <[email protected]>
  • Loading branch information
stefanhaRH committed Jul 17, 2017
1 parent 5caa262 commit 304187c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions docs/devel/tracing.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down

0 comments on commit 304187c

Please sign in to comment.