Received: from eggs.gnu.org ([2001:4830:134:3::10]:35313) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a1IN1-0005q9-0V for qemu-devel@nongnu.org; Tue, 24 Nov 2015 13:31:15 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a1IMx-00069g-RU for qemu-devel@nongnu.org; Tue, 24 Nov 2015 13:31:14 -0500 Received: from roura.ac.upc.edu ([147.83.33.10]:55005 helo=roura.ac.upc.es) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a1IMx-00069a-Gp for qemu-devel@nongnu.org; Tue, 24 Nov 2015 13:31:11 -0500 From: =?utf-8?Q?Llu=C3=ADs_Vilanova?= References: <144838492534.3052.2948919558518613064.stgit@localhost> <144838497636.3052.15443880874914788795.stgit@localhost> <5654A4F1.9090803@redhat.com> Date: Tue, 24 Nov 2015 19:31:09 +0100 In-Reply-To: <5654A4F1.9090803@redhat.com> (Eric Blake's message of "Tue, 24 Nov 2015 10:57:05 -0700") Message-ID: <87poyzz1ua.fsf@fimbulvetr.bsc.es> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH v2 09/10] trace: [tcg] Add per-vCPU tracing states for events with the 'vcpu' property List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Eric Blake Cc: Eduardo Habkost , Stefan Hajnoczi , qemu-devel@nongnu.org, Luiz Capitulino , Stefan Hajnoczi , Andreas =?utf-8?Q?F=C3=A4rber?= , Markus Armbruster Eric Blake writes: > On 11/24/2015 10:09 AM, Llu=C3=ADs Vilanova wrote: >> Each event with the 'vcpu' property gets a per-vCPU dynamic tracing stat= e. >>=20 >> The set of enabled events with the 'vcpu' and 'tcg' properties is used >> to select a per-vCPU physical TB cache. The number of events with both >> properties is used to select the number of physical TB caches, and a >> bitmap of the identifiers of such enabled events is used to select a >> physical TB cache. >>=20 >> Signed-off-by: Llu=C3=ADs Vilanova >> --- >> +++ b/qapi/trace.json >> @@ -29,7 +29,7 @@ >> # >> # @name: Event name. >> # @state: Tracing state. >> -# @vcpu: Whether this is a per-vCPU event (since 2.5). >> +# @vcpu: #optional Whether this is a per-vCPU event (since 2.5). >> # >> # Since 2.2 >> ## > Spurious hunk? It looks like vcpu is always present on output, and that > it is only... >> @@ -42,13 +42,18 @@ >> # Query the state of events. >> # >> # @name: Event name pattern (case-sensitive glob). >> +# @vcpu: #optional The vCPU to check (any by default; since 2.5). > ...the new input place where it is optional. Whoops! Misplaced tag, thanks. > 2.6. Done. Thanks, Lluis --=20 "And it's much the same thing with knowledge, for whenever you learn something new, the whole world becomes that much richer." -- The Princess of Pure Reason, as told by Norton Juster in The Phantom Tollbooth