From mboxrd@z Thu Jan 1 00:00:00 1970 From: jonathan.rajotte-julien@efficios.com (Jonathan Rajotte-Julien) Date: Mon, 29 May 2017 11:40:39 -0400 Subject: [lttng-dev] C APIs tracing control In-Reply-To: <4485def9e3e2e8b07f166e9fdbcdbe3a@cloudmailn6.netcore.co.in> References: <4485def9e3e2e8b07f166e9fdbcdbe3a@cloudmailn6.netcore.co.in> Message-ID: <20170529154039.lumcnlwq2kfbhk2s@psrcode-TP-X230> Hi, On Mon, May 29, 2017 at 06:32:35AM +0000, kirankumarp at uurmi.com wrote: > Hi, > we are developing an application and want to have LTTng control within it. We would like to know the C APIs for it. > we require following APIs following command line commands- > lttng create > lttng list > lttng enable-event > lttng start > lttng stop > lttng destroy > We could find some documentation at but not sure if we are right. Also it will be great help, if you can provide an makefile for this (to link the libraries and Paths to be included). See http://lttng.org/docs/v2.9/#doc-liblttng-ctl-lttng. As for the examples, you can look at all the code used to create the command line utility [1]. [1] https://github.com/lttng/lttng-tools/tree/master/src/bin/lttng Cheers, > We tried "lttng_create_handle", "lttng_create_session" API (as mentioned in the documentation) but its not getting compiled. > Please help on this regard. > Thanks in advance. > Regards > Kiran Kumar > _______________________________________________ > lttng-dev mailing list > lttng-dev at lists.lttng.org > https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev -- Jonathan Rajotte-Julien EfficiOS