<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Verdana;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Farhan Shariff
<br>
<b>Sent:</b> Monday, September 14, 2015 10:52 AM<br>
<b>To:</b> 'lttng-dev@lists.lttng.org'<br>
<b>Subject:</b> Lttng tracepoint(provider,tpname, arg)<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="color:#444444;background:white"> I want to insert tracepoint statements with same traceprovider_name and</span><span style="color:#444444"><br>
<span style="background:white">  tracepoint_name but with different arguments:</span><br>
<span style="background:white"> <o:p></o:p></span></span></p>
<p class="MsoNormal"><span style="color:#444444;background:white"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#444444;background:white"> for example:</span><span style="color:#444444"><br>
<span style="background:white"> </span><br>
<span style="background:white">  hello-tp.tp</span><br>
<span style="background:white"> </span><br>
<span style="background:white">  TRACEPOINT_EVENT(</span><br>
<span style="background:white">  provider_name_test,</span><br>
<span style="background:white">  tp_name_tp,</span><br>
<span style="background:white">  TP_ARGS(</span><br>
<span style="background:white">  int, my_integer_arg,</span><br>
<span style="background:white">  char*, my_string_arg</span><br>
<span style="background:white">  ),</span><br>
<span style="background:white">  TP_FIELDS(</span><br>
<span style="background:white">  ctf_string(my_string_field, my_string_arg)</span><br>
<span style="background:white">  ctf_integer(int, my_integer_field, my_integer_arg)</span><br>
<span style="background:white">  )</span><br>
<span style="background:white">  )</span><br>
<span style="background:white"> </span><br>
<span style="background:white">  How to use these in the code:</span><br>
<span style="background:white"> </span><br>
<span style="background:white">  tracepoint(provider_name_test, tp_name_tp,23 )</span><br>
<span style="background:white"> </span><br>
<span style="background:white">  tracepoint(provider_name_test, tp_name_tp,"hi there" )</span><br>
<span style="background:white"> </span><br>
<span style="background:white">  tracepoint(provider_name_test, tp_name_tp,23, "hi there" )</span><br>
<span style="background:white"> </span><br>
<span style="background:white"> </span><br>
<span style="background:white"> </span></span><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span lang="NL" style="font-family:"Arial","sans-serif"">Best regards / Met vriendelijke groet / Cordialement,</span><b><span style="font-family:"Arial","sans-serif""><o:p></o:p></span></b></p>
<p class="MsoNormal"><b><span style="font-size:9.0pt;font-family:"Verdana","sans-serif""><o:p> </o:p></span></b></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Arial","sans-serif"">Farhan Shariff
<o:p></o:p></span></b></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif"">EUV Source Software Facilites
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif"">Development & Engineering
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:"Arial","sans-serif"">ASML Netherlands B.V. | De Run 6501 | 5504 DR Veldhoven | The Netherlands<br>
Location: 7G2 | Tel: +31 619084549</span><span style="font-size:8.0pt"><br>
</span><span style="font-size:8.0pt;font-family:"Arial","sans-serif""><a href="farhan.shariff@asml.com%20">farhan.shariff@asml.com</a> |
<a href="http://www.asml.com/">www.asml.com</a></span><span style="font-size:8.0pt"><o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
-- 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.
</body>
</html>