Re: [PATCH v4 2/2] trace: Example of non-tracing recorder use

2020-08-03 Thread Markus Armbruster
Stefan Hajnoczi writes: > On Thu, Jul 23, 2020 at 03:29:03PM +0200, Christophe de Dinechin wrote: >> This patch is a simple example showing how the recorder can be used to >> have one "topic" covering multiple entries. Here, the topic is "lock", >> the idea being to have the latest lock changes f

Re: [PATCH v4 2/2] trace: Example of non-tracing recorder use

2020-08-03 Thread Stefan Hajnoczi
On Thu, Jul 23, 2020 at 03:29:03PM +0200, Christophe de Dinechin wrote: > This patch is a simple example showing how the recorder can be used to > have one "topic" covering multiple entries. Here, the topic is "lock", > the idea being to have the latest lock changes for instance in case of > a cras

[PATCH v4 2/2] trace: Example of non-tracing recorder use

2020-07-23 Thread Christophe de Dinechin
This patch is a simple example showing how the recorder can be used to have one "topic" covering multiple entries. Here, the topic is "lock", the idea being to have the latest lock changes for instance in case of a crash or hang. Here are a few use cases: * Tracing lock updates: RECORDER_TRA