[lttng-dev] 'lttng create' does not create the session directory

Sebastien Boisvert sboisvert at gydle.com
Mon Jun 6 15:48:53 UTC 2016



On 06/06/2016 11:33 AM, Raphaël Beamonte wrote:
> 2016-06-06 11:16 GMT-04:00 Sebastien Boisvert <sboisvert at gydle.com>:
>> Hi,
>>
>> I am using LTTng to trace an aligner of DNA optical assets that we are
>> developing at Gydle Inc. LTTng is very useful.
>>
>> I installed it with the PPA ("deb http://ppa.launchpad.net/lttng/ppa/ubuntu").
>>
>> I don't know what has changed in my setup, but since this morning lttng is not
>> creating session directories.
>>
>>
>> Z1$ lttng --version
>> lttng (LTTng Trace Control) 2.7.3 - Herbe à Détourne
>>
>> Z1$ lttng create
>> Session auto-20160606-101953 created.
>> Traces will be written in /home/sboisvert/lttng-traces/auto-20160606-101953
>>
>> Z1$ ls /home/sboisvert/lttng-traces/auto-20160606-101953
>> ls: cannot access /home/sboisvert/lttng-traces/auto-20160606-101953: No such file or directory
>>
>>
>> I have enough disk space.
>>
>> I am not sure what is causing this.
> 
> Hi Sebastien,
> 
> If I'm not mistaken, lttng will only create the directory if there is
> data to write. Try adding kernel events and start the tracing, you'll
> have the directory.
> 

Thanks.

I did not know that.



> Raphaël
> 
>> _______________________________________________
>> lttng-dev mailing list
>> lttng-dev at lists.lttng.org
>> https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev


More information about the lttng-dev mailing list