From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jan Kiszka Subject: Re: [PATCH RFC 0/4]Porting Xentrace to kvm Date: Sun, 16 Mar 2008 16:45:09 +0100 Message-ID: <47DD4085.7010607@web.de> References: <9D7649D18729DE4BB2BD7B494F7FEDC201084D2D@pdsmsx415.ccr.corp.intel.com> <47DD3CBB.9050201@qumranet.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1362429169==" Cc: kvm-devel , "Liu, Eric E" To: Avi Kivity Return-path: In-Reply-To: <47DD3CBB.9050201@qumranet.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces@lists.sourceforge.net Errors-To: kvm-devel-bounces@lists.sourceforge.net List-Id: kvm.vger.kernel.org This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --===============1362429169== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigFC15E8E5120CC82C644D0AC9" This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigFC15E8E5120CC82C644D0AC9 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Avi Kivity wrote: > Liu, Eric E wrote: >> Hi, >> The following patches port xentrace to kvm which is useful for >> performance tuning and debugging. >> >> It is designed to allow debugging traces of kvm to be generated on >> Up/Smp machines. Each trace entry is outputted in a trace ring buffer >> for per cpu which is mapped to userspace, and the userspace tools can >> analyze the data according to some formats definitions. >> >> Since we already have had debugfs_entries and some other kernel debug >> mechanism to use, does this kvmtrace make sense? Any comment is >> welcomed.=20 >> =20 >=20 > This looks very useful. While kvm_stat provides good data, this is muc= h=20 > more in depth. >=20 > The kernel already contains a method of transferring percpu data to=20 > userspace; see Documentation/filesystems/relay.txt. It supports mmap()= =20 > and read(). Please see if it is a good fit. I would also suggest to use the new kernel standard for instrumentation: trace_mark(). This would also allow to reuse the trace points with other tracer and maybe even obsolete a separate transportation channel, e.g. when LTTng is once :-/ merged. Jan --------------enigFC15E8E5120CC82C644D0AC9 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iD8DBQFH3UCJniDOoMHTA+kRAkeiAJ9f5qRvojzpng17NtGk8V0+tt1YmACfUSzb cTOPUgAqBu9ykDpvbA0RzLw= =99J8 -----END PGP SIGNATURE----- --------------enigFC15E8E5120CC82C644D0AC9-- --===============1362429169== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ --===============1362429169== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ kvm-devel mailing list kvm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kvm-devel --===============1362429169==--