[kvmarm] Fwd: [PATCH v9 12/16] ARM: KVM: World-switch implementation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jul 26, 2012 at 5:30 PM, Marc Zyngier <marc.zyngier at arm.com> wrote:
> On 25/07/12 15:17, Christoffer Dall wrote:
>> list rename, shot myself in the foot.
>>
>>
>>>> +             }
>>>> +
>>>> +             /**************************************************************
>>>> +              * Enter the guest
>>>> +              */
>>>> +             trace_kvm_entry(vcpu->arch.regs.pc);
>>>> +             kvm_guest_enter();
>>>> +             vcpu->mode = IN_GUEST_MODE;
>>>> +
>>>> +             ret = __kvm_vcpu_run(vcpu);
>>>> +
>>>> +             vcpu->mode = OUTSIDE_GUEST_MODE;
>>>> +             vcpu->stat.exits++;
>>>
>>> The tracepoint above should be sufficient for statistics.
>>>
>>
>> Marc added this one, so I assume there's a valid need for the separate
>> counter. Marc?
>
> Probably because I've been too lazy to setup a trace infrastructure on
> my test boxes. Stats are easier to access, but seeing now that they've
> been deprecated and scheduled for removal, we probably shouldn't bother
> with them.
>
you want to take them all out then?

-Christoffer


[Index of Archives]     [Linux KVM]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux