On Tue, Dec 06, 2011 at 05:38:15PM +0100, Lluís Vilanova wrote: > Adds a 'TRACE_${NAME}_ENABLED' preprocessor define for each tracing event in > "trace.h". > > This lets the user conditionally compile code with a relatively high execution > cost that is only necessary when producing the tracing information for an > event > that is enabled. > > Note that events using this define will probably have the "disable" property > by > default, in order to avoid such costs on regular builds. > > Signed-off-by: Lluís Vilanova <vilan...@ac.upc.edu> > --- > docs/tracing.txt | 46 ++++++++++++++++++++++++++++++++++++++++------ > scripts/tracetool | 9 ++++++++- > 2 files changed, 48 insertions(+), 7 deletions(-)
Thanks, applied to the tracing tree: http://repo.or.cz/w/qemu/stefanha.git/shortlog/refs/heads/tracing Stefan