Skip to contentSkip to conversation

using ftrace with kvm

DISCUSSION David S. Ahern 3 participants 3 messages Apr 22, 2010 – Apr 23, 2010 KVM

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw

On Thu, Apr 22, 2010 at 3:53 PM, David S. Ahern <[email protected]> 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

#2 lore raw
In reply to David S. Ahern
Quoted 4 lines · David S. Ahern

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.