Re: [Qemu-devel] [PATCH v2 0/2] trace: fix trace_event_get_state() for SystemTap and LTTng UST

2017-08-01 Thread Stefan Hajnoczi
On Mon, Jul 31, 2017 at 03:07:16PM +0100, Stefan Hajnoczi wrote: > v2: > * Don't special-case QEMU dstate [Daniel Berrange] > * Use _backends() postfix to clarify function purpose [Lluís] > > Trace events that compute their arguments can affect performance. The > following idom can be used to

[Qemu-devel] [PATCH v2 0/2] trace: fix trace_event_get_state() for SystemTap and LTTng UST

2017-07-31 Thread Stefan Hajnoczi
v2: * Don't special-case QEMU dstate [Daniel Berrange] * Use _backends() postfix to clarify function purpose [Lluís] Trace events that compute their arguments can affect performance. The following idom can be used to avoid computing arguments when the trace event is disabled: if