Skip to contentSkip to conversation

C APIs tracing control

DISCUSSION Jonathan Rajotte-Julien 1 participant 1 message May 29, 2017 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

Hi,

Quoted 10 lines · On Mon, May 29, 2017 at 06:32:35AM +0000, [email protected] 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,

Quoted 10 lines

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
[email protected]
https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

Signature · 6 lines
Jonathan Rajotte-Julien
EfficiOS
_______________________________________________
lttng-dev mailing list
[email protected]
https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev