[lttng-dev] Userspace C++ Fucntion entry exit insert tracepoints

Antoine Busque abusque at efficios.com
Fri Aug 7 13:07:49 EDT 2015


On Wed, Aug 5, 2015 at 10:32 AM, Farhan Shariff
<farhan.shariff at hotmail.com> wrote:
> Hi,
>
> I am working with a c++ application( userspace )
>
> I want to place in my source code
> - tracepoint(provide,name,...)  at every function entry and exit .
>
> is it possible to by any means to automate this  as it is very cumbersome to
> place it manually.
>
>
>
> Best Regards
>
> Farhan Shariff
>
> Farhan Shariff
>

Hi,

I suggest you have a look at the LTTng documentation on function tracing:

http://lttng.org/docs/#doc-liblttng‑ust‑cyg‑profile

I believe this might suit your needs.

Regards,
Antoine.

>
> _______________________________________________
> lttng-dev mailing list
> lttng-dev at lists.lttng.org
> http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
>



More information about the lttng-dev mailing list