<div dir="ltr">Hi Andnd Neeli,<div>if you omit TRACEPOINT_PROBE_DYNAMIC_LINKAGE , you don't have to LD_PRELOAD the share tp library. It acts just like statically linked app. and you can use lttng enable-event command to enable the event tracing when your app get something wrong without reloading(restarting) your app.</div>
<div><br></div><div>'tracing mode' is not an official term, I just made it up :-) . It involves to the UST internal implementation. You can consider app is not in tracing mode when you have not LD_PRELOAD tp library, and it's in tracing mode if you LD_PRELOAD. Of course, the app is always in tracing mode when you statically link tp library, or you omit TRACEPOINT_PROBE_DYNAMIC_LINKAGE..</div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, Apr 5, 2014 at 5:56 PM, Anand Neeli <span dir="ltr"><<a href="mailto:anand.neeli@gmail.com" target="_blank">anand.neeli@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Lingyu Zhu,<div>what do you mean by switching on or off tracing mode?</div><div>will i be able to trace or not trace without reloading the app?</div>
<div>If i dont use LD_PRELOAD with tracepoint it never traces. and for tracing to start i should reload the app with ld_preload tracepoints.</div>
<div>We would like to see the traces only when there is a problem in the app. And by reloading the app to enable traces we would loose all the app context (in problem state).</div><div><br></div><div>Hope i'm not missing anything here.</div>
<div><br></div><div>Thanks,</div><div>Anand Neeli</div><div><br></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, Apr 5, 2014 at 12:14 PM, Lingyu Zhu <span dir="ltr"><<a href="mailto:lynuszhu@gmail.com" target="_blank">lynuszhu@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>If you omit defining the macro <span style="font-size:13px;font-family:arial,sans-serif">TRACEPOINT_PROBE_DYNAMIC_</span><font face="arial, sans-serif">LINKAGE in your library which you want to trace, your library will depend on the trace provider shared library. And you will not bother LD_PRELOAD your tracepoint provider library before launching app.</font><br>
</div><div><span style="font-size:13px;font-family:arial,sans-serif"><br></span></div><div><span style="font-size:13px;font-family:arial,sans-serif">However, by doing so you will lose control over switching on or off 'tracing mode': whenever your code is called,your tracepoint will try to register and tracepoint() might have more overhead if you build your library like that, whereas your tracepoint won't register and tracepoint() macro just cost a simple branch if you do so by normal way and skip LD_PRELOAD.</span></div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote"><div><div>On Sat, Apr 5, 2014 at 4:16 AM, Anand Neeli <span dir="ltr"><<a href="mailto:anand.neeli@gmail.com" target="_blank">anand.neeli@gmail.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div dir="ltr">Hi Daniel,<div>Thanks for your detailed mail.</div><div>I will spend time with my code and get back if i have more queries.</div>
<div><br></div><div>What i'm looking at it is: adding lttng infra in our code base. I'm looking for a solution where most of the lttng build and launch parts are abstracted to the end app/library developer. </div>
<div>That is the reason why i'm not in favor of having LD_PRELOAD while launching an app. This would need the app developer to check if included libraries has tracing support and add .so appropriately to LD_PRELOAD (which needs more education to developer on lttng and included libraries) </div>
<div>If we can launch app(with or without instrumented library) normally and limit the complexity of linking to makefile it will be great.</div><div><br></div><div>Please keep me posted if you have any more thoughts on this.</div>
<div>Also, can you please send me the users guide.<br></div><div><br></div><div>Thanks,</div><div>Anand Neeli</div></div><div><div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Apr 4, 2014 at 8:13 PM, Thibault, Daniel <span dir="ltr"><<a href="mailto:Daniel.Thibault@drdc-rddc.gc.ca" target="_blank">Daniel.Thibault@drdc-rddc.gc.ca</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="FR-CA" link="blue" vlink="purple">
<div>
<p class="MsoNormal"><b><span lang="EN-CA" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">De :</span></b><span lang="EN-CA" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Anand Neeli [mailto:<a href="mailto:anand.neeli@gmail.com" target="_blank">anand.neeli@gmail.com</a>]
<br>
<b>Envoyé :</b> 4 avril 2014 01:45<br>
<br>
</span><span lang="EN-CA"><u></u><u></u></span></p>
<div><div>
<div>
<p class="MsoNormal"><span lang="EN-CA" style="color:#1f497d">> </span><span lang="EN-CA">Thanks for your reply.<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-CA" style="color:#1f497d">> </span><span lang="EN-CA">Sorry for my ignorance but how are you generating </span><span lang="EN-CA" style="font-size:10.0pt;font-family:"Arial","sans-serif"">libtp.so in your example?</span><span lang="EN-CA"><u></u><u></u></span></p>
</div>
</div><div>
<p class="MsoNormal"><span lang="EN-CA" style="color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Non-boilerplate parts are in
</span><span lang="EN-CA" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:red">red</span><span lang="EN-CA" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-CA" style="color:red">tp</span><span lang="EN-CA">.c:<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA">#####<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA">/*<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA">* Defining macro creates the code objects of the traceprobes.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA">* Must be done only once per file (this #define controls tracepoint.h and<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA">* tracepoint-event.h).<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA">*/<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA">#define TRACEPOINT_CREATE_PROBES<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA">/*<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA">* The header containing our TRACEPOINT_EVENTs.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA">*/<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA">#include "<span style="color:red">tp</span>.h"<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA">#####<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA" style="color:red">tp</span><span lang="EN-CA">.h:<br>
#####<br>
#undef TRACEPOINT_PROVIDER<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA">#define TRACEPOINT_PROVIDER <span style="color:red">
sample_component</span><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA">/*<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA">* include file (this files's name)<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA">*/<u></u><u></u></span></p><div>
<p class="MsoNormal"><span lang="EN-CA">#undef TRACEPOINT_INCLUDE<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA">#define TRACEPOINT_INCLUDE "./<span style="color:red">tp</span>.h"<u></u><u></u></span></p>
</div><p class="MsoNormal"><span lang="EN-CA">/*<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA">* Add this precompiler conditional to ensure the tracepoint event generation<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA">* can include this file more than once.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA">*/<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA">#if !defined(_<span style="color:red">SAMPLE_COMPONENT</span>_PROVIDER_H) || defined(TRACEPOINT_HEADER_MULTI_READ)<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA">#define _<span style="color:red">SAMPLE_COMPONENT</span>_PROVIDER_H<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA">/*<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA">* Add this to allow programs to call "tracepoint(...)".<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA">* This #include must not be within an extern "C" block; if it is,<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA">* C++ instrumentation will fail when SystemTap is also installed.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA">* (This may have been fixed since I wrote this)<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA">*/<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA">#include <lttng/tracepoint.h><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA">/*<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA">* Add this macro and its matching element to make sure the program<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA">* works in C++.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA">*/<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA">#ifdef __cplusplus<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA">extern "C" {<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA">#endif /* __cplusplus */<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA">/*<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA">* The following tracepoint event writes a message (C string) into the<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA">* field "message" of the trace event "event" in the provider<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA">* "sample_component" in other words:<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA">*<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA">* sample_component:event:message = text.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA">*/<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA">TRACEPOINT_EVENT(<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA"> /*<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA"> * provider name, not a variable but a string starting with a letter<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA"> * and containing either letters, numbers or underscores.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA"> * Needs to be the same as TRACEPOINT_PROVIDER<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA"> */<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA"> <span style="color:red">sample_component</span>,<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA"> /*<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA"> * tracepoint name, same format as sample provider. Does not need to be<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA"> * declared before. in this case the name is "event"<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA"> */<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA"> <span style="color:red">event</span>,<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA"> /*<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA"> * TP_ARGS macro contains the arguments passed for the tracepoint.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA"> * It is in the following format:<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA"> * TP_ARGS( type1, name1, type2, name2, ... type10, name10)<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA"> * where there can be from zero to ten elements.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA"> * "typeN" is the datatype, such as int, struct or double **.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA"> * "name" is the variable name (in "int myInt" the name would be "myInt")<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA"> * TP_ARGS() is valid (no arguments)<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA"> * TP_ARGS( void ) is valid too<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA"> */<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA"> TP_ARGS(<span style="color:red">const char *, text</span>),<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA"> /*<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA"> * TP_FIELDS describes how to write the fields of the trace event.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA"> * You can use the args here<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA"> */<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA"> TP_FIELDS(<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA"> /*<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA"> * The ctf_string macro takes a C string and writes it into a field<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA"> * named "message"<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA"> */<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA"> <span style="color:red">
ctf_string(message, text)<u></u><u></u></span></span></p>
<p class="MsoNormal"><span lang="EN-CA"> )<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA">)<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA">/*<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA">* Trace loglevel, shows the level of the trace event. It can be TRACE_EMERG,<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA">* TRACE_ALERT, TRACE_CRIT, TRACE_ERR, TRACE_WARNING, TRACE_INFO, etc.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA">* If this is not set, TRACE_DEFAULT is assumed.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA">* The first two arguments identify the tracepoint.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA">* See details in <lttng/tracepoint.h> line 347<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA">*/<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA">TRACEPOINT_LOGLEVEL(<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA"> /*<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA"> * The provider name, must be the same as the provider name in the<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA"> * TRACEPOINT_EVENT and as TRACEPOINT_PROVIDER above.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA"> */<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA"> <span style="color:red">sample_component</span>,<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA"> /*<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA"> * The tracepoint name, must be the same as the tracepoint name in the<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA"> * TRACEPOINT_EVENT<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA"> */<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA"> <span style="color:red">event</span>,<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA"> /*<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA"> * The tracepoint loglevel. WARNING: Some levels are abbreviated and<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA"> * others are not, please see <lttng/tracepoint.h><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA"> */<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA"> <span style="color:red">TRACE_WARNING<u></u><u></u></span></span></p>
<p class="MsoNormal"><span lang="EN-CA">)<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA"><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA">(more tracepoints…)<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA">/*<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA">* Add this macro and its matching element to make sure the program<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA">* works in C++.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA">*/<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA">#ifdef __cplusplus<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA">}<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA">#endif /* __cplusplus */<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA">/*<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA">* Add this after defining the tracepoint events to expand the macros.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA">*/<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA">#include <lttng/tracepoint-event.h><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA">#endif /* _<span style="color:red">SAMPLE_COMPONENT</span>_PROVIDER_H */<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA">#####</span></p><div><br>
The relevant Makefile fragments:<br>
#####<br>
CC = gcc<br>
</div><span style="color:#1f497d">LIBUST = -llttng-ust<u></u><u></u></span><p></p>
<p class="MsoNormal"><span lang="EN-CA"></span></p><div>LOCAL_CPPFLAGS += -I. $(AM_CPPFLAGS)<br>
LDFLAGS += -L/usr/local/lib $(AM_LDFLAGS)<br>
SOFLAGS = -fPIC<br></div><div>
SOVERSION_MAJOR = 1<br>
SOVERSION_MINOR = 0<br>
<br>
</div><span style="color:#1f497d">libtp.so: libtp.o<u></u><u></u></span><p></p><div>
<p class="MsoNormal"><span lang="EN-CA" style="color:#1f497d"> @echo "~~~~~~Packaging $@:"<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA" style="color:#1f497d"> $(CC) -shared -Wl,-soname,$@.$(SOVERSION_MAJOR) -Wl,-no-as-needed \<u></u><u></u></span></p>
</div><p class="MsoNormal"><span lang="EN-CA" style="color:#1f497d"> -o $@.$(SOVERSION_MAJOR).$(SOVERSION_MINOR) $(LDFLAGS) $(LIBUST) $<<u></u><u></u></span></p><div>
<p class="MsoNormal"><span lang="EN-CA" style="color:#1f497d"> ln -sf $@.$(SOVERSION_MAJOR).$(SOVERSION_MINOR) $@.$(SOVERSION_MAJOR)<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA" style="color:#1f497d"> ln -sf $@.$(SOVERSION_MAJOR) $@<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA" style="color:#1f497d"><u></u> <u></u></span></p>
</div><p class="MsoNormal"><span lang="EN-CA" style="color:#1f497d">libtp.o: tp.c tp.h<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA" style="color:#1f497d"> @echo "~~~~~~Compiling $@:"<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA" style="color:#1f497d"> $(CC) $(CPPFLAGS) $(LOCAL_CPPFLAGS) $(SOFLAGS) -c -o $@ $<<u></u><u></u></span></p><div>
<p class="MsoNormal"><span lang="EN-CA"><br>
</span><span lang="EN-CA" style="font-family:"Arial","sans-serif";color:#1f497d">>
</span><span lang="EN-CA" style="font-family:"Arial","sans-serif"">1) Also will this solution scale if my binary depends on lots of libraries which are instrumented?</span><span lang="EN-CA"><u></u><u></u></span></p>
</div></div>
<div>
<p class="MsoNormal"><span lang="EN-CA" style="color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Sure. I’d expect linear scaling. Each library, upon being loaded, looks for its tracepoint provider and turns its tracepoints off if they’re
not found.<u></u><u></u></span></p><div>
<p class="MsoNormal"><span lang="EN-CA" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA" style="font-family:"Arial","sans-serif";color:#1f497d">>
</span><span lang="EN-CA" style="font-family:"Arial","sans-serif"">2) i'm fine with linking statically, can we avoid LD_PRELOAD?<span style="color:#1f497d"><u></u><u></u></span></span></p>
<p class="MsoNormal"><span lang="EN-CA" style="font-family:"Arial","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
</div><p class="MsoNormal"><span lang="EN-CA" style="font-family:"Arial","sans-serif";color:#1f497d">Besides the LD_PRELOAD technique, you could also use LD_LIBRARY_PATH, but that works only if the application statically includes the tracepoint provider (I suppose
it would likewise work for an instrumented shared object only if it statically includes the tracepoint provider).<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA" style="font-family:"Arial","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA" style="font-family:"Arial","sans-serif";color:#1f497d">You could also add "-Wl,-rpath,'$$ORIGIN'" to the linker call to add an RPATH tag to the application (or shared object). This makes it look for its dependencies
in its starting directory ($ORIGIN). RPATH is, unlike RUNPATH, applicable to libraries as well: a library with an RPATH tag will look there for its dependencies; failing its own RPATH, it will use its executable's RPATH.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA" style="font-family:"Arial","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA" style="font-family:"Arial","sans-serif";color:#1f497d">Finally, you can dynamically include the tracepoint provider (libtp) as a dependency. The application (sample_static_aware) is then statically aware of libtp and
won't run without it. The application (sample_dynamic) can alternately dynamically include the tracepoint provider
<i>without</i> static awareness. Here’s how it’s done:<u></u><u></u></span></p><div>
<p class="MsoNormal"><span lang="EN-CA" style="font-family:"Arial","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA" style="font-family:"Arial","sans-serif";color:#1f497d">LIBDL = -ldl # On Linux<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA" style="font-family:"Arial","sans-serif";color:#1f497d">#LIBDL = -lc # On BSD<u></u><u></u></span></p>
</div><p class="MsoNormal"><span lang="EN-CA" style="font-family:"Arial","sans-serif";color:#1f497d">TP_DEFINE = -D TRACEPOINT_DEFINE<u></u><u></u></span></p><div>
<p class="MsoNormal"><span lang="EN-CA" style="font-family:"Arial","sans-serif";color:#1f497d">TP_DEFINE_DYNAMIC = $(TP_DEFINE) -D TRACEPOINT_PROBE_DYNAMIC_LINKAGE<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA" style="font-family:"Arial","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
</div><p class="MsoNormal"><span lang="EN-CA" style="font-family:"Arial","sans-serif";color:#1f497d">#(the inclusion of a libtp NEEDED tag requires "-no-as-needed -ltp").<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA" style="font-family:"Arial","sans-serif";color:#1f497d">#Note that "-L. -ltp", when used, should appear before $(LDFLAGS) $(LIBDL).<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA" style="font-family:"Arial","sans-serif";color:#1f497d">static_aware: static.o libtp.so<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA" style="font-family:"Arial","sans-serif";color:#1f497d"> @echo "~~~~~~Linking sample_$@:"<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA" style="font-family:"Arial","sans-serif";color:#1f497d"># $(CC) -Wl,-no-as-needed -o sample_$@ -L. -ltp $< $(LDFLAGS) $(LIBDL) \<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA" style="font-family:"Arial","sans-serif";color:#1f497d"># -Wl,-rpath,'$$ORIGIN',--enable-new-dtags<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA" style="font-family:"Arial","sans-serif";color:#1f497d"> $(CC) -Wl,-no-as-needed -o sample_$@ -L. -ltp $< $(LDFLAGS) $(LIBDL)<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA" style="font-family:"Arial","sans-serif";color:#1f497d"> @echo " Use 'LD_PRELOAD=./libtp.so ./sample_$@' to run sample_$@"<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA" style="font-family:"Arial","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA" style="font-family:"Arial","sans-serif";color:#1f497d">static.o: sample.c tp.h<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA" style="font-family:"Arial","sans-serif";color:#1f497d"> @echo "~~~~~~Compiling $@:"<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA" style="font-family:"Arial","sans-serif";color:#1f497d"> $(CC) $(CPPFLAGS) $(LOCAL_CPPFLAGS) $(TP_DEFINE) -c -o $@ $<<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA" style="color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA" style="color:#1f497d">#If not preloaded, the sample application runs but won't be traceable.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA" style="color:#1f497d">#Putting libtp in the path won't work: the sample does not look for it.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA" style="color:#1f497d">dynamic: dynamic.o libtp.so<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA" style="color:#1f497d"> @echo "~~~~~~Linking sample_$@:"<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA" style="color:#1f497d"> $(CC) -o sample_$@ $< $(LDFLAGS) $(LIBDL)<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA" style="color:#1f497d"> @echo " Use '[LD_PRELOAD=./libtp.so] ./sample_$@' to run sample_$@"<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA" style="color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA" style="color:#1f497d">#Compare with the 'static.o' target.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA" style="color:#1f497d">dynamic.o: sample.c tp.h<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA" style="color:#1f497d"> @echo "~~~~~~Compiling $@:"<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA" style="color:#1f497d"> $(CC) $(CPPFLAGS) $(LOCAL_CPPFLAGS) $(TP_DEFINE_DYNAMIC) \<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA" style="color:#1f497d"> -c -o $@ $<<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA" style="color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> The case where the app isn’t traced but the library it uses is traced should be a variation on this. I’ll try it out sometime in the near future,
but you should be able to figure it out from the above. Here’s a first guess (it may need $(LIBDL) alongside $(LIBUST)):<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA" style="color:#1f497d">libtp.so: libtp.o<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA" style="color:#1f497d"> @echo "~~~~~~Packaging $@:"<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA" style="color:#1f497d"> $(CC) -shared -Wl,-soname,$@.$(SOVERSION_MAJOR) -Wl,-no-as-needed -L. -ltp \<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA" style="color:#1f497d"> -o $@.$(SOVERSION_MAJOR).$(SOVERSION_MINOR) $(LDFLAGS) $(LIBUST) $<<u></u><u></u></span></p><div>
<p class="MsoNormal"><span lang="EN-CA" style="color:#1f497d"> ln -sf $@.$(SOVERSION_MAJOR).$(SOVERSION_MINOR) $@.$(SOVERSION_MAJOR)<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA" style="color:#1f497d"> ln -sf $@.$(SOVERSION_MAJOR) $@<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
</div></div>
<div>
<p class="MsoNormal"><span lang="EN-CA" style="font-family:"Arial","sans-serif";color:#1f497d">>
</span><span lang="EN-CA" style="font-family:"Arial","sans-serif"">3) Is there any page which explains on why and how to use<span style="color:#1f497d"><u></u><u></u></span></span></p><div>
<p class="MsoNormal"><span lang="EN-CA" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">>
</span><span lang="EN-CA" style="font-family:"Arial","sans-serif"">TRACEPOINT_PROVIDER, TRACEPOINT_CREATE_PROBES, TRACEPOINT_INCLUDE, </span><span lang="EN-CA" style="font-size:10.0pt;font-family:"Arial","sans-serif"">TRACEPOINT_DEFINE, TRACEPOINT_PROBE_DYNAMIC_LINKAGE</span><span lang="EN-CA"><u></u><u></u></span></p>
</div></div>
<div>
<p class="MsoNormal"><span lang="EN-CA" style="color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">They’re reasonably explained in the demonstration apps. I discuss them a little more in depth in the forthcoming LTTng Comprehensive User’s Guide
(I could send you a copy of the draft, as we’ve just begun its first review round).<u></u><u></u></span></p><div>
<p class="MsoNormal"><span lang="EN-CA" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA" style="font-family:"Arial","sans-serif";color:#1f497d">>
</span><span lang="EN-CA" style="font-family:"Arial","sans-serif"">my tp.h is, are there any errors in this?</span><span lang="EN-CA"><u></u><u></u></span></p>
</div></div>
<div>
<p class="MsoNormal"><span lang="EN-CA" style="font-family:"Arial","sans-serif";color:#1f497d">>
</span><span lang="EN-CA" style="font-family:"Arial","sans-serif"">#############</span><span lang="EN-CA"><u></u><u></u></span></p>
</div>
<div>
<div>
<p class="MsoNormal"><span lang="EN-CA" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA" style="font-family:"Arial","sans-serif";color:#1f497d">#undef TRACEPOINT_PROVIDER<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA" style="font-family:"Arial","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA" style="font-family:"Arial","sans-serif";color:#1f497d">>
</span><span lang="EN-CA" style="font-family:"Arial","sans-serif"">#define TRACEPOINT_PROVIDER sample_component<u></u><u></u></span></p>
</div><div>
<div>
<p class="MsoNormal"><span lang="EN-CA" style="font-family:"Arial","sans-serif";color:#1f497d">></span><span lang="EN-CA" style="font-family:"Arial","sans-serif""><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-CA" style="font-family:"Arial","sans-serif";color:#1f497d">>
</span><span lang="EN-CA" style="font-family:"Arial","sans-serif"">#undef TRACEPOINT_INCLUDE<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-CA" style="font-family:"Arial","sans-serif";color:#1f497d">>
</span><span lang="EN-CA" style="font-family:"Arial","sans-serif"">#define TRACEPOINT_INCLUDE "./tp.h"<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-CA" style="font-family:"Arial","sans-serif";color:#1f497d">></span><span lang="EN-CA" style="font-family:"Arial","sans-serif""><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-CA" style="font-family:"Arial","sans-serif";color:#1f497d">>
</span><span lang="EN-CA" style="font-family:"Arial","sans-serif"">#if !defined(_TP_H) || defined(TRACEPOINT_HEADER_MULTI_READ)<u></u><u></u></span></p>
</div>
</div><div>
<p class="MsoNormal"><span lang="EN-CA" style="font-family:"Arial","sans-serif";color:#1f497d">>
</span><span lang="EN-CA" style="font-family:"Arial","sans-serif"">#define _TP_H<span style="color:#1f497d"><u></u><u></u></span></span></p>
<p class="MsoNormal"><span lang="EN-CA" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">(Ideally, use _SAMPLE_COMPONENT_PROVIDER_H instead of _TP_H)<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-CA" style="font-family:"Arial","sans-serif";color:#1f497d">>
</span><span lang="EN-CA" style="font-family:"Arial","sans-serif"">#include <lttng/tracepoint.h><u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-CA" style="font-family:"Arial","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">#ifdef __cplusplus<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">extern "C" {<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">#endif /* __cplusplus */<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA" style="font-family:"Arial","sans-serif";color:#1f497d">>
</span><span lang="EN-CA" style="font-family:"Arial","sans-serif"">TRACEPOINT_EVENT(<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-CA" style="font-family:"Arial","sans-serif";color:#1f497d">></span><span lang="EN-CA" style="font-family:"Arial","sans-serif""> sample_component,<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-CA" style="font-family:"Arial","sans-serif";color:#1f497d">></span><span lang="EN-CA" style="font-family:"Arial","sans-serif""> event,<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-CA" style="font-family:"Arial","sans-serif";color:#1f497d">></span><span lang="EN-CA" style="font-family:"Arial","sans-serif""> TP_ARGS(char *, text),<span style="color:#1f497d"><u></u><u></u></span></span></p>
<p class="MsoNormal"><span lang="EN-CA" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">(the compiler may be happier with const char * instead)<u></u><u></u></span></p>
</div><div>
<div>
<p class="MsoNormal"><span lang="EN-CA" style="font-family:"Arial","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA" style="font-family:"Arial","sans-serif";color:#1f497d">></span><span lang="EN-CA" style="font-family:"Arial","sans-serif""> TP_FIELDS(<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-CA" style="font-family:"Arial","sans-serif";color:#1f497d">></span><span lang="EN-CA" style="font-family:"Arial","sans-serif""> ctf_string(message, text)<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-CA" style="font-family:"Arial","sans-serif";color:#1f497d">></span><span lang="EN-CA" style="font-family:"Arial","sans-serif""> )<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-CA" style="font-family:"Arial","sans-serif";color:#1f497d">></span><span lang="EN-CA" style="font-family:"Arial","sans-serif"">)<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-CA" style="font-family:"Arial","sans-serif";color:#1f497d">>
</span><span lang="EN-CA" style="font-family:"Arial","sans-serif"">TRACEPOINT_LOGLEVEL(<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-CA" style="font-family:"Arial","sans-serif";color:#1f497d">></span><span lang="EN-CA" style="font-family:"Arial","sans-serif""> sample_component,<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-CA" style="font-family:"Arial","sans-serif";color:#1f497d">></span><span lang="EN-CA" style="font-family:"Arial","sans-serif""> event,<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-CA" style="font-family:"Arial","sans-serif";color:#1f497d">></span><span lang="EN-CA" style="font-family:"Arial","sans-serif""> TRACE_WARNING)<u></u><u></u></span></p>
</div>
</div><div>
<p class="MsoNormal"><span lang="EN-CA" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA" style="font-family:"Arial","sans-serif";color:#1f497d">#ifdef __cplusplus<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA" style="font-family:"Arial","sans-serif";color:#1f497d">}<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA" style="font-family:"Arial","sans-serif";color:#1f497d">#endif /* __cplusplus */<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA" style="font-family:"Arial","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA" style="font-family:"Arial","sans-serif";color:#1f497d">>
</span><span lang="EN-CA" style="font-family:"Arial","sans-serif"">#endif /* _TP_H */<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-CA" style="font-family:"Arial","sans-serif";color:#1f497d">>
</span><span lang="EN-CA" style="font-family:"Arial","sans-serif"">#include <lttng/tracepoint-event.h><span style="color:#1f497d"><u></u><u></u></span></span></p>
<p class="MsoNormal"><span lang="EN-CA" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">(move #include <lttng/tracepoint-event.h> inside of the
</span><span lang="EN-CA" style="font-family:"Arial","sans-serif"">#if !defined(_TP_H) || defined(TRACEPOINT_HEADER_MULTI_READ)</span><span lang="EN-CA" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">)<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-CA" style="font-family:"Arial","sans-serif";color:#1f497d">>
</span><span lang="EN-CA" style="font-family:"Arial","sans-serif"">#############<u></u><u></u></span></p>
</div>
</div>
<div>
<p class="MsoNormal"><span lang="EN-CA" style="font-family:"Arial","sans-serif";color:#1f497d">></span><span lang="EN-CA"><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-CA" style="font-family:"Arial","sans-serif";color:#1f497d">>
</span><span lang="EN-CA" style="font-family:"Arial","sans-serif"">Thanks,</span><span lang="EN-CA"><u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-CA" style="font-family:"Arial","sans-serif";color:#1f497d">>
</span><span lang="EN-CA" style="font-family:"Arial","sans-serif"">Anand Neeli</span><span lang="EN-CA"><u></u><u></u></span></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal"><span style="color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> One key change I made to my sample applications is to remove the “#define TRACEPOINT_DEFINE” that precedes the “#include "tp.h"” line. I prefer
to control that #define using a compiler -D option. It makes the makefile clearer and resolves the problem of making sure there is just one module that turns that #define on.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">
</span><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Hope this helps.<u></u><u></u></span></p><div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal">Daniel U. Thibault<br>
Protection des systèmes et contremesures (PSC) | Systems Protection & Countermeasures (SPC)<br>
Cyber sécurité pour les missions essentielles (CME) | Mission Critical Cyber Security (MCCS)<br>
R & D pour la défense Canada - Valcartier (RDDC Valcartier) | Defence R&D Canada - Valcartier (DRDC Valcartier)<br>
2459 route de la Bravoure<br>
Québec QC G3J 1X5<br>
CANADA<br>
Vox : (418) 844-4000 x4245<br>
Fax : (418) 844-4538<br>
NAC : 918V QSDJ <<a href="http://--ESFSECEV-TY3011--------------------------------" target="_blank">http://www.travelgis.com/map.asp?addr=918V%20QSDJ</a>><br>
Gouvernement du Canada | Government of Canada<br>
<<a href="http://--ESFSECEV-TY3011---------------------" target="_blank">http://www.valcartier.drdc-rddc.gc.ca/</a>><span style="color:#1f497d"><u></u><u></u></span></p>
</div></div>
</div>
</div>
</div>
</blockquote></div><br></div>
</div></div><br></div></div><div>_______________________________________________<br>
lttng-dev mailing list<br>
<a href="mailto:lttng-dev@lists.lttng.org" target="_blank">lttng-dev@lists.lttng.org</a><br>
<a href="http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev" target="_blank">http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev</a><br>
<br></div></blockquote></div><br></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>