[patch 3/3] KVM: x86: add tracepoint to wait_lapic_expire

2014-12-23 Thread Marcelo Tosatti
Add tracepoint to wait_lapic_expire. Signed-off-by: Marcelo Tosatti mtosa...@redhat.com Index: kvm/arch/x86/kvm/lapic.c === --- kvm.orig/arch/x86/kvm/lapic.c +++ kvm/arch/x86/kvm/lapic.c @@ -1137,6 +1137,8 @@ void

Re: [patch 3/3] KVM: x86: add tracepoint to wait_lapic_expire

2014-12-17 Thread Radim Krcmar
2014-12-16 09:08-0500, Marcelo Tosatti: Add tracepoint to wait_lapic_expire. Signed-off-by: Marcelo Tosatti mtosa...@redhat.com Reviewed-by: Radim Krčmář rkrc...@redhat.com +++ kvm/arch/x86/kvm/lapic.c @@ -1120,7 +1120,7 @@ static bool lapic_timer_int_injected(str void

Re: [patch 3/3] KVM: x86: add tracepoint to wait_lapic_expire

2014-12-16 Thread Paolo Bonzini
On 15/12/2014 23:06, Marcelo Tosatti wrote: Add tracepoint to wait_lapic_expire. Signed-off-by: Marcelo Tosatti mtosa...@redhat.com Index: kvm/arch/x86/kvm/lapic.c === --- kvm.orig/arch/x86/kvm/lapic.c +++

Re: [patch 3/3] KVM: x86: add tracepoint to wait_lapic_expire

2014-12-16 Thread Marcelo Tosatti
On Tue, Dec 16, 2014 at 10:03:39AM +0100, Paolo Bonzini wrote: On 15/12/2014 23:06, Marcelo Tosatti wrote: Add tracepoint to wait_lapic_expire. Signed-off-by: Marcelo Tosatti mtosa...@redhat.com Index: kvm/arch/x86/kvm/lapic.c

Re: [patch 3/3] KVM: x86: add tracepoint to wait_lapic_expire

2014-12-16 Thread Paolo Bonzini
On 16/12/2014 13:15, Marcelo Tosatti wrote: Let's add guest_tsc - tsc_deadline to the tracepoint. This should simplify the tuning of the parameter. total_delay is very close to that, except the summands are 1000 + 1000 + ... + remainder Yes? Almost: guest_tsc - tsc_deadline

[patch 3/3] KVM: x86: add tracepoint to wait_lapic_expire

2014-12-16 Thread Marcelo Tosatti
Add tracepoint to wait_lapic_expire. Signed-off-by: Marcelo Tosatti mtosa...@redhat.com Index: kvm/arch/x86/kvm/lapic.c === --- kvm.orig/arch/x86/kvm/lapic.c +++ kvm/arch/x86/kvm/lapic.c @@ -1120,7 +1120,7 @@ static bool

[patch 3/3] KVM: x86: add tracepoint to wait_lapic_expire

2014-12-15 Thread Marcelo Tosatti
Add tracepoint to wait_lapic_expire. Signed-off-by: Marcelo Tosatti mtosa...@redhat.com Index: kvm/arch/x86/kvm/lapic.c === --- kvm.orig/arch/x86/kvm/lapic.c +++ kvm/arch/x86/kvm/lapic.c @@ -1121,6 +1121,7 @@ void