Issue status update for
http://lttng.org/issue/208
Post a follow up:
http://lttng.org/comment/reply/208#comment-form


 Project:      ltt-control
 Version:      0.88
 Component:    User interface
 Category:     bug report
 Priority:     minor
 Assigned to:  Anonymous
 Status:       new
 Updated by:   alexmont

If you run "lttctl -w" pointing a non-existing directory, lttctl will
happilly start the trace but will discard all the information.


For example:
mkdir -p /tmp/traces/out
sudo lttctl -C -w /tmp/traces/out/trace1 trace1
(trace starts and works ok)


But if doing instead:
mkdir -p /tmp/traces
sudo lttctl -C -w /tmp/traces/out/trace1 trace1  #the "out" directory
doesn't exist
(lttctl reports the trace as started but will not save anything)


lttctl should:
1) include the "mkdir -p" to create the directory first, OR
2) report the error and exit with a value > 0



alexmont


_______________________________________________
ltt-dev mailing list
[email protected]
http://lists.casi.polymtl.ca/cgi-bin/mailman/listinfo/ltt-dev

Reply via email to