From mboxrd@z Thu Jan 1 00:00:00 1970 From: jonathan.r.julien@gmail.com (Jonathan Rajotte) Date: Thu, 13 Feb 2014 15:36:28 -0500 Subject: [lttng-dev] Machine Interface In-Reply-To: <48CF5AC71E61DB46B70D0F388054EFFD267E7531@VAL-E-01.valcartier.drdc-rddc.gc.ca> References: <48CF5AC71E61DB46B70D0F388054EFFD267E7531@VAL-E-01.valcartier.drdc-rddc.gc.ca> Message-ID: <20140213203627.GC16437@gmail.com> > > Now for the machine interface syntax: > > > > * Also, to avoid confusion we will use a different primary command for input and > > output machine interface. > > Ex: lttng machine > > Ex: lttng --xml This should be : for MI input: lttng machine for XML output: lttng --xml --xml would be an option for each command > > I have a problem with the broken symmetry here. If you have a command (e.g. 'machine') for input, why is it you have none for output? What happens if, for instance, I type 'lttng --xml list -k'? Am I going to get an xml-formatted list of kernel tracepoints to stdout? > The syntax would be: lttng list -k --xml and the output would be an xml-formatted list of kernel tracepoints to stdout. > Daniel U. Thibault > Protection des syst?mes et contremesures (PSC) | Systems Protection & Countermeasures (SPC) > Cyber s?curit? pour les missions essentielles (CME) | Mission Critical Cyber Security (MCCS) > R & D pour la d?fense Canada - Valcartier (RDDC Valcartier) | Defence R&D Canada - Valcartier (DRDC Valcartier) > 2459 route de la Bravoure > Qu?bec QC G3J 1X5 > CANADA > Vox : (418) 844-4000 x4245 > Fax : (418) 844-4538 > NAC : 918V QSDJ > Gouvernement du Canada | Government of Canada > > > _______________________________________________ > lttng-dev mailing list > lttng-dev at lists.lttng.org > http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev -- Jonathan Rajotte Julien Charg? de laboratoire INF1995 Membre MD6 Polytechnique Montr?al