* using ftrace with kvm
@ 2010-04-22 20:53 David S. Ahern
2010-04-22 21:26 ` Manish Regmi
2010-04-23 5:59 ` Gleb Natapov
0 siblings, 2 replies; 3+ messages in thread
From: David S. Ahern @ 2010-04-22 20:53 UTC (permalink / raw)
To: kvm-devel
I have a VM that is spinning (both vcpus at 100%). As I recall kvm_stat
has been deprecated in favor or ftrace. Is there a wiki page or document
that gives suggestions on this?
David
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: using ftrace with kvm
2010-04-22 20:53 using ftrace with kvm David S. Ahern
@ 2010-04-22 21:26 ` Manish Regmi
2010-04-23 5:59 ` Gleb Natapov
1 sibling, 0 replies; 3+ messages in thread
From: Manish Regmi @ 2010-04-22 21:26 UTC (permalink / raw)
To: David S. Ahern; +Cc: kvm-devel
On Thu, Apr 22, 2010 at 3:53 PM, David S. Ahern <daahern@cisco.com> wrote:
I have a VM that is spinning (both vcpus at 100%). As I recall kvm_stat
has been deprecated in favor or ftrace. Is there a wiki page or document
that gives suggestions on this?
David
Documentation/trace/* is the place to see.
but for me function and function_graph give too much data even if i
limit it to 1 function. so i use trace points. i simply enable the
tracepoints i am interested in and read trace_pipe.
cat available_events
echo kvm:* > set_event
cat trace_pipe > ~/mydump.txt (or whatever you want to do)
---------------------------------------------------------------
regards
Manish Regmi
http://manish-cs.blogspot.com
http://ext2read.sf.net
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: using ftrace with kvm
2010-04-22 20:53 using ftrace with kvm David S. Ahern
2010-04-22 21:26 ` Manish Regmi
@ 2010-04-23 5:59 ` Gleb Natapov
1 sibling, 0 replies; 3+ messages in thread
From: Gleb Natapov @ 2010-04-23 5:59 UTC (permalink / raw)
To: David S. Ahern; +Cc: kvm-devel
On Thu, Apr 22, 2010 at 02:53:45PM -0600, David S. Ahern wrote:
> I have a VM that is spinning (both vcpus at 100%). As I recall kvm_stat
> has been deprecated in favor or ftrace. Is there a wiki page or document
> that gives suggestions on this?
>
kvmtrace was depricated in favor of ftrace. kvm_stat still works.
--
Gleb.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-04-23 5:59 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-22 20:53 using ftrace with kvm David S. Ahern
2010-04-22 21:26 ` Manish Regmi
2010-04-23 5:59 ` Gleb Natapov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox