<div dir="ltr"><p style="margin:0px 0px 1em;padding:0px;border:0px;font-size:15px;clear:both;font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;line-height:19.5px">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.</p><p style="margin:0px 0px 1em;padding:0px;border:0px;font-size:15px;clear:both;font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;line-height:19.5px">I could find a definition in tracepoint.h</p><h1 style="margin:0px 0px 1em;padding:0px;border:0px;font-size:21px;line-height:1.3;word-wrap:break-word;font-family:'Helvetica Neue',Helvetica,Arial,sans-serif">define tracepoint(provider, name, ...) \</h1><pre style="margin-top:0px;padding:5px;border:0px;font-size:13px;overflow:auto;width:auto;max-height:600px;font-family:Consolas,Menlo,Monaco,'Lucida Console','Liberation Mono','DejaVu Sans Mono','Bitstream Vera Sans Mono','Courier New',monospace,sans-serif;word-wrap:normal;background-color:rgb(238,238,238)"><code style="margin:0px;padding:0px;border:0px;font-family:Consolas,Menlo,Monaco,'Lucida Console','Liberation Mono','DejaVu Sans Mono','Bitstream Vera Sans Mono','Courier New',monospace,sans-serif;white-space:inherit">do {                                    \
    STAP_PROBEV(provider, name, ## __VA_ARGS__);            \
    if (caa_unlikely(__tracepoint_##provider##___##name.state)) \
        __tracepoint_cb_##provider##___##name(__VA_ARGS__); \
} while (0)
</code></pre><p style="margin:0px 0px 1em;padding:0px;border:0px;font-size:15px;clear:both;font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;line-height:19.5px">but could not map it to the exact definition. Kindly provide me your suggestions.</p></div>