From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59185) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aHDzm-0004mk-Dn for qemu-devel@nongnu.org; Thu, 07 Jan 2016 12:05:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aHDzi-0004q5-7x for qemu-devel@nongnu.org; Thu, 07 Jan 2016 12:05:06 -0500 Received: from mx1.redhat.com ([209.132.183.28]:45788) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aHDzi-0004q1-2k for qemu-devel@nongnu.org; Thu, 07 Jan 2016 12:05:02 -0500 References: <1452174932-28657-1-git-send-email-den@openvz.org> From: Eric Blake Message-ID: <568E9AB8.6000701@redhat.com> Date: Thu, 7 Jan 2016 10:04:56 -0700 MIME-Version: 1.0 In-Reply-To: <1452174932-28657-1-git-send-email-den@openvz.org> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="aot77T0xukqOkDXbgLwsdl5tb6XalCwBI" Subject: Re: [Qemu-devel] [PATCH v4 00/11] simplify usage of tracepoints, and connect them to logging List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Denis V. Lunev" Cc: pbonzini@redhat.com, qemu-devel@nongnu.org, stefanha@redhat.com This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --aot77T0xukqOkDXbgLwsdl5tb6XalCwBI Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 01/07/2016 06:55 AM, Denis V. Lunev wrote: > This series does three things: >=20 > 1) add a "-trace [enable=3D]foo" option to enable one or more trace > events, and a "-trace help" option to show the list of tracepoints > (patches 4-5) >=20 > 2) change the stderr tracing backend so that it prints to the > -D log file, and enable it by default. "-trace file=3D..." is > now a synonym of -D if the log backend is enabled (patches 7-8) >=20 > 3) add a "-d trace:foo" option that is a synonym for "-trace foo"; > this makes the new functionality more discoverable to people used > to "-d", makes it available for user-mode emulation (which does > not have -trace), and is somewhat nice if you want to enable both > tracepoints and some other "-d" flag (patch 9). When globbing > it is also less susceptible to unwanted shell expansion. >=20 > For example, you can trace block device I/O and save the result > to a file just by adding "-trace bdrv_aio_*,file=3Dtrace.txt", or > correlate it to guest PCs with "-d exec,nochain,trace:bdrv_aio_*". >=20 > Opinions? I would like to have this in 2.5 if there is agreement. Stale sentence :) --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --aot77T0xukqOkDXbgLwsdl5tb6XalCwBI 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 Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJWjpq4AAoJEKeha0olJ0Nq1FYIAKpP3sVCLhEsmjpOznYQmgvC 0SldMrJxkuNHNvbgtcLCIyRINGih0TKfSj4UM0Q7Zp+v/j7PdJ9z8cwScE7riB2K wHEXh7DVQvB4BIN0CCM1GyVyMd6JQwMzmuX7HVqPDq/SEc4wZ2RhBj0DVymU9Tew 8k0MDItKNlhia/ltVSKDEw5LScVfBBvJvoS/OJdO1GoZnmr4pfjiG/nBeouuTxw5 Yp/ERljbXNa/5Sg2PJcBOZmyFCKeEhTJBk8HYVY6Envy6nve7tNmC6xSdSxJhjKt cH0Av6wN9J04gHUxNa6R9EUqXqU56O91xj97Z9M8ZCjrdRdvHy1p2DfejOZR4Lg= =hlE2 -----END PGP SIGNATURE----- --aot77T0xukqOkDXbgLwsdl5tb6XalCwBI--