Received: from eggs.gnu.org ([2001:4830:134:3::10]:48404) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c1J02-0007eb-Ny for qemu-devel@nongnu.org; Mon, 31 Oct 2016 16:16:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c1Izy-0000IO-QX for qemu-devel@nongnu.org; Mon, 31 Oct 2016 16:16:06 -0400 Received: from mx1.redhat.com ([209.132.183.28]:35566) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1c1Izy-0000I6-HN for qemu-devel@nongnu.org; Mon, 31 Oct 2016 16:16:02 -0400 References: <20161028132559.8324-1-alex.bennee@linaro.org> <6860b6ca-48f2-10e5-37f9-276194cb6b28@cn.fujitsu.com> <87bmy0ycbs.fsf@linaro.org> From: Eric Blake Message-ID: <6c2f0838-be3e-d76f-900c-b4be15b8799e@redhat.com> Date: Mon, 31 Oct 2016 15:15:59 -0500 MIME-Version: 1.0 In-Reply-To: <87bmy0ycbs.fsf@linaro.org> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="4jJrdn2PGtXj3EtexgOnGg3CH2xa0IdfH" Subject: Re: [Qemu-devel] [PATCH] net: split colo_compare_pkt_info into two trace events List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?UTF-8?Q?Alex_Benn=c3=a9e?= , Zhang Chen Cc: peter.maydell@linaro.org, Jason Wang , qemu-devel@nongnu.org, Li Zhijian , Stefan Hajnoczi This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --4jJrdn2PGtXj3EtexgOnGg3CH2xa0IdfH From: Eric Blake To: =?UTF-8?Q?Alex_Benn=c3=a9e?= , Zhang Chen Cc: peter.maydell@linaro.org, Jason Wang , qemu-devel@nongnu.org, Li Zhijian , Stefan Hajnoczi Message-ID: <6c2f0838-be3e-d76f-900c-b4be15b8799e@redhat.com> Subject: Re: [Qemu-devel] [PATCH] net: split colo_compare_pkt_info into two trace events References: <20161028132559.8324-1-alex.bennee@linaro.org> <6860b6ca-48f2-10e5-37f9-276194cb6b28@cn.fujitsu.com> <87bmy0ycbs.fsf@linaro.org> In-Reply-To: <87bmy0ycbs.fsf@linaro.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 10/31/2016 06:42 AM, Alex Benn=C3=A9e wrote: >=20 > Zhang Chen writes: >> It looks good for me, but it not the root cause of this bug. >> We better fix this in UST trace event codes.... >=20 > I didn't get a chance to dig into the details but yes we need to confir= m > if this is a limitation with UST or just the macro headers we generate > for it. That said this is the first time I think we have exceeded 10 > parameters for a trace event. Not the first time; see commit defbaec back in June. The limit appears to be inherent in UST: For more information see comment regarding TP_ARGS in lttng/tracepoint.h: /* * TP_ARGS takes tuples of type, argument separated by a comma. * It can take up to 10 tuples (which means that less than 10 tuples i= s * fine too). * Each tuple is also separated by a comma. */ But I agree that fixing the trace generation code to hard-fail on 11 arguments even when UST is not the active trace engine would be a nice service to developers. --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --4jJrdn2PGtXj3EtexgOnGg3CH2xa0IdfH 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/ iQEcBAEBCAAGBQJYF6aAAAoJEKeha0olJ0Nqma0IAI248G+v8smFJXMbhKFeVKkq N+0+q8ELgViOfAhbmqVu/5zMzs/MVP4s/V786avg2mUpUr83Fwa3DjQN/8WThOB8 N8GWVeSw3e8vgFW+0v5K75ilVp+MDFZdhOD9ZWpmwW1Aeac+4AzJkpmw2V58FU8X bsWGCKCu+7G5lJS1PSO9lmLhmEP2ARvRfoUFHiX4FrQL8I7wK/jmkw7HQlH73+Is 9F05/EX+U6+9JzGmlnoUDSaoh17Gc0flOQS1rclmwPH/Z07xx7IkIkbBtOhdipsQ DG0t6SBscQk39X042nQiS0a2JGl2R5gqd327dbHyEUmWjxFYVYfGgryV3V28rNk= =byRu -----END PGP SIGNATURE----- --4jJrdn2PGtXj3EtexgOnGg3CH2xa0IdfH--