[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2 3/3] trace: Example of "centralized" recorder tracing
From: |
Stefan Hajnoczi |
Subject: |
Re: [PATCH v2 3/3] trace: Example of "centralized" recorder tracing |
Date: |
Tue, 30 Jun 2020 13:58:04 +0100 |
On Fri, Jun 26, 2020 at 06:27:06PM +0200, Christophe de Dinechin wrote:
> This is an example showing how the recorder can be used to have one
> "topic" covering multiple entries. Here, the topic is "lock".
>
> Here are a few use cases:
>
> - Checking locks:
> RECORDER_TRACES=lock qemu
> - Graphic visualization of locks:
> RECORDER_TRACES="lock=state,id" qemu &
> recorder_scope state
> <Hit the 't' key to toggle timing display>
> <Hit the 'c' key to dump the screen data as CSV>
> cat recorder_scope_data-1.csv
>
> Signed-off-by: Christophe de Dinechin <dinechin@redhat.com>
> ---
> util/qemu-thread-common.h | 7 +++++++
> 1 file changed, 7 insertions(+)
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
signature.asc
Description: PGP signature
- [PATCH v2 0/3] trace: Add a trace backend for the recorder library, Christophe de Dinechin, 2020/06/26
- [PATCH v2 1/3] Makefile: Compute libraries for libqemuutil.a and libvhost-user.a, Christophe de Dinechin, 2020/06/26
- [PATCH v2 2/3] trace: Add support for recorder back-end, Christophe de Dinechin, 2020/06/26
- [PATCH v2 3/3] trace: Example of "centralized" recorder tracing, Christophe de Dinechin, 2020/06/26
- Re: [PATCH v2 0/3] trace: Add a trace backend for the recorder library, no-reply, 2020/06/26
- Re: [PATCH v2 0/3] trace: Add a trace backend for the recorder library, Stefan Hajnoczi, 2020/06/30