Skip to contentSkip to conversation

list configured filters in LTTng Tools 2.1

DISCUSSION Mathieu Desnoyers 2 participants 6 messages Sep 12, 2012 – Sep 17, 2012 5 messages not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 7 lines · * Bernd Hufmann ([email protected]) wrote:

Hello

I configured a filter for UST events (lttng enable event -u ust* --filter 'signal==10101') and I want to retrieve that information afterwards. I used "lttng list mySession" and it only shows [with filters]. Is it possible to retrieve the actual filter expression? If not, it would be good to add this possibility.

We could. Please add a feature request on the bugs.lttng.org bugtracker against the lttng-tools project.

Thanks,

Mathieu

Quoted 13 lines

Best Regards
Bernd

Signature · 7 lines
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
[email protected]
http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
Signature · 4 lines
Mathieu Desnoyers
Operating System Efficiency R&D Consultant
EfficiOS Inc.
http://www.efficios.com

A message that is not in the archive (sent off-list or not yet received): 20120912191400.GA31291@Krystal

#3 lore raw

Hi Mathieu

Thanks for the info. I've opened a feature request (#334).

Best Regards
Bernd

Quoted 27 lines · Mathieu Desnoyers
Quoted 7 lines · * Bernd Hufmann ([email protected]) wrote:

Hello

I configured a filter for UST events (lttng enable event -u ust* --filter 'signal==10101') and I want to retrieve that information afterwards. I used "lttng list mySession" and it only shows [with filters]. Is it possible to retrieve the actual filter expression? If not, it would be good to add this possibility.

We could. Please add a feature request on the bugs.lttng.org bugtracker against the lttng-tools project.

Thanks,

Mathieu

Quoted 12 lines

Best Regards
Bernd

Signature · 7 lines
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
[email protected]
http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
Signature · 1 line
This Communication is Confidential. We only send and receive email on the basis of the terms set out at www.ericsson.com/email_disclaimer
#4 lore raw

Missing tracepoint entries when listing fields in LTTng Tools 2.1

In reply to a message not in the archive

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

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

A message that is not in the archive (sent off-list or not yet received): [email protected]

#6 lore raw

Re: Missing tracepoint entries when listing fields in LTTng Tools 2.1

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?

Best Regards
Bernd

Quoted 37 lines · Bernd Hufmann

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

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

A message that is not in the archive (sent off-list or not yet received): [email protected]

#8 lore raw

Re: Missing tracepoint entries when listing fields in LTTng Tools 2.1

Quoted 6 lines · * Bernd Hufmann ([email protected]) 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 <[email protected]>
Date:   Mon Sep 17 10:11:09 2012 -0400

Fix: add events with 0 field to field list

It will be in 2.1.

Thanks,

Mathieu

Quoted 52 lines

Best Regards
Bernd

Quoted 37 lines · Bernd Hufmann

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

Signature · 7 lines
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
[email protected]
http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
Signature · 4 lines
Mathieu Desnoyers
Operating System Efficiency R&D Consultant
EfficiOS Inc.
http://www.efficios.com

A message that is not in the archive (sent off-list or not yet received): 20120917141455.GA8071@Krystal

#10 lore raw

Re: Missing tracepoint entries when listing fields in LTTng Tools 2.1

Hi Mathieu

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

BR,
Bernd

Quoted 74 lines · Mathieu Desnoyers
Quoted 6 lines · * Bernd Hufmann ([email protected]) 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<[email protected]>
Date:   Mon Sep 17 10:11:09 2012 -0400

Fix: add events with 0 field to field list

It will be in 2.1.

Thanks,

Mathieu

Quoted 50 lines

Best Regards
Bernd

Quoted 37 lines · Bernd Hufmann

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

Signature · 7 lines
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
[email protected]
http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
Signature · 1 line
This Communication is Confidential. We only send and receive email on the basis of the terms set out at www.ericsson.com/email_disclaimer