using ftrace with kvm
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
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
Quoted 4 lines · David S. Ahern
I have a VM that is spinning (both vcpus at 100%). As I recall
kvm_stathas 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.