[lttng-dev] Lttng tracepoint(provider,tpname, arg)
Mathieu Desnoyers
mathieu.desnoyers at efficios.com
Mon Sep 14 14:17:41 EDT 2015
----- On Sep 14, 2015, at 4:51 AM, Farhan Shariff <farhan.shariff at asml.com> wrote:
> 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" )
Don't do this, this is not supported. Use different names.
Thanks,
Mathieu
> 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
> farhan.shariff at asml.com | 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
> lttng-dev at lists.lttng.org
> http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
--
Mathieu Desnoyers
EfficiOS Inc.
http://www.efficios.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lttng.org/pipermail/lttng-dev/attachments/20150914/114c251a/attachment.html>
More information about the lttng-dev
mailing list