[lttng-dev] babeltrace -i ?

Jérémie Galarneau jeremie.galarneau at efficios.com
Tue May 7 10:43:21 EDT 2013


Fixed by:

commit 05cab52530332c97aca9d8c78a8cae2f82f00896
Author: Jérémie Galarneau <jeremie.galarneau at efficios.com>
Date:   Thu Feb 28 21:27:45 2013 -0500

    Fix: Ensure the specified input format is CTF

    Add a check to make sure the input trace format argument passed to the
    babeltrace converter is "ctf" as it is currently the only one supported.

    Add a note to this effect in the man page.

    Fixes #462

    Signed-off-by: Jérémie Galarneau <jeremie.galarneau at efficios.com>
    Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers at efficios.com>

On Tue, May 7, 2013 at 9:43 AM, Mathieu Desnoyers
<mathieu.desnoyers at efficios.com> wrote:
> Yep, a clearer error message could help. please file a bug on
> bugs.lttng.org.
>
> * Thibault, Daniel (Daniel.Thibault at drdc-rddc.gc.ca) wrote:
>>    What is the babeltrace -i, --input-format option meant for?  At first I thought one could round-trip a CTF trace to text and back using babeltrace, but if I try this:
>>
>> $ babeltrace /path_to_the/ctf_trace_directory -w /path_to_the/text_trace_file
>> $ babeltrace /path_to_the/text_trace_file -i text -o ctf -w /path_to_the/reconstituted_ctf_trace_directory
>>
>>    The second command gives me:
>>
>> [error] Cannot open any trace for reading.
>> [error] opening trace "/path_to_the/text_trace_file" for reading.
>> [error] none of the specified trace paths could be opened.
>>
>>    If '-i ctf' is the only currently-implemented option, then we should get a more appropriate error message when using another: something along the lines of "babeltrace input format not supported ".
>>
>> Daniel U. Thibault
>> R & D pour la défense Canada - Valcartier (RDDC Valcartier) / Defence R&D Canada - Valcartier (DRDC Valcartier)
>> Cyber sécurité pour les missions essentielles (CME) / Mission Critical Cyber Security (MCCS)
>> Protection des systèmes et contremesures (PSC) / Systems Protection & Countermeasures (SPC)
>> 2459 route de la Bravoure
>> Québec, QC  G3J 1X5
>> CANADA
>> Vox : (418) 844-4000 x4245
>> Fax : (418) 844-4538
>> NAC : 918V QSDJ <http://www.travelgis.com/map.asp?addr=918V%20QSDJ>
>> Gouvernement du Canada / Government of Canada
>> <http://www.valcartier.drdc-rddc.gc.ca/>
>>
>> _______________________________________________
>> 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
>
> _______________________________________________
> lttng-dev mailing list
> lttng-dev at lists.lttng.org
> http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev



-- 
Jérémie Galarneau
EfficiOS Inc.
http://www.efficios.com



More information about the lttng-dev mailing list