qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v2 0/6] trace: Add support for trace events grouping
@ 2011-10-20  6:41 Mark Wu
  2011-10-20  6:59 ` Mark Wu
  0 siblings, 1 reply; 2+ messages in thread
From: Mark Wu @ 2011-10-20  6:41 UTC (permalink / raw)
  To: stefanha; +Cc: qemu-devel

This series add support for trace events grouping. The state of a given group
of trace events can be queried or changed in bulk by the following monitor
commands:

* info trace-groups
   View available trace event groups and their state.  State 1 means enabled,
   state 0 means disabled.

* trace-group NAME on|off
   Enable/disable a given trace event group.

A group of trace events can also be enabled in early running stage through
adding its group name prefixed with "group:" to trace events list file
which is passed to "-trace events". 

Change from V1:
* fix coding style problems
* rebase against latest master 

Mark Wu (6):
  trace: Make "tracetool" generate a group list
  trace: Add HMP monitor commands for trace events group
  trace: Add trace events group implementation in the backend "simple"
  trace: Add trace events group implementation in the backend "stderr"
  trace: Enable "-trace events" argument to control initial state of   
     groups
  trace: Update doc for trace events group

 docs/tracing.txt  |   29 ++++++++++++++--
 hmp-commands.hx   |   14 ++++++++
 monitor.c         |   22 ++++++++++++
 scripts/tracetool |   94 +++++++++++++++++++++++++++++++++++++++++++++++++++-
 trace-events      |   94 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 trace/control.c   |   17 +++++++++
 trace/control.h   |    9 +++++
 trace/default.c   |   15 ++++++++
 trace/simple.c    |   30 +++++++++++++++++
 trace/simple.h    |    7 ++++
 trace/stderr.c    |   32 ++++++++++++++++++
 trace/stderr.h    |    7 ++++
 12 files changed, 365 insertions(+), 5 deletions(-)

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

* Re: [Qemu-devel] [PATCH v2 0/6] trace: Add support for trace events grouping
  2011-10-20  6:41 [Qemu-devel] [PATCH v2 0/6] trace: Add support for trace events grouping Mark Wu
@ 2011-10-20  6:59 ` Mark Wu
  0 siblings, 0 replies; 2+ messages in thread
From: Mark Wu @ 2011-10-20  6:59 UTC (permalink / raw)
  To: qemu-devel

On 10/20/2011 02:41 PM, Mark Wu wrote:
> This series add support for trace events grouping. The state of a given group
> of trace events can be queried or changed in bulk by the following monitor
> commands:
>
> * info trace-groups
>     View available trace event groups and their state.  State 1 means enabled,
>     state 0 means disabled.
>
> * trace-group NAME on|off
>     Enable/disable a given trace event group.
>
> A group of trace events can also be enabled in early running stage through
> adding its group name prefixed with "group:" to trace events list file
> which is passed to "-trace events".
>
> Change from V1:
> * fix coding style problems
> * rebase against latest master
>
> Mark Wu (6):
>    trace: Make "tracetool" generate a group list
>    trace: Add HMP monitor commands for trace events group
>    trace: Add trace events group implementation in the backend "simple"
>    trace: Add trace events group implementation in the backend "stderr"
>    trace: Enable "-trace events" argument to control initial state of
>       groups
>    trace: Update doc for trace events group
>
>   docs/tracing.txt  |   29 ++++++++++++++--
>   hmp-commands.hx   |   14 ++++++++
>   monitor.c         |   22 ++++++++++++
>   scripts/tracetool |   94 +++++++++++++++++++++++++++++++++++++++++++++++++++-
>   trace-events      |   94 +++++++++++++++++++++++++++++++++++++++++++++++++++++
>   trace/control.c   |   17 +++++++++
>   trace/control.h   |    9 +++++
>   trace/default.c   |   15 ++++++++
>   trace/simple.c    |   30 +++++++++++++++++
>   trace/simple.h    |    7 ++++
>   trace/stderr.c    |   32 ++++++++++++++++++
>   trace/stderr.h    |    7 ++++
>   12 files changed, 365 insertions(+), 5 deletions(-)
>
>
Please ignore this series of patch. I am going to make a new patch 
according to Stefan's suggestion instead of grouping.

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

end of thread, other threads:[~2011-10-20  7:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-20  6:41 [Qemu-devel] [PATCH v2 0/6] trace: Add support for trace events grouping Mark Wu
2011-10-20  6:59 ` Mark Wu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).