Skip to contentSkip to conversation

LTTng-Tools 2.6.0-rc1 - Gaia

RELEASE Simon Marchi 2 participants 3 messages Oct 20, 2014 – Oct 29, 2014 2 messages not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive
Quoted 1 line

Note that there are now new lines for parsing efficiency. You can find the XML

I think you meant there are _no_ new lines! With the typo, it means the exact opposite. :)

A small tip for those who are going to work with the MI, use xmllint to format the output nicely when you want to read it with your eyes:

$ lttng  --mi xml version | xmllint --format -
Quoted 2 lines

schema in "src/common/mi_lttng.xsd". Big thanks to Jonathan Rajotte for this great feature that the lttng bash completion file has already started using it!

#2 lore raw
In reply to a message not in the archive

Hello

I just tried to configure the metadata channel for UST. After that I get an error when listing the session. Could someone please verify this? See below for the commands I used and the error message.

Many thanks in advance!

Best Regards
Bernd

Quoted 1 line

lttng create

Session auto-20141020-141307 created.
Traces will be written in /home/bernd/lttng-traces/auto-20141020-141307

Quoted 1 line

lttng enable-channel --subbuf-size 8192 -u metadata

UST channel metadata enabled for session auto-20141020-141307

Quoted 1 line

lttng list auto-20141020-141307

Tracing session auto-20141020-141307: [inactive]

    Trace path: /home/bernd/lttng-traces/auto-20141020-141307

=== Domain: UST global ===

Buffer type: per UID

Error: UST channel not found
Error: Command error

Quoted 51 lines · David Goulet

Greetings everyone (including LTTng bards!),

The lttng-tools project provides a session daemon (lttng-sessiond) that acts as a tracing registry, the "lttng" command line for tracing control, a lttng-ctl library for tracing control and a lttng-relayd for network streaming and live reading.

This is the release candidate number 1 of version 2.6, code name: Gaia.

This features are listed below but here is a quick howto to use them. For the MI feature, simply adds to the lttng command line the option "--mi xml". Only XML is supported for now.

	lttng --mi xml version

Note that there are now new lines for parsing efficiency. You can find the XML schema in "src/common/mi_lttng.xsd". Big thanks to Jonathan Rajotte for this great feature that the lttng bash completion file has already started using it!

Also, Java log4j support has been added as a new domain (like JUL) that you can use with the command line option -l, --log4j and with the API using LTTNG_DOMAIN_LOG4J.

Finally, it's now possible to do per syscall tracing. You can get a full list of the available syscalls on your system with "lttng list -k --syscall". To enable a syscall, use its name like so:

	lttng enable-event -k --syscall connect

Note that it's not possible to choose the bitness of the syscall thus for instance enabling "read" on a kernel supporting both 32 and 64 bit will enabled both of them.

Of course, we fix a BUNCH of things that hopefully will make lttng tools more stable and powerful :). Here is the ChangeLog entry for 2.6-rc1.

2014-10-20 lttng-tools 2.6.0-rc1 (Harry Belafonte records Banana Boat Song)
* Machine Interface added to lttng command line (--mi)
* Java Log4j agent support (--log4j)
* Kernel per syscall tracing
* Multiple fixes. A lot!

Please report ANY issues to bugs.lttng.org or on that mailing list.

Using it is testing it!

Project website: https://lttng.org
Download link:
https://lttng.org/files/lttng-tools/lttng-tools-2.6.0-rc1.tar.bz2
GPG sig: https://lttng.org/files/lttng-tools/lttng-tools-2.6.0-rc1.tar.bz2.asc

Quoted 8 lines

Cheers!
David

_______________________________________________
lttng-dev mailing list
[email protected]
http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

_______________________________________________
lttng-dev mailing list
[email protected]
http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

#4 lore raw
In reply to a message not in the archive

Hello

I'd like to get some understanding about this. So, any comments on the reported error below?

Thanks
Bernd

Quoted 92 lines · Bernd Hufmann

Hello

I just tried to configure the metadata channel for UST. After that I get an error when listing the session. Could someone please verify this? See below for the commands I used and the error message.

Many thanks in advance!

Best Regards
Bernd

Quoted 1 line

lttng create

Session auto-20141020-141307 created.
Traces will be written in /home/bernd/lttng-traces/auto-20141020-141307

Quoted 1 line

lttng enable-channel --subbuf-size 8192 -u metadata

UST channel metadata enabled for session auto-20141020-141307

Quoted 1 line

lttng list auto-20141020-141307

Tracing session auto-20141020-141307: [inactive]

    Trace path: /home/bernd/lttng-traces/auto-20141020-141307

=== Domain: UST global ===

Buffer type: per UID

Error: UST channel not found
Error: Command error

Quoted 51 lines · David Goulet

Greetings everyone (including LTTng bards!),

The lttng-tools project provides a session daemon (lttng-sessiond) that acts as a tracing registry, the "lttng" command line for tracing control, a lttng-ctl library for tracing control and a lttng-relayd for network streaming and live reading.

This is the release candidate number 1 of version 2.6, code name: Gaia.

This features are listed below but here is a quick howto to use them. For the MI feature, simply adds to the lttng command line the option "--mi xml". Only XML is supported for now.

	lttng --mi xml version

Note that there are now new lines for parsing efficiency. You can find the XML schema in "src/common/mi_lttng.xsd". Big thanks to Jonathan Rajotte for this great feature that the lttng bash completion file has already started using it!

Also, Java log4j support has been added as a new domain (like JUL) that you can use with the command line option -l, --log4j and with the API using LTTNG_DOMAIN_LOG4J.

Finally, it's now possible to do per syscall tracing. You can get a full list of the available syscalls on your system with "lttng list -k --syscall". To enable a syscall, use its name like so:

	lttng enable-event -k --syscall connect

Note that it's not possible to choose the bitness of the syscall thus for instance enabling "read" on a kernel supporting both 32 and 64 bit will enabled both of them.

Of course, we fix a BUNCH of things that hopefully will make lttng tools more stable and powerful :). Here is the ChangeLog entry for 2.6-rc1.

2014-10-20 lttng-tools 2.6.0-rc1 (Harry Belafonte records Banana Boat Song)
* Machine Interface added to lttng command line (--mi)
* Java Log4j agent support (--log4j)
* Kernel per syscall tracing
* Multiple fixes. A lot!

Please report ANY issues to bugs.lttng.org or on that mailing list.

Using it is testing it!

Project website:https://lttng.org
Download link:
https://lttng.org/files/lttng-tools/lttng-tools-2.6.0-rc1.tar.bz2
GPG sig:https://lttng.org/files/lttng-tools/lttng-tools-2.6.0-rc1.tar.bz2.asc

Quoted 8 lines

Cheers!
David

_______________________________________________
lttng-dev mailing list
[email protected]
http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

Quoted 4 lines

_______________________________________________
lttng-dev mailing list
[email protected]
http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

_______________________________________________
lttng-dev mailing list
[email protected]
http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev