All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] trace: update old trace events in docs
@ 2017-07-14 13:31 Stefan Hajnoczi
  2017-07-14 14:23 ` Eric Blake
  0 siblings, 1 reply; 2+ messages in thread
From: Stefan Hajnoczi @ 2017-07-14 13:31 UTC (permalink / raw)
  To: qemu-devel; +Cc: Wang Dong, Stefan Hajnoczi

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>
---
 docs/devel/tracing.txt | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/docs/devel/tracing.txt b/docs/devel/tracing.txt
index 8c0029b..5768a0b 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:
 
-- 
2.9.4

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [Qemu-devel] [PATCH] trace: update old trace events in docs
  2017-07-14 13:31 [Qemu-devel] [PATCH] trace: update old trace events in docs Stefan Hajnoczi
@ 2017-07-14 14:23 ` Eric Blake
  0 siblings, 0 replies; 2+ messages in thread
From: Eric Blake @ 2017-07-14 14:23 UTC (permalink / raw)
  To: Stefan Hajnoczi, qemu-devel; +Cc: Wang Dong

[-- Attachment #1: Type: text/plain, Size: 1160 bytes --]

On 07/14/2017 08:31 AM, Stefan Hajnoczi wrote:
> 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>
> ---
>  docs/devel/tracing.txt | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)

Reviewed-by: Eric Blake <eblake@redhat.com>

> 
> diff --git a/docs/devel/tracing.txt b/docs/devel/tracing.txt
> index 8c0029b..5768a0b 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:
>  
> 

-- 
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3266
Virtualization:  qemu.org | libvirt.org


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 604 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-07-14 14:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-07-14 13:31 [Qemu-devel] [PATCH] trace: update old trace events in docs Stefan Hajnoczi
2017-07-14 14:23 ` Eric Blake

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.