Bug #810
closedweird lttng load error with multiple saved sessions
100%
Description
$ lttng create test1
$ lttng enable-event -k sched_switch -s test1
$ lttng save test1
$ lttng destroy test1
$ lttng create test2
$ lttng enable-event -k sched_switch -s test2
$ lttng save test2
$ lttng destroy test2
$ ls /home/julien/.lttng/sessions
test1.lttng test2.lttng
$ lttng load test1
Error: Failed to load session test2: Session file not found
Session test1 has been loaded successfully
$ lttng list
Available tracing sessions:
1) test1 (/home/julien/lttng-traces/test1-20140620-152444) [inactive]
$ lttng destroy -a
$ lttng load test2
Session test2 has been loaded successfully
$ lttng list
Available tracing sessions:
1) test2 (/home/julien/lttng-traces/test2-20140620-152500) [inactive]
So everything seems to work, but the error when loading test1 is surprising.
Updated by David Goulet over 10 years ago
- Status changed from New to Resolved
- % Done changed from 0 to 100
Applied in changeset tools|commit:c2da8cdebb879c1de7cbd43e2a11d0b19a410d36.