Re: [Qemu-devel] [PATCH] tracetool: Omit useless QEMU_*_ENABLED() check

2012-01-11 Thread Stefan Hajnoczi
On Tue, Sep 27, 2011 at 9:00 AM, Stefan Hajnoczi wrote: > SystemTap provides a "semaphore" that can optionally be tested before > executing a trace event.  The purpose of this mechanism is to skip > expensive tracing code when the trace event is disabled. > > For example, some applications may hav

Re: [Qemu-devel] [PATCH] tracetool: Omit useless QEMU_*_ENABLED() check

2011-09-27 Thread Masami Hiramatsu
(2011/09/27 17:00), Stefan Hajnoczi wrote: > SystemTap provides a "semaphore" that can optionally be tested before > executing a trace event. The purpose of this mechanism is to skip > expensive tracing code when the trace event is disabled. > > For example, some applications may have trace event

[Qemu-devel] [PATCH] tracetool: Omit useless QEMU_*_ENABLED() check

2011-09-27 Thread Stefan Hajnoczi
SystemTap provides a "semaphore" that can optionally be tested before executing a trace event. The purpose of this mechanism is to skip expensive tracing code when the trace event is disabled. For example, some applications may have trace events that format or convert strings for trace events. T