From mboxrd@z Thu Jan 1 00:00:00 1970 From: Fredrik_Oestman@mentor.com (Oestman, Fredrik) Date: Fri, 19 Oct 2012 08:07:41 +0000 Subject: [lttng-dev] Flight-recorder mode Message-ID: <524C960C5DFC794E82BE548D825F05CF5BC75AB2@EU-MBX-01.mgc.mentorg.com> Hi, We use LTTng 2.0 with a limited file system on the target to receive the trace logs: Extract of fstab file: tmpfs /dev/shm tmpfs size=64M,mode=777,noauto 0 0 When tmpfs is full, trace logs are corrupted. Since it is very difficult to control the tracing to avoid this, we would need a real flight-recorder mode where the files on the disk have a pre-defined (maximum) size and where either discard or overwrite mode can be applied. Is there such a thing or some other solution to the problem? Cheers, Fredrik ?stman http://go.mentor.com/sourceryanalyzer/