linux-perf-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* How to use perf kvm?
@ 2011-08-15  1:28 Han Pingtian
  0 siblings, 0 replies; 2+ messages in thread
From: Han Pingtian @ 2011-08-15  1:28 UTC (permalink / raw)
  To: yanmin_zhang; +Cc: linux-perf-users

Hello,

Could you please tell me how to use subcommand kvm of perf? I have tried:

[root@dell-pem710-02 ~]# pgrep qemu-kvm
6912
[root@dell-pem710-02 ~]# sshfs -o allow_other,direct_io  10.16.71.8:/
guestmount/6912
root@10.16.71.8's password:
[root@dell-pem710-02 ~]# perf kvm   --guest --guestmount ~/guestmount top

But there is no kvm guest's info. Only host's info displayed.

Thanks in advance.
-- 
Han Pingtian
Quality Engineer
hpt @ #kernel-qe
Red Hat, Inc
Freedom ... courage ... Commitment ... ACCOUNTABILITY

^ permalink raw reply	[flat|nested] 2+ messages in thread
* how to use 'perf kvm'?
@ 2011-03-04  8:28 Han Pingtian
  0 siblings, 0 replies; 2+ messages in thread
From: Han Pingtian @ 2011-03-04  8:28 UTC (permalink / raw)
  To: linux-kernel, linux-perf-users

Hello,

Can someone tell me how to use the subcommand 'kvm' of the perf tool?
I'm trying to use it this way:

perf kvm --guest --guestkallsyms kallsyms top

where kallsyms is copied from the kvm guest. But nothing useful is
displayed, only some headers:


-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
   PerfTop:       0 irqs/sec  kernel:-nan% us:-nan% guest kernel:-nan% guest us:-nan% exact: -nan% [1000Hz cycles],  (all, 2 CPUs)
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

             samples  pcnt  DSO
             _______ _____

exiting.

Thanks in advance.

-- 
Han Pingtian
Quality Engineer
hpt @ #kernel-qe
Red Hat, Inc
Freedom ... courage ... Commitment ... ACCOUNTABILITY

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-08-15  1:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-15  1:28 How to use perf kvm? Han Pingtian
  -- strict thread matches above, loose matches on Subject: below --
2011-03-04  8:28 how to use 'perf kvm'? Han Pingtian

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).