Mirror of the lttng-dev mailing list
 help / color / mirror / Atom feed
* [lttng-dev] Source code of tracepoint
@ 2015-04-08 15:19 Chandru Mohan
  0 siblings, 0 replies; only message in thread
From: Chandru Mohan @ 2015-04-08 15:19 UTC (permalink / raw)


Can someone point to the source code of tracepoint in LTTng ? Basically i
would like to understand how the applications communicate with the consumer
daemon and how the traces are being sent by the application.

I could find a definition in tracepoint.h
define tracepoint(provider, name, ...) \

do {                                    \
    STAP_PROBEV(provider, name, ## __VA_ARGS__);            \
    if (caa_unlikely(__tracepoint_##provider##___##name.state)) \
        __tracepoint_cb_##provider##___##name(__VA_ARGS__); \
} while (0)

but could not map it to the exact definition. Kindly provide me your
suggestions.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lttng.org/pipermail/lttng-dev/attachments/20150408/f967366b/attachment.html>


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-04-08 15:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-08 15:19 [lttng-dev] Source code of tracepoint Chandru Mohan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox