From: Farhan Shariff Sent: Monday, September 14, 2015 10:52 AM To: '[email protected]' Subject: Lttng tracepoint(provider,tpname, arg)
I want to insert tracepoint statements with same traceprovider_name and tracepoint_name but with different arguments: for example: hello-tp.tp TRACEPOINT_EVENT( provider_name_test, tp_name_tp, TP_ARGS( int, my_integer_arg, char*, my_string_arg ), TP_FIELDS( ctf_string(my_string_field, my_string_arg) ctf_integer(int, my_integer_field, my_integer_arg) ) ) How to use these in the code: tracepoint(provider_name_test, tp_name_tp,23 ) tracepoint(provider_name_test, tp_name_tp,"hi there" ) tracepoint(provider_name_test, tp_name_tp,23, "hi there" ) Best regards / Met vriendelijke groet / Cordialement, Farhan Shariff EUV Source Software Facilites Development & Engineering ASML Netherlands B.V. | De Run 6501 | 5504 DR Veldhoven | The Netherlands Location: 7G2 | Tel: +31 619084549 [email protected]<[email protected]%20> | www.asml.com<http://www.asml.com/> -- The information contained in this communication and any attachments is confidential and may be privileged, and is for the sole use of the intended recipient(s). Any unauthorized review, use, disclosure or distribution is prohibited. Unless explicitly stated otherwise in the body of this communication or the attachment thereto (if any), the information is provided on an AS-IS basis without any express or implied warranties or liabilities. To the extent you are relying on this information, you are doing so at your own risk. If you are not the intended recipient, please notify the sender immediately by replying to this message and destroy all copies of this message and any attachments. The sender nor the company/group of companies he or she represents shall be liable for the proper and complete transmission of the information contained in this communication, or for any delay in its receipt.
_______________________________________________ lttng-dev mailing list [email protected] http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
