[lttng-dev] babeltrace -i ?

Thibault, Daniel Daniel.Thibault at drdc-rddc.gc.ca
Mon Feb 25 13:50:36 EST 2013


   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/>



More information about the lttng-dev mailing list