On Tue, Oct 19, 2010 at 04:14:09PM +0200, Jan Kiszka wrote:
> Instead of preparing all traced args, jumping into the common trace
> function, even collecting a timestamp, do the check if a particular
> tracepoint is enabled inline. Also, mark the enabled case unlikely to
> motivate the compiler to push the trace code out of the fastpath.
> 
> Signed-off-by: Jan Kiszka <jan.kis...@siemens.com>
> ---
>  simpletrace.c |    4 ----
>  tracetool     |    7 +++++--
>  2 files changed, 5 insertions(+), 6 deletions(-)

Acked-by: Stefan Hajnoczi <stefa...@linux.vnet.ibm.com>

Reply via email to