* [lttng-dev] C APIs tracing control
@ 2017-05-29 6:32 kirankumarp
2017-05-29 15:40 ` Jonathan Rajotte-Julien
0 siblings, 1 reply; 2+ messages in thread
From: kirankumarp @ 2017-05-29 6:32 UTC (permalink / raw)
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).
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.lttng.org/pipermail/lttng-dev/attachments/20170529/b64ec323/attachment.html>
^ permalink raw reply [flat|nested] 2+ messages in thread
* [lttng-dev] C APIs tracing control
2017-05-29 6:32 [lttng-dev] C APIs tracing control kirankumarp
@ 2017-05-29 15:40 ` Jonathan Rajotte-Julien
0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Rajotte-Julien @ 2017-05-29 15:40 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-05-29 15:40 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-29 6:32 [lttng-dev] C APIs tracing control kirankumarp
2017-05-29 15:40 ` Jonathan Rajotte-Julien
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox