<div dir="ltr"><span style="font-size:13px;font-family:arial,sans-serif">Thanks for your detailed responses :)</span><div style="font-size:13px;font-family:arial,sans-serif">Actually i will begin by taking my own trace that i will configure it in advance ( same event type , and i will add the different event context that i need ) .</div>
<div style="font-size:13px;font-family:arial,sans-serif">It's my first time to develop with python and i don't really know the architecture of babeltrace , So can you help me and tell me how to proceed to filter my data from CTF to the output Format that i will choose ? </div>
<div style="font-size:13px;font-family:arial,sans-serif">I'm only interested on kernel space tracing .</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-05-08 17:29 GMT-04:00 Jessica Foest <span dir="ltr"><<a href="mailto:jessica.foest@gmail.com" target="_blank">jessica.foest@gmail.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">i work only on kernel space event .</div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-05-08 17:10 GMT-04:00 Jessica Foest <span dir="ltr"><<a href="mailto:jessica.foest@gmail.com" target="_blank">jessica.foest@gmail.com</a>></span>:<div>
<div class="h5"><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Thanks for your detailed responses :)<div>Actually i will begin by taking my own trace that i will configure it in advance ( same event type , and i will add the different event context that i need ) .</div>


<div>It's my first time to develop with python and i don't really know the architecture of babeltrace , So can you help me and tell me how to proceed to filter my data from CTF to the output Format that i will choose ? </div>


</div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-05-08 11:53 GMT-04:00 Alexandre Montplaisir <span dir="ltr"><<a href="mailto:alexmonthy@voxpopuli.im" target="_blank">alexmonthy@voxpopuli.im</a>></span>:<div>

<div><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
To avoid doing a complete first pass of the trace, you can just<br>
iterate on the event types as described in the metadata, and take note<br>
of all the possible field you can find in the trace. Then, during your<br>
only pass, you already know all your "columns".<br>
</blockquote>
<br></div>
That's true. Although right now TMF doesn't have an API to ask a trace "give me all the event types you have", other than just reading the trace ;)<br>
<br>
wrt CTF, it's possible to have events in the metadata that don't actually show up in the trace. But that's not really a problem, at worst you'd end up with empty columns.<br>
</blockquote></div></div></div><br></div>
</blockquote></div></div></div><br></div>
</blockquote></div><br></div>