[lttng-dev] Automatic generation of traceprovider file based on source code file c++

Farhan Shariff farhan.shariff at hotmail.com
Thu Oct 22 06:17:32 EDT 2015

Hey,          I have a need to insert tracepoints() at the beginning and end of the functions to monitor input and output parameters
- I have looked into -finstrument-functions ( liblttng-ust-cyg-profile.so and liblttng-ust-cyg-profile-fast.so)   but these do not provide information about the function input and output parameters hence not of much use 
- Also considering the fact that each functions have different arguments the  TRACEPOINT_EVENT and TP_FIELDS  have to be explicitly written is very cumbersome and not efficient is there a way to avoid this and automatically generate tracepoint provider file ( .tp) based on the source code c++ file.

Thanking youFarhan ShariffDesign EngineerSoftware Facilities EUV Source  ASML Veldhoven- Netherlands 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lttng.org/pipermail/lttng-dev/attachments/20151022/d85c0603/attachment.html>

More information about the lttng-dev mailing list