public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/5]Add kvm trace support v3
@ 2008-04-09 10:01 Liu, Eric E
  2008-04-11  0:03 ` Avi Kivity
  0 siblings, 1 reply; 2+ messages in thread
From: Liu, Eric E @ 2008-04-09 10:01 UTC (permalink / raw)
  To: kvm-devel, Avi Kivity

Hi, Avi and all
	According to your comments from V2, I work out the new patchsets
of kvm trace. Please help to review, Thanks.
In this version, fix the issues you pointed out and add a new ioctl
PAUSE to make user space  app better to control trace stream.
Hope it is useful for performance accounting and cause less headaches
when people use it :).

A simple guide about how to use it:
	- In order to user kvm trace, The CONFIG_KVM_TRACE kernel option
should be selected to enable kvm trace support during kernel config.
	- When kvm trace is setting, user space tool kvmtrace can be
used to collect trace data from relayfs. 
	  BTW: The host debug filesystem should be mounted.  For
example, mount -t debugfs debugfs /sys/kernel/debug.
	- A simple example is like this:
		In kvm-usersapce. 
			Insmod ./kernel/kvm.ko
			Insmod ./kernel/kvm-intel.ko (or kvm-amd.ko)
		When we want to trace data, Run, as root :
			./user/kvmtrace -o tmp
		Press Ctl-c to stop it, if we only have one LP, we may
get a binary file named tmp.kvmtrace.0
		Run ./user/kvmtrace_format ./user/formats
>tracedata<tmp.kvmtrace.0 to format the binary file, we will get the
textual data.
	Welcome to use and improve it :)

--Eric (Liu, Feng)

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone

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

end of thread, other threads:[~2008-04-11  0:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-09 10:01 [PATCH 0/5]Add kvm trace support v3 Liu, Eric E
2008-04-11  0:03 ` Avi Kivity

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox