Mirror of the lttng-dev mailing list
 help / color / mirror / Atom feed
From: jonathan.rajotte-julien@efficios.com (Jonathan Rajotte-Julien)
Subject: [lttng-dev] C APIs tracing control
Date: Mon, 29 May 2017 11:40:39 -0400	[thread overview]
Message-ID: <20170529154039.lumcnlwq2kfbhk2s@psrcode-TP-X230> (raw)
In-Reply-To: <4485def9e3e2e8b07f166e9fdbcdbe3a@cloudmailn6.netcore.co.in>

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


      reply	other threads:[~2017-05-29 15:40 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-29  6:32 kirankumarp
2017-05-29 15:40 ` Jonathan Rajotte-Julien [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170529154039.lumcnlwq2kfbhk2s@psrcode-TP-X230 \
    --to=jonathan.rajotte-julien@efficios.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox