Bug #970
closedsnapshot written in 2 folders if it takes more than 1 second to record
100%
Description
With "lttng snapshot record" on a session with UST et kernel buffers, if the writing of one domain takes longer than 1 second, another folder is created when writing the data of the second domain.
Reproduced with master.
lttng create --snapshot
lttng enable-channel -k bla --subbuf-size 8M --num-subbuf 8
lttng enable-event -k -a -c bla
lttng enable-event -u -a
lttng start
... wait for the kernel ring-buffer to be full...
lttng snapshot record
If the disk takes longer than 1 second to write 64MB, the resulting snapshot looks like this:
ls /home/julien/lttng-traces/auto-20151103-174410
snapshot-1-20151103-174443-0/kernel/.....
snapshot-1-20151103-174446-0/ust.....
This is confusing because we expect all the traces of one snapshot to be in the same folder, especially when we record lots of them it becomes a mess to link the ones that belong together.
Updated by Jonathan Rajotte Julien about 9 years ago
- Status changed from New to Confirmed
- Assignee set to Jonathan Rajotte Julien
Updated by Jonathan Rajotte Julien about 9 years ago
- Status changed from Confirmed to Feedback
Hey,
Would you mind checking the following patches1 and give me some feedback ?
Thanks
[1]https://github.com/lttng/lttng-tools/pull/57
Updated by Jonathan Rajotte Julien over 8 years ago
- Status changed from Feedback to Resolved
- % Done changed from 0 to 100
Applied in changeset tools|commit:10ba83fe66905e3d3ff2dac3a635d564b8df2d9e.