From: chandru.dav@gmail.com (Chandru Mohan)
Subject: [lttng-dev] Source code of tracepoint
Date: Wed, 8 Apr 2015 20:49:47 +0530 [thread overview]
Message-ID: <CAO6ksyfAEv4i++rNtckvs3JWJCjTOJG2A09bF+0tuebG2PE3Ug@mail.gmail.com> (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>
reply other threads:[~2015-04-08 15:19 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=CAO6ksyfAEv4i++rNtckvs3JWJCjTOJG2A09bF+0tuebG2PE3Ug@mail.gmail.com \
--to=chandru.dav@gmail.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