>> -C limits the maximum file size and -W the amount of such files to >> keep on disk. > > Do you round up to the next packet / subbuffer / event? We won't exceed the maximum file size specified, so when we detect that a write will be too big, we rotate the tracefile before writing in it. The smallest file size the user can specify will be the subbuffer size.
> In the upcoming releases, there should be small indexes telling where each > packet / subbuffer starts in each file. How are these index files affected by > these switches? There will be one index file per tracefile, so the logic to write the index file will be the same as the logic to write the tracefile : when we rotate the tracefile, we rotate the index file. It is a good question since we might end up with a lot of files though, for each channel : 2*CPU*tracefile_count. I'd like to hear what the others have to say about that. Thank you, Julien _______________________________________________ lttng-dev mailing list [email protected] http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
