qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH] tracetool dtrace disabled-events fix


From: Stefan Hajnoczi
Subject: Re: [Qemu-devel] [PATCH] tracetool dtrace disabled-events fix
Date: Tue, 20 Mar 2012 16:42:17 +0000

On Tue, Mar 20, 2012 at 1:37 PM, Lee Essen <address@hidden> wrote:
> If there are "disabled" entries in the trace-events file then
> linetod_nop() is called if the backend is dtrace, it's currently
> not present.
>
> Signed-off-by: Lee Essen <address@hidden>
>
> --
> diff --git a/scripts/tracetool b/scripts/tracetool
> index 65bd0a1..d5e5591 100755
> --- a/scripts/tracetool
> +++ b/scripts/tracetool
> @@ -161,6 +161,12 @@ linetoc_nop()
>     return
>  }
>
> +linetod_nop()
> +{
> +    # Used when "disabled" events are processed
> +    return
> +}

Please also add linetostap_nop() for SystemTap builds - the nop
function was missing there too.

Otherwise looks good.

Stefan



reply via email to

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