trace-root.h is not regerenerated after re-configure

Bug #1813305 reported by Christophe Lyon
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
QEMU
Fix Released
Undecided
Unassigned

Bug Description

Hi,

I've just realized that after I reconfigured my qemu with
../configure --target-list=arm-softmmu,arm-linux-user,aarch64-softmmu,aarch64-linux-user --enable-trace-backends=simple

$ make
did rebuild some stuff for the 'simple' trace, but it did not update trace-root.h until after I
$ make clean

I took me while to understand why I didn't get the traces I wanted (my trace-root.h still thought it was configured for the default 'log').

I didn't check how easy it is to fix this in the build system.

Thanks

Revision history for this message
Stefan Hajnoczi (stefanha) wrote : Re: [Qemu-devel] [Bug 1813305] [NEW] trace-root.h is not regerenerated after re-configure

On Fri, Jan 25, 2019 at 02:03:39PM -0000, Christophe Lyon wrote:
> I've just realized that after I reconfigured my qemu with
> ../configure --target-list=arm-softmmu,arm-linux-user,aarch64-softmmu,aarch64-linux-user --enable-trace-backends=simple
>
> $ make
> did rebuild some stuff for the 'simple' trace, but it did not update trace-root.h until after I
> $ make clean
>
>
> I took me while to understand why I didn't get the traces I wanted (my trace-root.h still thought it was configured for the default 'log').
>
> I didn't check how easy it is to fix this in the build system.

Thank you for reporting this. I have sent a patch to fix the makefile.

Stefan

Revision history for this message
Christophe Lyon (christophe-lyon) wrote :

On Tue, 29 Jan 2019 at 03:55, Stefan Hajnoczi <email address hidden> wrote:
>
> On Fri, Jan 25, 2019 at 02:03:39PM -0000, Christophe Lyon wrote:
> > I've just realized that after I reconfigured my qemu with
> > ../configure --target-list=arm-softmmu,arm-linux-user,aarch64-softmmu,aarch64-linux-user --enable-trace-backends=simple
> >
> > $ make
> > did rebuild some stuff for the 'simple' trace, but it did not update trace-root.h until after I
> > $ make clean
> >
> >
> > I took me while to understand why I didn't get the traces I wanted (my trace-root.h still thought it was configured for the default 'log').
> >
> > I didn't check how easy it is to fix this in the build system.
>
> Thank you for reporting this. I have sent a patch to fix the makefile.
>

Thanks for the quick patch.

> Stefan

Revision history for this message
Peter Maydell (pmaydell) wrote :

This was fixed by commit 57b7bdf426445d83561, which will be in the 4.0 release.

Changed in qemu:
status: New → Fix Committed
Thomas Huth (th-huth)
Changed in qemu:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.