From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42388) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YJgAp-0003FM-Bf for qemu-devel@nongnu.org; Fri, 06 Feb 2015 05:30:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YJgAj-0007KL-Up for qemu-devel@nongnu.org; Fri, 06 Feb 2015 05:30:07 -0500 Received: from mx1.redhat.com ([209.132.183.28]:33207) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YJgAj-0007Ir-OW for qemu-devel@nongnu.org; Fri, 06 Feb 2015 05:30:01 -0500 Received: from int-mx14.intmail.prod.int.phx2.redhat.com (int-mx14.intmail.prod.int.phx2.redhat.com [10.5.11.27]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id t16AU0pl005968 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Fri, 6 Feb 2015 05:30:00 -0500 Date: Fri, 6 Feb 2015 10:29:58 +0000 From: Stefan Hajnoczi Message-ID: <20150206102958.GA28079@stefanha-thinkpad.redhat.com> References: <1421746875-9962-1-git-send-email-dgilbert@redhat.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="3MwIy2ne0vdjdPXF" Content-Disposition: inline In-Reply-To: <1421746875-9962-1-git-send-email-dgilbert@redhat.com> Subject: Re: [Qemu-devel] [PATCH v2 1/1] Print PID and time in stderr traces List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Dr. David Alan Gilbert (git)" Cc: qemu-devel@nongnu.org --3MwIy2ne0vdjdPXF Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jan 20, 2015 at 09:41:15AM +0000, Dr. David Alan Gilbert (git) wrot= e: > From: "Dr. David Alan Gilbert" >=20 > When debugging migration it's useful to know the PID of > each trace message so you can figure out if it came from the source > or the destination. >=20 > Printing the time makes it easy to do latency measurements or timings > between trace points. >=20 > Signed-off-by: Dr. David Alan Gilbert > --- >=20 > v2 > 0 pad usec part >=20 > scripts/tracetool/backend/stderr.py | 10 +++++++++- > 1 file changed, 9 insertions(+), 1 deletion(-) Thanks, applied to my tracing tree: https://github.com/stefanha/qemu/commits/tracing Stefan --3MwIy2ne0vdjdPXF Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJU1JemAAoJEJykq7OBq3PIV+oIAMBgxIO7Den4r3buq7ukcon1 abJj28zc5gCea8KeXfC2a88sQZcNmn5G8PRVVKjwWhr0eNKtSIrGp4FeQGrAMIqM mr+Lx8FuoO+CaZDp/Phk6LNq6DFM0U5nwxppBoJHBAvyNBbgljHYlvSlUmOZUiv4 MtCnWwnsbGps2MJmEQbXOufYcBIRfooMw23QqOjionjWkFM3usAmj7etb2uK6FDA jMMGnTDJZnpTsQL5EqOKxzV3XMb6P3zVEOpO+KOQAVdK29cXFeLiVCSjv+l6h3bx iWMgJKQPX7TwaCgHnbqLbqKq3MuK0ZzuEUNVYZAMdhe73NWTT/bTtN79YMwNS5Y= =DTJC -----END PGP SIGNATURE----- --3MwIy2ne0vdjdPXF--