qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] Our use of #include is undisciplined, and what to do ab


From: Peter Maydell
Subject: Re: [Qemu-devel] Our use of #include is undisciplined, and what to do about it
Date: Tue, 15 Mar 2016 12:56:40 +0000

On 15 March 2016 at 12:28, Markus Armbruster <address@hidden> wrote:
> We need to do something about the generated tracers, though.  Every time
> you fiddle with a tracepoint, you get to recompile ~900 out of ~4000
> files.  I suspect it's only 900 mostly because people avoid tracepoints
> for that exact reason.  I certainly do.  If only the fiddled-with file
> got recompiled, I'd happily use them for debugging, and when done post
> any new tracepoints I found useful for others to enjoy.

Yes, definitely -- having a single file listing every tracepoint
in the system is a recipe for merge conflicts too, so splitting
it would be sensible. (Either lots of separate files, or maybe we
could put tracepoint definitions in the .c files and have the
scripts pull them out...)

thanks
-- PMM



reply via email to

[Prev in Thread] Current Thread [Next in Thread]