<html><body><div style="font-family: arial, helvetica, sans-serif; font-size: 12pt; color: #000000"><div data-marker="__QUOTED_TEXT__"><div style="font-family: arial, helvetica, sans-serif; font-size: 12pt; color: #000000"><div>Hi Ryan<br></div>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.</div><div style="font-family: arial, helvetica, sans-serif; font-size: 12pt; color: #000000">Regards,</div><div style="font-family: arial, helvetica, sans-serif; font-size: 12pt; color: #000000">YL<br><br><hr id="zwchr"><div><b>From: </b>"CaptainWonka ." <fusion1542001@gmail.com><br><b>To: </b>"lttng-dev" <lttng-dev@lists.lttng.org><br><b>Sent: </b>Friday, April 5, 2019 11:59:06 AM<br><b>Subject: </b>[lttng-dev] Forum - Using liblttng-ctl<br></div><br><div><div dir="ltr"><div dir="ltr">Hi Devs,<br><div>I am using trying to use the lttng-ctl api you guys provide. When building I get this error:</div><div><b><br></b></div><div><b>undefined reference to `lttng_channel_create(&dom)'</b><br></div><br><div>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?</div><br><div>- Ryan</div></div></div>
<br>_______________________________________________<br>lttng-dev mailing list<br>lttng-dev@lists.lttng.org<br>https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev</div></div><br></div></div></body></html>