[lttng-dev] [PATCH lttng-tools] Fix: Use get_domain_str on add context

Jérémie Galarneau jeremie.galarneau at efficios.com
Tue Apr 5 13:49:43 UTC 2016


On Apr 5, 2016 09:24, "Mathieu Desnoyers" <mathieu.desnoyers at efficios.com>
wrote:
>
> Hi Jérémie,
>
> I don't see this commit in master nor stable-2.8,
> but I see newer commits from joraj that were merged
> after. Any idea why ?
>

It is indeed missing, thanks for the heads-up!

Jérémie

> Thanks,
>
> Mathieu
>
> ----- On Apr 4, 2016, at 12:49 PM, Jeremie Galarneau
jeremie.galarneau at efficios.com wrote:
>
> > Merged, thanks!
> >
> > Jérémie
> >
> > On Fri, Mar 18, 2016 at 6:25 PM, Jonathan Rajotte
> > <jonathan.rajotte-julien at efficios.com> wrote:
> >> Fixes #1006
> >>
> >> Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien at efficios.com>
> >> ---
> >>  src/bin/lttng/commands/add_context.c | 4 ++--
> >>  1 file changed, 2 insertions(+), 2 deletions(-)
> >>
> >> diff --git a/src/bin/lttng/commands/add_context.c
> >> b/src/bin/lttng/commands/add_context.c
> >> index a6d73a0..f77edb1 100644
> >> --- a/src/bin/lttng/commands/add_context.c
> >> +++ b/src/bin/lttng/commands/add_context.c
> >> @@ -661,11 +661,11 @@ static int add_context(char *session_name)
> >>                 } else {
> >>                         if (opt_channel_name) {
> >>                                 MSG("%s context %s added to channel
%s",
> >> -                                               opt_kernel ? "kernel"
: "UST",
> >> type->opt->symbol,
> >> +
 get_domain_str(dom.type),
> >> type->opt->symbol,
> >>                                                 opt_channel_name);
> >>                         } else {
> >>                                 MSG("%s context %s added to all
channels",
> >> -                                               opt_kernel ? "kernel"
: "UST",
> >> type->opt->symbol)
> >> +
 get_domain_str(dom.type),
> >> type->opt->symbol)
> >>                         }
> >>                         success = 1;
> >>                 }
> >> --
> >> 2.7.0
> >>
> >
> >
> >
> > --
> > Jérémie Galarneau
> > EfficiOS Inc.
> > http://www.efficios.com
> > _______________________________________________
> > lttng-dev mailing list
> > lttng-dev at lists.lttng.org
> > https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
>
> --
> Mathieu Desnoyers
> EfficiOS Inc.
> http://www.efficios.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.lttng.org/pipermail/lttng-dev/attachments/20160405/ccc202f0/attachment.html>


More information about the lttng-dev mailing list