<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>We need to read the traces while trace session is still running. We set the max-file-size. When LTTng rollover to the next trace file, we would want to read the old traces from the old trace files. If LTTng separate the traces per CPU core, time T traces might be at the first trace file of CPU 1, but at 6th trace file of CPU 3. It is much harder for use to search for traces, when each CPU core writes their own trace files. We will need to do extra processing to search for the traces at time T for each CPU core's trace files.<br><br><br><br><div>> To: lttng-dev@lists.lttng.org<br>> From: Jonathan.rajotte-julien@efficios.com<br>> Date: Tue, 15 Dec 2015 14:47:47 -0500<br>> Subject: Re: [lttng-dev] LTTng trace files organize<br>> <br>> Hey Jeffrey<br>> <br>> On 2015-12-15 02:15 PM, Jeffrey Chen wrote:<br>> > Hi:<br>> ><br>> > I have a question on how LTTng organize trace files. I noticed by <br>> > default for userspace tracing, LTTng writes a trace file per CPU core. <br>> > So, I would get something like channel0_0, channel0_1, channel0_2, <br>> > channel0_3, for the case of 4 CPU cores. Is there a way to config <br>> > LTTng only writes to 1 trace file? This is much easier for us to <br>> > organize the traces for our use case.<br>> If you don't mind me asking what exactly would be your use case here? <br>> Folder separation is not enough (via -o on lttng create) ?<br>> <br>> Cheers<br>> <br>> > Thanks.<br>> ><br>> ><br>> > _______________________________________________<br>> > lttng-dev mailing list<br>> > lttng-dev@lists.lttng.org<br>> > http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev<br>> <br>> -- <br>> Jonathan R. Julien<br>> Efficios<br>> <br>> <br>> _______________________________________________<br>> lttng-dev mailing list<br>> lttng-dev@lists.lttng.org<br>> http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev<br></div> </div></body>
</html>