All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Lluís Vilanova" <vilanova@ac.upc.edu>
To: Eric Blake <eblake@redhat.com>
Cc: qemu-devel@nongnu.org, Paolo Bonzini <pbonzini@redhat.com>,
	Eduardo Habkost <ehabkost@redhat.com>,
	Stefan Hajnoczi <stefanha@redhat.com>,
	Luiz Capitulino <lcapitulino@redhat.com>,
	Markus Armbruster <armbru@redhat.com>
Subject: Re: [Qemu-devel] [PATCH v8 7/7] trace: Add QAPI/QMP interfaces to query and control per-vCPU tracing state
Date: Tue, 05 Jul 2016 12:33:45 +0200	[thread overview]
Message-ID: <87d1ms8jcm.fsf@fimbulvetr.bsc.es> (raw)
In-Reply-To: <577B11F9.5060601@redhat.com> (Eric Blake's message of "Mon, 4 Jul 2016 19:48:41 -0600")

Eric Blake writes:

> On 07/04/2016 03:41 AM, Lluís Vilanova wrote:
>> Signed-off-by: Lluís Vilanova <vilanova@ac.upc.edu>
>> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
>> ---
>> hmp-commands-info.hx |    6 +-
>> hmp-commands.hx      |    7 +-
>> monitor.c            |   17 +++++-
>> qapi/trace.json      |   32 +++++++++--
>> qmp-commands.hx      |   35 +++++++++++-
>> trace/qmp.c          |  148 ++++++++++++++++++++++++++++++++++++++++----------
>> 6 files changed, 202 insertions(+), 43 deletions(-)
>> 

>> +++ b/qapi/trace.json
>> @@ -1,6 +1,6 @@
>> # -*- mode: python -*-
>> #
>> -# Copyright (C) 2011-2014 Lluís Vilanova <vilanova@ac.upc.edu>
>> +# Copyright (C) 2011-2016 Lluís Vilanova <vilanova@ac.upc.edu>
>> #
>> # This work is licensed under the terms of the GNU GPL, version 2 or later.
>> # See the COPYING file in the top-level directory.
>> @@ -29,11 +29,14 @@
>> #
>> # @name: Event name.
>> # @state: Tracing state.
>> +# @vcpu: Whether this is a per-vCPU event (since 2.7).
>> +#
>> +# An event is per-vCPU if it has the "vcpu" property in the "trace-events" file.

> Is this comment still true, now that we've split trace-events into
> multiple files?

It is true for the few events we have now with this property. I can change it
to:

  An event is per-vCPU if it has the "vcpu" property in the "trace-events"
  files.

Note the plural in "files".


Cheers,
  Lluis

      reply	other threads:[~2016-07-05 10:33 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-04  9:40 [Qemu-devel] [PATCH v8 0/7] trace: Per-vCPU tracing states Lluís Vilanova
2016-07-04  9:40 ` [Qemu-devel] [PATCH v8 1/7] trace: Identify events with the 'vcpu' property Lluís Vilanova
2016-07-04  9:40 ` [Qemu-devel] [PATCH v8 2/7] disas: Remove unused macro '_' Lluís Vilanova
2016-07-04  9:40   ` Lluís Vilanova
2016-07-04  9:41 ` [Qemu-devel] [PATCH v8 3/7] [trivial] trace: Cosmetic changes on fast-path tracing Lluís Vilanova
2016-07-04  9:41 ` [Qemu-devel] [PATCH v8 4/7] trace: Add per-vCPU tracing states for events with the 'vcpu' property Lluís Vilanova
2016-07-04  9:41 ` [Qemu-devel] [PATCH v8 5/7] trace: Conditionally trace events based on their per-vCPU state Lluís Vilanova
2016-07-04  9:41 ` [Qemu-devel] [PATCH v8 6/7] trace: Allow event name pattern in "info trace-events" Lluís Vilanova
2016-07-04  9:41 ` [Qemu-devel] [PATCH v8 7/7] trace: Add QAPI/QMP interfaces to query and control per-vCPU tracing state Lluís Vilanova
2016-07-04 11:00   ` Markus Armbruster
2016-07-05  1:48   ` Eric Blake
2016-07-05 10:33     ` Lluís Vilanova [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87d1ms8jcm.fsf@fimbulvetr.bsc.es \
    --to=vilanova@ac.upc.edu \
    --cc=armbru@redhat.com \
    --cc=eblake@redhat.com \
    --cc=ehabkost@redhat.com \
    --cc=lcapitulino@redhat.com \
    --cc=pbonzini@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=stefanha@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.