[lttng-dev] [PATCH lttng-tools] Fix: add missing refcount of loaded modules

Jérémie Galarneau jeremie.galarneau at efficios.com
Mon Nov 21 17:56:51 UTC 2016


Good catch! Merged in master, stable-2.9 and stable-2.8.

Thanks!
Jérémie



On 21 November 2016 at 12:36, Francis Deslauriers
<francis.deslauriers at efficios.com> wrote:
> Signed-off-by: Francis Deslauriers <francis.deslauriers at efficios.com>
> ---
>  src/bin/lttng-sessiond/modprobe.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/bin/lttng-sessiond/modprobe.c b/src/bin/lttng-sessiond/modprobe.c
> index 0502740..03545ef 100644
> --- a/src/bin/lttng-sessiond/modprobe.c
> +++ b/src/bin/lttng-sessiond/modprobe.c
> @@ -343,7 +343,7 @@ static int modprobe_lttng(struct kern_modules_param *modules,
>                         }
>                 } else {
>                         DBG("Modprobe successfully %s", modules[i].name);
> -                       modules[i].loaded;
> +                       modules[i].loaded = true;
>                 }
>         }
>
> --
> 2.7.4
>



-- 
Jérémie Galarneau
EfficiOS Inc.
http://www.efficios.com


More information about the lttng-dev mailing list