[lttng-dev] [RFC lttng-tools] Triggers

David Goulet dgoulet at efficios.com
Thu Apr 11 14:32:45 EDT 2013


Or use --name as an optional option.

But indeed, the "add, del and list" command would have to be reserved
meaning no "WHAT/WHERE" would be "add".

David

Thibault, Daniel:
>> Maybe something like that ?
>> $ lttng trigger [OPTIONS] {add|list|del} <NAME> <WHAT/WHERE> <ACTION>
> 
> The problem with this is that lttng will become confused in its expectations if the <NAME> is one of "add", "list", or "del".  It'd be better to use options, i.e. "--add", "--list", "--del" or "--command={add|list|del}".
> 
> 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



More information about the lttng-dev mailing list