Re: [Qemu-devel] [PATCH v1 2/3] cpus: dump TLB flush counts as trace event

2017-04-25 Thread Alex Bennée
Paolo Bonzini writes: > On 11/04/2017 18:50, Alex Bennée wrote: >> This can be pre-processed later from the trace file. > > What about skipping this patch, and instead adding five trace points > > trace_tlb_flush_self(int vcpu) > trace_tlb_flush_async_schedule(int from, int to) > trace_tlb_flush

Re: [Qemu-devel] [PATCH v1 2/3] cpus: dump TLB flush counts as trace event

2017-04-13 Thread Paolo Bonzini
On 11/04/2017 18:50, Alex Bennée wrote: > This can be pre-processed later from the trace file. What about skipping this patch, and instead adding five trace points trace_tlb_flush_self(int vcpu) trace_tlb_flush_async_schedule(int from, int to) trace_tlb_flush_async_work(int vcpu) trace_tlb_flush_

[Qemu-devel] [PATCH v1 2/3] cpus: dump TLB flush counts as trace event

2017-04-11 Thread Alex Bennée
This can be pre-processed later from the trace file. Signed-off-by: Alex Bennée --- cpus.c | 6 ++ trace-events | 3 +++ 2 files changed, 9 insertions(+) diff --git a/cpus.c b/cpus.c index 740b8dc3f8..fae7344df5 100644 --- a/cpus.c +++ b/cpus.c @@ -50,6 +50,8 @@ #include "qapi-event.