On Mon, Mar 3, 2014 at 7:21 AM, kumar s <[email protected]> wrote:
> Hello,
>
> Is it possible to stop a trace from UST. When my code reaches a particular
> function , can UST stop the trace and save both UST and kernel traces.
>
> How can i achieve this.?

You can use the tracing control library (liblttng-ctl), which is
provided by lttng-tools, to setup and stop a trace from your
application. Have a look at lttng-tools/include/lttng/lttng.h [1].

Regards,
Jérémie

[1] 
https://bugs.lttng.org/projects/lttng-tools/repository/revisions/master/entry/include/lttng/lttng.h

>
> Thank you
> Skumar
>
> _______________________________________________
> lttng-dev mailing list
> [email protected]
> http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
>



-- 
Jérémie Galarneau
EfficiOS Inc.
http://www.efficios.com

_______________________________________________
lttng-dev mailing list
[email protected]
http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

Reply via email to