[lttng-dev] Forum - Using liblttng-ctl
Yannick Lamarre
ylamarre at efficios.com
Fri Apr 5 12:11:22 EDT 2019
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.lttng.org/pipermail/lttng-dev/attachments/20190405/2a91c9f5/attachment.html>
More information about the lttng-dev
mailing list