[lttng-dev] Forum - Using liblttng-ctl

Mathieu Desnoyers mathieu.desnoyers at efficios.com
Fri Apr 5 12:16:45 EDT 2019


Hi Yannick, 

Good point about it being part of 2.11. I looked at 2.9 (as stated in the original email) and missed it. 

A correction to your statement: It is however part of the liblttng-ctl library, which is not internal at all. So it's OK 
to use it, but it's was not present in 2.9, which is what was reported to be linked against. 

Thanks, 

Mathieu 

----- On Apr 5, 2019, at 12:11 PM, Yannick Lamarre <ylamarre at efficios.com> wrote: 

> Hi Ryan
> While this function "exists" in 2.11, it's part of the internal librairy and
> shouldn't be used. lttng_enable_channel does exactly what you want and is part
> of the exposed API both in 2.9n and 2.11.
> Regards,
> YL

> From: "CaptainWonka ." <fusion1542001 at gmail.com>
> To: "lttng-dev" <lttng-dev at lists.lttng.org>
> Sent: Friday, April 5, 2019 11:59:06 AM
> Subject: [lttng-dev] Forum - Using liblttng-ctl

> Hi Devs,
> I am using trying to use the lttng-ctl api you guys provide. When building I get
> this error:

> undefined reference to `lttng_channel_create(&dom)'

> Other calls, like creating sessions work. Its just trying to create and destroy
> the channel which throws this error. I am using lttng-tools 2.9, is this
> perhaps deprecated?

> - Ryan

> _______________________________________________
> lttng-dev mailing list
> lttng-dev at lists.lttng.org
> https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

> _______________________________________________
> 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/20190405/4f8148fc/attachment.html>


More information about the lttng-dev mailing list