On Fri, Sep 22, 2017 at 10:06 AM, Simon Crowe <[email protected]> wrote: > All, > > I am looking a userland C program, but i want the application to do a little > extra work when there is a tracing session active, is there fast call I > could use which would tell me if a tracing session is in progress on my app > or particular trace name
You can use tracepoint_enabled() and do_tracepoint() at least, which is somewhat equivalent. See <http://lttng.org/man/3/lttng-ust/v2.10/#doc-tracepoint>. Phil > > Regards > > Si > > _______________________________________________ > lttng-dev mailing list > [email protected] > https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev > _______________________________________________ lttng-dev mailing list [email protected] https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
