[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v2 09/10] trace: [tcg] Add per-vCPU tracing stat
From: |
Lluís Vilanova |
Subject: |
Re: [Qemu-devel] [PATCH v2 09/10] trace: [tcg] Add per-vCPU tracing states for events with the 'vcpu' property |
Date: |
Tue, 24 Nov 2015 19:31:09 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
Eric Blake writes:
> On 11/24/2015 10:09 AM, Lluís Vilanova wrote:
>> Each event with the 'vcpu' property gets a per-vCPU dynamic tracing state.
>>
>> 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.
>>
>> Signed-off-by: Lluís Vilanova <address@hidden>
>> ---
>> +++ 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
--
"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
- [Qemu-devel] [PATCH v2 00/10] trace: Per-vCPU tracing states, Lluís Vilanova, 2015/11/24
- [Qemu-devel] [PATCH v2 02/10] trace: Add 'vcpu' event property, Lluís Vilanova, 2015/11/24
- [Qemu-devel] [PATCH v2 03/10] trace: [tcg] Identify events with the 'vcpu' property, Lluís Vilanova, 2015/11/24
- [Qemu-devel] [PATCH v2 05/10] exec: [ŧcg] Use multiple physical TB caches, Lluís Vilanova, 2015/11/24
- [Qemu-devel] [PATCH v2 04/10] exec: [tcg] Refactor flush of per-CPU virtual TB cache, Lluís Vilanova, 2015/11/24
- [Qemu-devel] [PATCH v2 08/10] disas: Remove unused macro '_', Lluís Vilanova, 2015/11/24
- [Qemu-devel] [PATCH v2 07/10] [trivial] Track when QEMU has finished initialization, Lluís Vilanova, 2015/11/24
- [Qemu-devel] [PATCH v2 09/10] trace: [tcg] Add per-vCPU tracing states for events with the 'vcpu' property, Lluís Vilanova, 2015/11/24
- [Qemu-devel] [PATCH v2 01/10] trace: Add support for vCPU pointers in trace events, Lluís Vilanova, 2015/11/24
- [Qemu-devel] [PATCH v2 10/10] trace: [tcg] Generate TCG code to trace guest events on a per-vCPU basis, Lluís Vilanova, 2015/11/24
- [Qemu-devel] [PATCH v2 06/10] exec: [tcg] Track which vCPU is performing translation and execution, Lluís Vilanova, 2015/11/24