Bug #738
closedcreate --live needs sane defaults.
100%
Description
Before 2.4 final, it would be good to provide a good UI for lttng create --live:
lttng create --live
-> defaults to flush interval of 1 second (1000000) if not specified
-> default to -U net://localhost if not specified
If a create -U net://localhost is performed but no relayd is listening on
localhost, lttng UI could spawn a relay daemon listening on localhost on
the default port.
In Babeltrace, we should also ensure that babeltrace -i lttng-live (without
net:// parameter) defaults to try to query relay daemon on localhost on the
default port.
We should also bind "lttng view" to "babeltrace -i lttng-live" when lttng view
is executed against a live session.
This would enable the following usage:
lttng create --live
lttng enable-event -u -a
lttng start
lttng view