<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>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class=""><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><br></div>