From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([209.51.188.92]:56340) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1goQsg-0007Kv-M5 for qemu-devel@nongnu.org; Tue, 29 Jan 2019 05:44:39 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1goQse-0002yB-Ob for qemu-devel@nongnu.org; Tue, 29 Jan 2019 05:44:38 -0500 Received: from mx1.redhat.com ([209.132.183.28]:57726) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1goQse-0002wl-HF for qemu-devel@nongnu.org; Tue, 29 Jan 2019 05:44:36 -0500 Date: Tue, 29 Jan 2019 10:44:23 +0000 From: Daniel =?utf-8?B?UC4gQmVycmFuZ8Op?= Message-ID: <20190129104423.GC16847@redhat.com> Reply-To: Daniel =?utf-8?B?UC4gQmVycmFuZ8Op?= References: <20190129025343.4788-1-stefanha@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20190129025343.4788-1-stefanha@redhat.com> Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH] trace: rerun tracetool after ./configure changes List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Hajnoczi Cc: qemu-devel@nongnu.org, Christophe Lyon , Peter Maydell On Tue, Jan 29, 2019 at 10:53:43AM +0800, Stefan Hajnoczi wrote: > Autogenerated code in trace.h/trace.c and friends is specific to the > config-host.mak TRACE_BACKENDS setting and must be regenerated when > ./configure --enable-trace-backend=3D changes settings. >=20 > This patch ensures that changes to TRACE_BACKENDS are detected. For > example, the trace-root.h file is now updated after switching trace > backends: >=20 > $ ./configure && make > $ cp trace-root.h /tmp/old-trace-root.h > $ ./configure --enable-trace-backend=3Dsimple && make > $ diff -u /tmp/old-trace-root.h trace-root.h >=20 > Reported-by: Christophe Lyon > Signed-off-by: Stefan Hajnoczi > --- > Makefile | 16 ++++++++-------- > 1 file changed, 8 insertions(+), 8 deletions(-) Reviewed-by: Daniel P. Berrang=C3=A9 Regards, Daniel --=20 |: https://berrange.com -o- https://www.flickr.com/photos/dberran= ge :| |: https://libvirt.org -o- https://fstop138.berrange.c= om :| |: https://entangle-photo.org -o- https://www.instagram.com/dberran= ge :|