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 ." <fusion1542...@gmail.com> 
To: "lttng-dev" <lttng-dev@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@lists.lttng.org 
https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev 

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

Reply via email to