[lttng-dev] lttclt hungs on destroying traces on 188.8.131.52+rt13 (PREEMPT_RT)
piotr.romaniuk at elesoftrom.com.pl
Mon Feb 20 14:29:17 EST 2012
Thank you Mathieu.
It works fine after application the patch on my kernel.
Indeed, needed changes are in:
included in patch-184.108.40.206-lttng-0.224.tar.gz.
(just for people who meet the same problem and will browse the list).
W dniu 2012-02-20 15:42, Mathieu Desnoyers pisze:
> * Piotr Romaniuk (piotr.romaniuk at elesoftrom.com.pl) wrote:
>> I have a problem with getting traces on kernel 220.127.116.11 with PREEMPT_RT
>> I can run ltt-armall and create traces by lttctl but when I destroy
>> traces lttclt hungs.
>> Is there any fundamental obstacle in RT-kernel for LTT?
>> I use following versions:
>> 1) kernel 18.104.22.168
>> 2) patch-22.214.171.124-rt13 from
>> 3) LTTng: patch-126.96.36.199-lttng-0.212
>> 4) LTT control: 0.89-05122011
>> I tuned slightly LTTng patches in order to apply them on rt kernel.
>> The changes were rather easy and were limited to adaptation of
>> surrounding context
>> that had been changed by RT-patch.
>> I built the kernel (all LTT modules I built in the kernel) successfully.
>> The problem appears when I try to destroy traces. Lttctl hungs and no
>> data are copied to files.
>> Do you have any suggestions?
> You should grep for "CONFIG_PREEMPT_RT" within later versions of lttng
> 0.x. Modifications were done to locking to support RT, and without those
> the destroy operation was hanging.
> If this does not work out for you, you should probably move to LTTng 2.0
> prereleases, since LTTng 0.x is not supported anymore.
>> Piotr Romaniuk
>> lttng-dev mailing list
>> lttng-dev at lists.lttng.org
More information about the lttng-dev