[lttng-dev] Missing tracepoint entries when listing fields in LTTng Tools 2.1

Bernd Hufmann Bernd.Hufmann at ericsson.com
Mon Sep 17 10:59:19 EDT 2012


Hi Mathieu

thanks for the quick fix. I tried it and it works as expected.

BR,
Bernd


On 09/17/2012 10:14 AM, Mathieu Desnoyers wrote:
> * Bernd Hufmann (Bernd.Hufmann at ericsson.com) wrote:
>> Hello
>>
>> I wondering if the described problem below will be fixed for the release
>> of 2.1? I think the behaviour is not correct and should be corrected in
>> the release.
>> Any comments?
> Fixed by commit:
>
> commit 26329f266af91824651fe32df3003c45c71985b8
> Author: Mathieu Desnoyers<mathieu.desnoyers at efficios.com>
> Date:   Mon Sep 17 10:11:09 2012 -0400
>
>      Fix: add events with 0 field to field list
>
>      Signed-off-by: Mathieu Desnoyers<mathieu.desnoyers at efficios.com>
>
> It will be in 2.1.
>
> Thanks,
>
> Mathieu
>
>
>> Best Regards
>> Bernd
>>
>> On 09/14/2012 08:24 AM, Bernd Hufmann wrote:
>>> Hi
>>>
>>> I executed command "lttng list -u -f" (in LTTng Tools 2.1 RC2) to list
>>> all the available UST tracers and their tracepoints/fields. I noticed
>>> that some tracepoints are not listed when they don't have any fields. I
>>> think this is not  correct because the "-f" option should just give more
>>> detailed information, but should not remove information.
>>>
>>> To re-produce, use the hello.cxx test application delivered with LTTng UST.
>>> "lttng list -u" shows:
>>> PID: 6056 - Name: /home/bernd/git/lttng-ust/tests/hello.cxx/.libs/lt-hello
>>>          ust_tests_hello:tptest_sighandler (loglevel: TRACE_DEBUG_LINE
>>> (13)) (type: tracepoint)
>>>          ust_tests_hello:tptest (loglevel: TRACE_DEBUG_LINE (13)) (type:
>>> tracepoint)
>>>
>>> "lttng list -u -f shows:
>>> PID: 6056 - Name: /home/bernd/git/lttng-ust/tests/hello.cxx/.libs/lt-hello
>>>          ust_tests_hello:tptest (loglevel: TRACE_DEBUG_LINE (13)) (type:
>>> tracepoint)
>>>            field: doublefield (float)
>>>            field: floatfield (float)
>>>            field: stringfield (string)
>>>            field: seqfield2 (string)
>>>            field: seqfield1 (unknown)
>>>            field: arrfield2 (string)
>>>            field: arrfield1 (unknown)
>>>            field: netintfieldhex (integer)
>>>            field: netintfield (integer)
>>>            field: longfield (integer)
>>>            field: intfield2 (integer)
>>>            field: intfield (integer)
>>>
>>> Best Regards
>>> Bernd
>>>
>>>
>>
>> -- 
>> This Communication is Confidential. We only send and receive email on
>> the basis of the terms set out at www.ericsson.com/email_disclaimer
>>
>> _______________________________________________
>> lttng-dev mailing list
>> lttng-dev at lists.lttng.org
>> http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev


-- 
This Communication is Confidential. We only send and receive email on 
the basis of the terms set out at www.ericsson.com/email_disclaimer



More information about the lttng-dev mailing list