[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 00/12] trace: [tcg] Allow tracing guest events i
From: |
Richard Henderson |
Subject: |
Re: [Qemu-devel] [PATCH 00/12] trace: [tcg] Allow tracing guest events in TCG-generated code |
Date: |
Fri, 07 Feb 2014 06:49:35 -0800 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 |
On 02/06/2014 11:26 AM, Lluís Vilanova wrote:
>> > At which point, option 2 would be the best bet, I think.
> Right. For the 3rd option I was also thinking about having per-vCPU tracing
> states (in the case of guest events), so that you can trace separate events
> depending on the vCPU.
>
> Which reminds me, I should add a vCPU pointer to the "guest_vmem" event, since
> otherwise you cannot differentiate accesses among different vCPUs.
The TB cache is shared, so you won't be able to do option 3 for different
events for different cpus. You could only do option 1 for that.
r~