Re: KVM: perf: a smart tool to analyse kvm events

From: Xiao Guangrong
Date: Thu Feb 16 2012 - 21:35:53 EST


On 02/16/2012 11:52 PM, Pradeep Kumar wrote:

> Xiao,
>
> i tried your perf events patch set on RHEL 6.1 host and failed to trace kvm-events with below error message.
>
> [root@kvm perf]# ./perf kvm-events report
> Warning: unknown op '{'
> Warning: Error: expected type 5 but read 1
> Warning: failed to read event print fmt for hrtimer_start
> Warning: unknown op '{'
> Warning: Error: expected type 5 but read 1
> Warning: failed to read event print fmt for hrtimer_expire_entry
> Analyze events for all VCPUs:
> VM-EXIT Samples Samples% Time% Avg time
> Total Samples:0, Total events handled time:0.00us.
> [root@kvm perf]#
>


Thanks for your try, Pradeep!

It seems that kvm events do not be recorded.

Do your guest was running when kvm-events was executed?
What is the output of "./perf script | grep kvm_*"?

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/