Yep, a clearer error message could help. please file a bug on
bugs.lttng.org.

* Thibault, Daniel ([email protected]) 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
> [email protected]
> http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

-- 
Mathieu Desnoyers
EfficiOS Inc.
http://www.efficios.com

_______________________________________________
lttng-dev mailing list
[email protected]
http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

Reply via email to