[lttng-dev] channel configuration and data, .ctf files

John Smith whalajam at gmail.com
Thu Jan 14 00:39:29 EST 2016


Got the answer for my 2-nd question, looks like .ctf is not just one file
but the whole set of files in the trace dir,
thanks, John

On Wed, Jan 13, 2016 at 7:14 PM, John Smith <whalajam at gmail.com> wrote:

> Hi,
> I have two questions:
>
> 1)
>
> I configured a user-space session channel like:
> lttng enable-channel  x -u -s y --overwrite -C 4194304 -W 16
> --subbuf-size 16384
>
> --tracefile-size = 4MB
> --tracefile-count = 16
> -subbuf-size = 4 * 4KB (PAGE_SIZE = 4KB)
>
> in
> lttng-traces/y_trace-20160113-xxx/ust/uid/1064/64-bit/
>
> I see 32 files:
>
> 8192 .. x_trace_chan_0_0
> ...
> 8192 .. x_trace_chan_31_0
>
> most of them of 8192 size and one of them (x_trace_chan_8_0) of 147456 size
>
> How these number of files (32) and sizes (mostly 8KB) related to the
> desired channel configuration as it looks like they don't, what are the
> 1-first and 1-nd digit in the _chan_N_M name significance?
>
> 2) I'd like to process the generated ctf files using babeltrace but
> apparently there are no such files in lttng-trace directory, how can I
> generate them, I suppose based on the data in x_trace_chan_N_0 files?
>
> thanks, John
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lttng.org/pipermail/lttng-dev/attachments/20160113/d1b6c1ea/attachment.html>


More information about the lttng-dev mailing list