Hello community, here is the log from the commit of package lttng-tools for openSUSE:Factory checked in at 2018-11-15 12:41:58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/lttng-tools (Old) and /work/SRC/openSUSE:Factory/.lttng-tools.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "lttng-tools" Thu Nov 15 12:41:58 2018 rev:4 rq:649122 version:2.10.5 Changes: -------- --- /work/SRC/openSUSE:Factory/lttng-tools/lttng-tools.changes 2018-06-20 15:33:44.556882673 +0200 +++ /work/SRC/openSUSE:Factory/.lttng-tools.new/lttng-tools.changes 2018-11-15 12:42:01.562142369 +0100 @@ -1,0 +2,29 @@ +Wed Nov 14 12:28:56 UTC 2018 - [email protected] + +- Update to version 2.10.5: + * Fix: missing context enum values in session xml schema. + * Tests: add session auto-loading test cases. + * Bash completion: ignore namespace for xmllint parsing. + * Typo in ust consumer log message (channek -> channel). + * Fix: use signed variable for refcounting of + consumer_relayd_sock_pair. + * Fix: warning due to hash_key_str() being not const-correct. + * Print consumerd32/64/kernel configuration. + * Fix: calling ht_{hash, match}_enum with wrong argument. + * Fix: probes should be compared strictly by events metadata. + * Fix: test_ust-dl is generated at configure-time. + * Fix: cmd line options overwrite env variable config options. + * Fix: perform the initialization memory barrier out of loop body. + * Port: fix format warnings on Cygwin. + * Add missing include for ssize_t on Cygwin. + * Fix: sessions with agent channels fail to load. + * Fix: don't wait for the load thread before serving client + commands. + * Fix: sessiond fails to launch on --without-ust configuration. + * Fix: agent thread poll set creation failure results in deadlock. + * Fix: test uses sizeof() on the wrong operand of strncpy. + * Fix: ret may be used uninitialized in sample_channel_positions(). +- Add gpl-2.0.txt and lgpl-2.1.txt to the library packages with the + %license tag. + +------------------------------------------------------------------- Old: ---- lttng-tools-2.10.4.tar.bz2 lttng-tools-2.10.4.tar.bz2.asc New: ---- lttng-tools-2.10.5.tar.bz2 lttng-tools-2.10.5.tar.bz2.asc ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ lttng-tools.spec ++++++ --- /var/tmp/diff_new_pack.8G83SK/_old 2018-11-15 12:42:02.014141856 +0100 +++ /var/tmp/diff_new_pack.8G83SK/_new 2018-11-15 12:42:02.018141851 +0100 @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -20,12 +20,12 @@ %define soname_ctl liblttng-ctl %define sover_ctl 0 Name: lttng-tools -Version: 2.10.4 +Version: 2.10.5 Release: 0 Summary: Linux Trace Toolkit Next Generation userspace tools License: GPL-2.0-only AND LGPL-2.1-only Group: Development/Tools/Other -Url: https://lttng.org/ +URL: https://lttng.org/ Source: https://lttng.org/files/lttng-tools/%{name}-%{version}.tar.bz2 Source1: https://lttng.org/files/lttng-tools/%{name}-%{version}.tar.bz2.asc Source2: %{name}.keyring @@ -85,6 +85,7 @@ %files %doc %{_docdir}/%{name}/ +%license gpl-2.0.txt lgpl-2.1.txt %{_bindir}/lttng %{_bindir}/lttng-crash %{_bindir}/lttng-relayd @@ -99,6 +100,7 @@ %{_datadir}/xml/lttng/session.xsd %files -n %{soname_ctl}%{sover_ctl} +%license gpl-2.0.txt lgpl-2.1.txt %{_libdir}/%{soname_ctl}.so.%{sover_ctl}* %files -n %{name}-devel ++++++ lttng-tools-2.10.4.tar.bz2 -> lttng-tools-2.10.5.tar.bz2 ++++++ ++++ 1736 lines of diff (skipped) ++++ retrying with extended exclude list diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/lttng-tools-2.10.4/ChangeLog new/lttng-tools-2.10.5/ChangeLog --- old/lttng-tools-2.10.4/ChangeLog 2018-04-30 20:47:49.507522024 +0200 +++ new/lttng-tools-2.10.5/ChangeLog 2018-07-24 02:21:04.435505312 +0200 @@ -1,3 +1,25 @@ +2018-07-23 lttng-tools 2.10.5 (National Vanilla Ice Cream Day) + * Fix: missing context enum values in session xml schema + * Tests: add session auto-loading test cases + * Bash completion: ignore namespace for xmllint parsing + * Typo in ust consumer log message (channek -> channel) + * Fix: use signed variable for refcounting of consumer_relayd_sock_pair + * Fix: warning due to hash_key_str() being not const-correct + * Print consumerd32/64/kernel configuration + * Fix: calling ht_{hash, match}_enum with wrong argument + * Fix: probes should be compared strictly by events metadata + * Fix: test_ust-dl is generated at configure-time + * Fix: cmd line options overwrite env variable config options + * Fix: perform the initialization memory barrier out of loop body + * Port: fix format warnings on Cygwin + * Add missing include for ssize_t on Cygwin + * Fix: sessions with agent channels fail to load + * Fix: don't wait for the load thread before serving client commands + * Fix: sessiond fails to launch on --without-ust configuration + * Fix: agent thread poll set creation failure results in deadlock + * Fix: test uses sizeof() on the wrong operand of strncpy + * Fix: ret may be used uninitialized in sample_channel_positions() + 2018-04-30 lttng-tools 2.10.4 (CERN announces WWW protocols will be free) * Fix build: in_git_repo is used before being set * Add DBG statement for TCP keep-alive options diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/lttng-tools-2.10.4/configure.ac new/lttng-tools-2.10.5/configure.ac --- old/lttng-tools-2.10.4/configure.ac 2018-04-30 20:47:49.511521916 +0200 +++ new/lttng-tools-2.10.5/configure.ac 2018-07-24 02:21:04.439505204 +0200 @@ -1,5 +1,5 @@ AC_PREREQ([2.64]) -AC_INIT([lttng-tools],[2.10.4],[[email protected]],[],[https://lttng.org]) +AC_INIT([lttng-tools],[2.10.5],[[email protected]],[],[https://lttng.org]) AC_CONFIG_HEADERS([include/config.h]) AC_CONFIG_AUX_DIR([config]) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/lttng-tools-2.10.4/doc/man/lttng-add-context.1 new/lttng-tools-2.10.5/doc/man/lttng-add-context.1 --- old/lttng-tools-2.10.4/doc/man/lttng-add-context.1 2018-04-30 20:49:13.717230515 +0200 +++ new/lttng-tools-2.10.5/doc/man/lttng-add-context.1 2018-07-24 02:22:27.701266576 +0200 @@ -2,12 +2,12 @@ .\" Title: lttng-add-context .\" Author: [see the "AUTHORS" section] .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/> -.\" Date: 04/30/2018 +.\" Date: 07/24/2018 .\" Manual: LTTng Manual -.\" Source: LTTng 2.10.4 +.\" Source: LTTng 2.10.5 .\" Language: English .\" -.TH "LTTNG\-ADD\-CONTEXT" "1" "04/30/2018" "LTTng 2\&.10\&.4" "LTTng Manual" +.TH "LTTNG\-ADD\-CONTEXT" "1" "07/24/2018" "LTTng 2\&.10\&.5" "LTTng Manual" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/lttng-tools-2.10.4/doc/man/lttng-crash.1 new/lttng-tools-2.10.5/doc/man/lttng-crash.1 --- old/lttng-tools-2.10.4/doc/man/lttng-crash.1 2018-04-30 20:49:25.320914666 +0200 +++ new/lttng-tools-2.10.5/doc/man/lttng-crash.1 2018-07-24 02:22:39.248956095 +0200 @@ -2,12 +2,12 @@ .\" Title: lttng-crash .\" Author: [see the "AUTHORS" section] .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/> -.\" Date: 04/30/2018 +.\" Date: 07/24/2018 .\" Manual: LTTng Manual -.\" Source: LTTng 2.10.4 +.\" Source: LTTng 2.10.5 .\" Language: English .\" -.TH "LTTNG\-CRASH" "1" "04/30/2018" "LTTng 2\&.10\&.4" "LTTng Manual" +.TH "LTTNG\-CRASH" "1" "07/24/2018" "LTTng 2\&.10\&.5" "LTTng Manual" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/lttng-tools-2.10.4/doc/man/lttng-create.1 new/lttng-tools-2.10.5/doc/man/lttng-create.1 --- old/lttng-tools-2.10.4/doc/man/lttng-create.1 2018-04-30 20:49:00.169599252 +0200 +++ new/lttng-tools-2.10.5/doc/man/lttng-create.1 2018-07-24 02:22:14.185629970 +0200 @@ -2,12 +2,12 @@ .\" Title: lttng-create .\" Author: [see the "AUTHORS" section] .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/> -.\" Date: 04/30/2018 +.\" Date: 07/24/2018 .\" Manual: LTTng Manual -.\" Source: LTTng 2.10.4 +.\" Source: LTTng 2.10.5 .\" Language: English .\" -.TH "LTTNG\-CREATE" "1" "04/30/2018" "LTTng 2\&.10\&.4" "LTTng Manual" +.TH "LTTNG\-CREATE" "1" "07/24/2018" "LTTng 2\&.10\&.5" "LTTng Manual" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/lttng-tools-2.10.4/doc/man/lttng-destroy.1 new/lttng-tools-2.10.5/doc/man/lttng-destroy.1 --- old/lttng-tools-2.10.4/doc/man/lttng-destroy.1 2018-04-30 20:49:01.333567572 +0200 +++ new/lttng-tools-2.10.5/doc/man/lttng-destroy.1 2018-07-24 02:22:15.385597707 +0200 @@ -2,12 +2,12 @@ .\" Title: lttng-destroy .\" Author: [see the "AUTHORS" section] .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/> -.\" Date: 04/30/2018 +.\" Date: 07/24/2018 .\" Manual: LTTng Manual -.\" Source: LTTng 2.10.4 +.\" Source: LTTng 2.10.5 .\" Language: English .\" -.TH "LTTNG\-DESTROY" "1" "04/30/2018" "LTTng 2\&.10\&.4" "LTTng Manual" +.TH "LTTNG\-DESTROY" "1" "07/24/2018" "LTTng 2\&.10\&.5" "LTTng Manual" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/lttng-tools-2.10.4/doc/man/lttng-disable-channel.1 new/lttng-tools-2.10.5/doc/man/lttng-disable-channel.1 --- old/lttng-tools-2.10.4/doc/man/lttng-disable-channel.1 2018-04-30 20:49:12.413266008 +0200 +++ new/lttng-tools-2.10.5/doc/man/lttng-disable-channel.1 2018-07-24 02:22:26.377302174 +0200 @@ -2,12 +2,12 @@ .\" Title: lttng-disable-channel .\" Author: [see the "AUTHORS" section] .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/> -.\" Date: 04/30/2018 +.\" Date: 07/24/2018 .\" Manual: LTTng Manual -.\" Source: LTTng 2.10.4 +.\" Source: LTTng 2.10.5 .\" Language: English .\" -.TH "LTTNG\-DISABLE\-CHAN" "1" "04/30/2018" "LTTng 2\&.10\&.4" "LTTng Manual" +.TH "LTTNG\-DISABLE\-CHAN" "1" "07/24/2018" "LTTng 2\&.10\&.5" "LTTng Manual" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/lttng-tools-2.10.4/doc/man/lttng-disable-event.1 new/lttng-tools-2.10.5/doc/man/lttng-disable-event.1 --- old/lttng-tools-2.10.4/doc/man/lttng-disable-event.1 2018-04-30 20:49:24.256943628 +0200 +++ new/lttng-tools-2.10.5/doc/man/lttng-disable-event.1 2018-07-24 02:22:38.176984916 +0200 @@ -2,12 +2,12 @@ .\" Title: lttng-disable-event .\" Author: [see the "AUTHORS" section] .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/> -.\" Date: 04/30/2018 +.\" Date: 07/24/2018 .\" Manual: LTTng Manual -.\" Source: LTTng 2.10.4 +.\" Source: LTTng 2.10.5 .\" Language: English .\" -.TH "LTTNG\-DISABLE\-EVEN" "1" "04/30/2018" "LTTng 2\&.10\&.4" "LTTng Manual" +.TH "LTTNG\-DISABLE\-EVEN" "1" "07/24/2018" "LTTng 2\&.10\&.5" "LTTng Manual" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/lttng-tools-2.10.4/doc/man/lttng-enable-channel.1 new/lttng-tools-2.10.5/doc/man/lttng-enable-channel.1 --- old/lttng-tools-2.10.4/doc/man/lttng-enable-channel.1 2018-04-30 20:49:11.233298125 +0200 +++ new/lttng-tools-2.10.5/doc/man/lttng-enable-channel.1 2018-07-24 02:22:25.301331103 +0200 @@ -2,12 +2,12 @@ .\" Title: lttng-enable-channel .\" Author: [see the "AUTHORS" section] .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/> -.\" Date: 04/30/2018 +.\" Date: 07/24/2018 .\" Manual: LTTng Manual -.\" Source: LTTng 2.10.4 +.\" Source: LTTng 2.10.5 .\" Language: English .\" -.TH "LTTNG\-ENABLE\-CHANN" "1" "04/30/2018" "LTTng 2\&.10\&.4" "LTTng Manual" +.TH "LTTNG\-ENABLE\-CHANN" "1" "07/24/2018" "LTTng 2\&.10\&.5" "LTTng Manual" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/lttng-tools-2.10.4/doc/man/lttng-enable-event.1 new/lttng-tools-2.10.5/doc/man/lttng-enable-event.1 --- old/lttng-tools-2.10.4/doc/man/lttng-enable-event.1 2018-04-30 20:49:22.984978252 +0200 +++ new/lttng-tools-2.10.5/doc/man/lttng-enable-event.1 2018-07-24 02:22:36.909019009 +0200 @@ -2,12 +2,12 @@ .\" Title: lttng-enable-event .\" Author: [see the "AUTHORS" section] .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/> -.\" Date: 04/30/2018 +.\" Date: 07/24/2018 .\" Manual: LTTng Manual -.\" Source: LTTng 2.10.4 +.\" Source: LTTng 2.10.5 .\" Language: English .\" -.TH "LTTNG\-ENABLE\-EVENT" "1" "04/30/2018" "LTTng 2\&.10\&.4" "LTTng Manual" +.TH "LTTNG\-ENABLE\-EVENT" "1" "07/24/2018" "LTTng 2\&.10\&.5" "LTTng Manual" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/lttng-tools-2.10.4/doc/man/lttng-help.1 new/lttng-tools-2.10.5/doc/man/lttng-help.1 --- old/lttng-tools-2.10.4/doc/man/lttng-help.1 2018-04-30 20:49:19.849063611 +0200 +++ new/lttng-tools-2.10.5/doc/man/lttng-help.1 2018-07-24 02:22:33.793102785 +0200 @@ -2,12 +2,12 @@ .\" Title: lttng-help .\" Author: [see the "AUTHORS" section] .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/> -.\" Date: 04/30/2018 +.\" Date: 07/24/2018 .\" Manual: LTTng Manual -.\" Source: LTTng 2.10.4 +.\" Source: LTTng 2.10.5 .\" Language: English .\" -.TH "LTTNG\-HELP" "1" "04/30/2018" "LTTng 2\&.10\&.4" "LTTng Manual" +.TH "LTTNG\-HELP" "1" "07/24/2018" "LTTng 2\&.10\&.5" "LTTng Manual" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/lttng-tools-2.10.4/doc/man/lttng-list.1 new/lttng-tools-2.10.5/doc/man/lttng-list.1 --- old/lttng-tools-2.10.4/doc/man/lttng-list.1 2018-04-30 20:49:14.997195677 +0200 +++ new/lttng-tools-2.10.5/doc/man/lttng-list.1 2018-07-24 02:22:28.981232162 +0200 @@ -2,12 +2,12 @@ .\" Title: lttng-list .\" Author: [see the "AUTHORS" section] .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/> -.\" Date: 04/30/2018 +.\" Date: 07/24/2018 .\" Manual: LTTng Manual -.\" Source: LTTng 2.10.4 +.\" Source: LTTng 2.10.5 .\" Language: English .\" -.TH "LTTNG\-LIST" "1" "04/30/2018" "LTTng 2\&.10\&.4" "LTTng Manual" +.TH "LTTNG\-LIST" "1" "07/24/2018" "LTTng 2\&.10\&.5" "LTTng Manual" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/lttng-tools-2.10.4/doc/man/lttng-load.1 new/lttng-tools-2.10.5/doc/man/lttng-load.1 --- old/lttng-tools-2.10.4/doc/man/lttng-load.1 2018-04-30 20:49:04.837472206 +0200 +++ new/lttng-tools-2.10.5/doc/man/lttng-load.1 2018-07-24 02:22:19.025499840 +0200 @@ -2,12 +2,12 @@ .\" Title: lttng-load .\" Author: [see the "AUTHORS" section] .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/> -.\" Date: 04/30/2018 +.\" Date: 07/24/2018 .\" Manual: LTTng Manual -.\" Source: LTTng 2.10.4 +.\" Source: LTTng 2.10.5 .\" Language: English .\" -.TH "LTTNG\-LOAD" "1" "04/30/2018" "LTTng 2\&.10\&.4" "LTTng Manual" +.TH "LTTNG\-LOAD" "1" "07/24/2018" "LTTng 2\&.10\&.5" "LTTng Manual" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/lttng-tools-2.10.4/doc/man/lttng-metadata.1 new/lttng-tools-2.10.5/doc/man/lttng-metadata.1 --- old/lttng-tools-2.10.4/doc/man/lttng-metadata.1 2018-04-30 20:49:26.496882655 +0200 +++ new/lttng-tools-2.10.5/doc/man/lttng-metadata.1 2018-07-24 02:22:40.412924799 +0200 @@ -2,12 +2,12 @@ .\" Title: lttng-metadata .\" Author: [see the "AUTHORS" section] .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/> -.\" Date: 04/30/2018 +.\" Date: 07/24/2018 .\" Manual: LTTng Manual -.\" Source: LTTng 2.10.4 +.\" Source: LTTng 2.10.5 .\" Language: English .\" -.TH "LTTNG\-METADATA" "1" "04/30/2018" "LTTng 2\&.10\&.4" "LTTng Manual" +.TH "LTTNG\-METADATA" "1" "07/24/2018" "LTTng 2\&.10\&.5" "LTTng Manual" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/lttng-tools-2.10.4/doc/man/lttng-regenerate.1 new/lttng-tools-2.10.5/doc/man/lttng-regenerate.1 --- old/lttng-tools-2.10.4/doc/man/lttng-regenerate.1 2018-04-30 20:49:27.692850100 +0200 +++ new/lttng-tools-2.10.5/doc/man/lttng-regenerate.1 2018-07-24 02:22:41.608892643 +0200 @@ -2,12 +2,12 @@ .\" Title: lttng-regenerate .\" Author: [see the "AUTHORS" section] .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/> -.\" Date: 04/30/2018 +.\" Date: 07/24/2018 .\" Manual: LTTng Manual -.\" Source: LTTng 2.10.4 +.\" Source: LTTng 2.10.5 .\" Language: English .\" -.TH "LTTNG\-REGENERATE" "1" "04/30/2018" "LTTng 2\&.10\&.4" "LTTng Manual" +.TH "LTTNG\-REGENERATE" "1" "07/24/2018" "LTTng 2\&.10\&.5" "LTTng Manual" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/lttng-tools-2.10.4/doc/man/lttng-relayd.8 new/lttng-tools-2.10.5/doc/man/lttng-relayd.8 --- old/lttng-tools-2.10.4/doc/man/lttng-relayd.8 2018-04-30 20:49:30.348777802 +0200 +++ new/lttng-tools-2.10.5/doc/man/lttng-relayd.8 2018-07-24 02:22:44.492815103 +0200 @@ -2,12 +2,12 @@ .\" Title: lttng-relayd .\" Author: [see the "AUTHORS" section] .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/> -.\" Date: 04/30/2018 +.\" Date: 07/24/2018 .\" Manual: LTTng Manual -.\" Source: LTTng 2.10.4 +.\" Source: LTTng 2.10.5 .\" Language: English .\" -.TH "LTTNG\-RELAYD" "8" "04/30/2018" "LTTng 2\&.10\&.4" "LTTng Manual" +.TH "LTTNG\-RELAYD" "8" "07/24/2018" "LTTng 2\&.10\&.5" "LTTng Manual" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/lttng-tools-2.10.4/doc/man/lttng-save.1 new/lttng-tools-2.10.5/doc/man/lttng-save.1 --- old/lttng-tools-2.10.4/doc/man/lttng-save.1 2018-04-30 20:49:03.661504213 +0200 +++ new/lttng-tools-2.10.5/doc/man/lttng-save.1 2018-07-24 02:22:17.769533609 +0200 @@ -2,12 +2,12 @@ .\" Title: lttng-save .\" Author: [see the "AUTHORS" section] .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/> -.\" Date: 04/30/2018 +.\" Date: 07/24/2018 .\" Manual: LTTng Manual -.\" Source: LTTng 2.10.4 +.\" Source: LTTng 2.10.5 .\" Language: English .\" -.TH "LTTNG\-SAVE" "1" "04/30/2018" "LTTng 2\&.10\&.4" "LTTng Manual" +.TH "LTTNG\-SAVE" "1" "07/24/2018" "LTTng 2\&.10\&.5" "LTTng Manual" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/lttng-tools-2.10.4/doc/man/lttng-sessiond.8 new/lttng-tools-2.10.5/doc/man/lttng-sessiond.8 --- old/lttng-tools-2.10.4/doc/man/lttng-sessiond.8 2018-04-30 20:49:29.176809705 +0200 +++ new/lttng-tools-2.10.5/doc/man/lttng-sessiond.8 2018-07-24 02:22:43.116852098 +0200 @@ -2,12 +2,12 @@ .\" Title: lttng-sessiond .\" Author: [see the "AUTHORS" section] .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/> -.\" Date: 04/30/2018 +.\" Date: 07/24/2018 .\" Manual: LTTng Manual -.\" Source: LTTng 2.10.4 +.\" Source: LTTng 2.10.5 .\" Language: English .\" -.TH "LTTNG\-SESSIOND" "8" "04/30/2018" "LTTng 2\&.10\&.4" "LTTng Manual" +.TH "LTTNG\-SESSIOND" "8" "07/24/2018" "LTTng 2\&.10\&.5" "LTTng Manual" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/lttng-tools-2.10.4/doc/man/lttng-set-session.1 new/lttng-tools-2.10.5/doc/man/lttng-set-session.1 --- old/lttng-tools-2.10.4/doc/man/lttng-set-session.1 2018-04-30 20:49:02.493536001 +0200 +++ new/lttng-tools-2.10.5/doc/man/lttng-set-session.1 2018-07-24 02:22:16.557566196 +0200 @@ -2,12 +2,12 @@ .\" Title: lttng-set-session .\" Author: [see the "AUTHORS" section] .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/> -.\" Date: 04/30/2018 +.\" Date: 07/24/2018 .\" Manual: LTTng Manual -.\" Source: LTTng 2.10.4 +.\" Source: LTTng 2.10.5 .\" Language: English .\" -.TH "LTTNG\-SET\-SESSION" "1" "04/30/2018" "LTTng 2\&.10\&.4" "LTTng Manual" +.TH "LTTNG\-SET\-SESSION" "1" "07/24/2018" "LTTng 2\&.10\&.5" "LTTng Manual" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/lttng-tools-2.10.4/doc/man/lttng-snapshot.1 new/lttng-tools-2.10.5/doc/man/lttng-snapshot.1 --- old/lttng-tools-2.10.4/doc/man/lttng-snapshot.1 2018-04-30 20:49:21.089029860 +0200 +++ new/lttng-tools-2.10.5/doc/man/lttng-snapshot.1 2018-07-24 02:22:35.117067188 +0200 @@ -2,12 +2,12 @@ .\" Title: lttng-snapshot .\" Author: [see the "AUTHORS" section] .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/> -.\" Date: 04/30/2018 +.\" Date: 07/24/2018 .\" Manual: LTTng Manual -.\" Source: LTTng 2.10.4 +.\" Source: LTTng 2.10.5 .\" Language: English .\" -.TH "LTTNG\-SNAPSHOT" "1" "04/30/2018" "LTTng 2\&.10\&.4" "LTTng Manual" +.TH "LTTNG\-SNAPSHOT" "1" "07/24/2018" "LTTng 2\&.10\&.5" "LTTng Manual" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/lttng-tools-2.10.4/doc/man/lttng-start.1 new/lttng-tools-2.10.5/doc/man/lttng-start.1 --- old/lttng-tools-2.10.4/doc/man/lttng-start.1 2018-04-30 20:49:05.965441506 +0200 +++ new/lttng-tools-2.10.5/doc/man/lttng-start.1 2018-07-24 02:22:20.141469836 +0200 @@ -2,12 +2,12 @@ .\" Title: lttng-start .\" Author: [see the "AUTHORS" section] .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/> -.\" Date: 04/30/2018 +.\" Date: 07/24/2018 .\" Manual: LTTng Manual -.\" Source: LTTng 2.10.4 +.\" Source: LTTng 2.10.5 .\" Language: English .\" -.TH "LTTNG\-START" "1" "04/30/2018" "LTTng 2\&.10\&.4" "LTTng Manual" +.TH "LTTNG\-START" "1" "07/24/2018" "LTTng 2\&.10\&.5" "LTTng Manual" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/lttng-tools-2.10.4/doc/man/lttng-status.1 new/lttng-tools-2.10.5/doc/man/lttng-status.1 --- old/lttng-tools-2.10.4/doc/man/lttng-status.1 2018-04-30 20:49:18.673095621 +0200 +++ new/lttng-tools-2.10.5/doc/man/lttng-status.1 2018-07-24 02:22:32.645133651 +0200 @@ -2,12 +2,12 @@ .\" Title: lttng-status .\" Author: [see the "AUTHORS" section] .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/> -.\" Date: 04/30/2018 +.\" Date: 07/24/2018 .\" Manual: LTTng Manual -.\" Source: LTTng 2.10.4 +.\" Source: LTTng 2.10.5 .\" Language: English .\" -.TH "LTTNG\-STATUS" "1" "04/30/2018" "LTTng 2\&.10\&.4" "LTTng Manual" +.TH "LTTNG\-STATUS" "1" "07/24/2018" "LTTng 2\&.10\&.5" "LTTng Manual" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/lttng-tools-2.10.4/doc/man/lttng-stop.1 new/lttng-tools-2.10.5/doc/man/lttng-stop.1 --- old/lttng-tools-2.10.4/doc/man/lttng-stop.1 2018-04-30 20:49:07.101410587 +0200 +++ new/lttng-tools-2.10.5/doc/man/lttng-stop.1 2018-07-24 02:22:21.321438110 +0200 @@ -2,12 +2,12 @@ .\" Title: lttng-stop .\" Author: [see the "AUTHORS" section] .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/> -.\" Date: 04/30/2018 +.\" Date: 07/24/2018 .\" Manual: LTTng Manual -.\" Source: LTTng 2.10.4 +.\" Source: LTTng 2.10.5 .\" Language: English .\" -.TH "LTTNG\-STOP" "1" "04/30/2018" "LTTng 2\&.10\&.4" "LTTng Manual" +.TH "LTTNG\-STOP" "1" "07/24/2018" "LTTng 2\&.10\&.5" "LTTng Manual" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/lttng-tools-2.10.4/doc/man/lttng-track.1 new/lttng-tools-2.10.5/doc/man/lttng-track.1 --- old/lttng-tools-2.10.4/doc/man/lttng-track.1 2018-04-30 20:49:16.297160293 +0200 +++ new/lttng-tools-2.10.5/doc/man/lttng-track.1 2018-07-24 02:22:30.297196780 +0200 @@ -2,12 +2,12 @@ .\" Title: lttng-track .\" Author: [see the "AUTHORS" section] .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/> -.\" Date: 04/30/2018 +.\" Date: 07/24/2018 .\" Manual: LTTng Manual -.\" Source: LTTng 2.10.4 +.\" Source: LTTng 2.10.5 .\" Language: English .\" -.TH "LTTNG\-TRACK" "1" "04/30/2018" "LTTng 2\&.10\&.4" "LTTng Manual" +.TH "LTTNG\-TRACK" "1" "07/24/2018" "LTTng 2\&.10\&.5" "LTTng Manual" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/lttng-tools-2.10.4/doc/man/lttng-untrack.1 new/lttng-tools-2.10.5/doc/man/lttng-untrack.1 --- old/lttng-tools-2.10.4/doc/man/lttng-untrack.1 2018-04-30 20:49:17.549126215 +0200 +++ new/lttng-tools-2.10.5/doc/man/lttng-untrack.1 2018-07-24 02:22:31.525163764 +0200 @@ -2,12 +2,12 @@ .\" Title: lttng-untrack .\" Author: [see the "AUTHORS" section] .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/> -.\" Date: 04/30/2018 +.\" Date: 07/24/2018 .\" Manual: LTTng Manual -.\" Source: LTTng 2.10.4 +.\" Source: LTTng 2.10.5 .\" Language: English .\" -.TH "LTTNG\-UNTRACK" "1" "04/30/2018" "LTTng 2\&.10\&.4" "LTTng Manual" +.TH "LTTNG\-UNTRACK" "1" "07/24/2018" "LTTng 2\&.10\&.5" "LTTng Manual" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/lttng-tools-2.10.4/doc/man/lttng-version.1 new/lttng-tools-2.10.5/doc/man/lttng-version.1 --- old/lttng-tools-2.10.4/doc/man/lttng-version.1 2018-04-30 20:49:08.265378906 +0200 +++ new/lttng-tools-2.10.5/doc/man/lttng-version.1 2018-07-24 02:22:22.385409503 +0200 @@ -2,12 +2,12 @@ .\" Title: lttng-version .\" Author: [see the "AUTHORS" section] .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/> -.\" Date: 04/30/2018 +.\" Date: 07/24/2018 .\" Manual: LTTng Manual -.\" Source: LTTng 2.10.4 +.\" Source: LTTng 2.10.5 .\" Language: English .\" -.TH "LTTNG\-VERSION" "1" "04/30/2018" "LTTng 2\&.10\&.4" "LTTng Manual" +.TH "LTTNG\-VERSION" "1" "07/24/2018" "LTTng 2\&.10\&.5" "LTTng Manual" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/lttng-tools-2.10.4/doc/man/lttng-view.1 new/lttng-tools-2.10.5/doc/man/lttng-view.1 --- old/lttng-tools-2.10.4/doc/man/lttng-view.1 2018-04-30 20:49:09.461346354 +0200 +++ new/lttng-tools-2.10.5/doc/man/lttng-view.1 2018-07-24 02:22:23.549378207 +0200 @@ -2,12 +2,12 @@ .\" Title: lttng-view .\" Author: [see the "AUTHORS" section] .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/> -.\" Date: 04/30/2018 +.\" Date: 07/24/2018 .\" Manual: LTTng Manual -.\" Source: LTTng 2.10.4 +.\" Source: LTTng 2.10.5 .\" Language: English .\" -.TH "LTTNG\-VIEW" "1" "04/30/2018" "LTTng 2\&.10\&.4" "LTTng Manual" +.TH "LTTNG\-VIEW" "1" "07/24/2018" "LTTng 2\&.10\&.5" "LTTng Manual" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/lttng-tools-2.10.4/doc/man/lttng.1 new/lttng-tools-2.10.5/doc/man/lttng.1 --- old/lttng-tools-2.10.4/doc/man/lttng.1 2018-04-30 20:48:58.721638660 +0200 +++ new/lttng-tools-2.10.5/doc/man/lttng.1 2018-07-24 02:22:12.665670836 +0200 @@ -2,12 +2,12 @@ .\" Title: lttng .\" Author: [see the "AUTHORS" section] .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/> -.\" Date: 04/30/2018 +.\" Date: 07/24/2018 .\" Manual: LTTng Manual -.\" Source: LTTng 2.10.4 +.\" Source: LTTng 2.10.5 .\" Language: English .\" -.TH "LTTNG" "1" "04/30/2018" "LTTng 2\&.10\&.4" "LTTng Manual" +.TH "LTTNG" "1" "07/24/2018" "LTTng 2\&.10\&.5" "LTTng Manual" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/lttng-tools-2.10.4/extras/lttng-bash_completion new/lttng-tools-2.10.5/extras/lttng-bash_completion --- old/lttng-tools-2.10.4/extras/lttng-bash_completion 2018-04-30 20:47:49.527521481 +0200 +++ new/lttng-tools-2.10.5/extras/lttng-bash_completion 2018-07-24 02:21:04.455504774 +0200 @@ -18,7 +18,7 @@ # Generates COMPREPLY with the existing session names _lttng_complete_sessions() { local sessions - sessions=$(lttng --mi xml list | xmllint --xpath "//command/output/sessions/session/name" - 2>/dev/null | sed -e 's/<name>//g' -e $'s/<\/name>/\\n/g') + sessions=$(lttng --mi xml list | sed '2 s/xmlns/ignore/g' | xmllint --xpath "//command/output/sessions/session/name" - 2>/dev/null | sed -e 's/<name>//g' -e $'s/<\/name>/\\n/g') COMPREPLY=( $(compgen -W "${sessions}" -- $cur) ) return } @@ -27,7 +27,7 @@ # Generates COMPREPLY with the available kernel event _lttng_complete_kernel_events() { local kernel_event - kernel_event=$(lttng --mi xml list -k | xmllint --xpath "//command/output/domains/domain[./type = 'KERNEL']/events/event/name" - 2>/dev/null | sed -e "s/<name>//g" -e $"s/<\/name>/\\n/g") + kernel_event=$(lttng --mi xml list -k |sed '2 s/xmlns/ignore/g' | xmllint --xpath "//command/output/domains/domain[./type = 'KERNEL']/events/event/name" - 2>/dev/null | sed -e "s/<name>//g" -e $"s/<\/name>/\\n/g") COMPREPLY=( $(compgen -W "${kernel_event}" -- $cur) ) return } @@ -35,7 +35,7 @@ # Generates COMPREPLY with the available ust event _lttng_complete_ust_events() { local ust_event - ust_event=$(lttng --mi xml list -u | xmllint --xpath "//command/output/domains/domain[./type = 'UST']/pids/pid/events/event/name" - 2>/dev/null | sed -e "s/<name>//g" -e $"s/<\/name>/\\n/g") + ust_event=$(lttng --mi xml list -u | sed '2 s/xmlns/ignore/g' | xmllint --xpath "//command/output/domains/domain[./type = 'UST']/pids/pid/events/event/name" - 2>/dev/null | sed -e "s/<name>//g" -e $"s/<\/name>/\\n/g") COMPREPLY=( $(compgen -W "${ust_event}" -- $cur) ) return } @@ -43,7 +43,7 @@ # Generates COMPREPLY with the available jul event _lttng_complete_jul_events() { local jul_event - jul_event=$(lttng --mi xml list -j | xmllint --xpath "//command/output/domains/domain[./type = 'JUL']/pids/pid/events/event/name" - 2>/dev/null | sed -e "s/<name>//g" -e $"s/<\/name>/\\n/g") + jul_event=$(lttng --mi xml list -j | sed '2 s/xmlns/ignore/g' | xmllint --xpath "//command/output/domains/domain[./type = 'JUL']/pids/pid/events/event/name" - 2>/dev/null | sed -e "s/<name>//g" -e $"s/<\/name>/\\n/g") COMPREPLY=( $(compgen -W "${jul_event}" -- $cur) ) return } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/lttng-tools-2.10.4/include/lttng/condition/condition-internal.h new/lttng-tools-2.10.5/include/lttng/condition/condition-internal.h --- old/lttng-tools-2.10.4/include/lttng/condition/condition-internal.h 2018-04-30 20:47:49.527521481 +0200 +++ new/lttng-tools-2.10.5/include/lttng/condition/condition-internal.h 2018-07-24 02:21:04.459504666 +0200 @@ -24,6 +24,7 @@ #include <stdbool.h> #include <urcu/list.h> #include <stdint.h> +#include <sys/types.h> typedef void (*condition_destroy_cb)(struct lttng_condition *condition); typedef bool (*condition_validate_cb)(const struct lttng_condition *condition); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/lttng-tools-2.10.4/include/lttng/condition/evaluation-internal.h new/lttng-tools-2.10.5/include/lttng/condition/evaluation-internal.h --- old/lttng-tools-2.10.4/include/lttng/condition/evaluation-internal.h 2018-04-30 20:47:49.527521481 +0200 +++ new/lttng-tools-2.10.5/include/lttng/condition/evaluation-internal.h 2018-07-24 02:21:04.459504666 +0200 @@ -22,6 +22,7 @@ #include <common/macros.h> #include <common/buffer-view.h> #include <stdbool.h> +#include <sys/types.h> typedef void (*evaluation_destroy_cb)(struct lttng_evaluation *evaluation); typedef ssize_t (*evaluation_serialize_cb)(struct lttng_evaluation *evaluation, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/lttng-tools-2.10.4/src/bin/lttng-relayd/live.c new/lttng-tools-2.10.5/src/bin/lttng-relayd/live.c --- old/lttng-tools-2.10.4/src/bin/lttng-relayd/live.c 2018-04-30 20:47:49.543521045 +0200 +++ new/lttng-tools-2.10.5/src/bin/lttng-relayd/live.c 2018-07-24 02:21:04.475504236 +0200 @@ -1039,12 +1039,12 @@ session = session_get_by_id(be64toh(request.session_id)); if (!session) { DBG("Relay session %" PRIu64 " not found", - be64toh(request.session_id)); + (uint64_t) be64toh(request.session_id)); response.status = htobe32(LTTNG_VIEWER_ATTACH_UNK); goto send_reply; } DBG("Attach session ID %" PRIu64 " received", - be64toh(request.session_id)); + (uint64_t) be64toh(request.session_id)); if (session->live_timer == 0) { DBG("Not live session"); @@ -1301,7 +1301,7 @@ vstream = viewer_stream_get_by_id(be64toh(request_index.stream_id)); if (!vstream) { DBG("Client requested index of unknown stream id %" PRIu64, - be64toh(request_index.stream_id)); + (uint64_t) be64toh(request_index.stream_id)); viewer_index.status = htobe32(LTTNG_VIEWER_INDEX_ERR); goto send_reply; } @@ -1415,7 +1415,7 @@ */ DBG("Sending viewer index for stream %" PRIu64 " offset %" PRIu64, rstream->stream_handle, - be64toh(packet_index.offset)); + (uint64_t) be64toh(packet_index.offset)); viewer_index.offset = packet_index.offset; viewer_index.packet_size = packet_index.packet_size; viewer_index.content_size = packet_index.content_size; @@ -1510,7 +1510,7 @@ vstream = viewer_stream_get_by_id(be64toh(get_packet_info.stream_id)); if (!vstream) { DBG("Client requested packet of unknown stream id %" PRIu64, - be64toh(get_packet_info.stream_id)); + (uint64_t) be64toh(get_packet_info.stream_id)); reply_header.status = htobe32(LTTNG_VIEWER_GET_PACKET_ERR); goto send_reply_nolock; } else { @@ -1530,7 +1530,7 @@ SEEK_SET); if (lseek_ret < 0) { PERROR("lseek fd %d to offset %" PRIu64, vstream->stream_fd->fd, - be64toh(get_packet_info.offset)); + (uint64_t) be64toh(get_packet_info.offset)); goto error; } read_len = lttng_read(vstream->stream_fd->fd, @@ -1539,7 +1539,7 @@ if (read_len < packet_data_len) { PERROR("Relay reading trace file, fd: %d, offset: %" PRIu64, vstream->stream_fd->fd, - be64toh(get_packet_info.offset)); + (uint64_t) be64toh(get_packet_info.offset)); goto error; } reply_header.status = htobe32(LTTNG_VIEWER_GET_PACKET_OK); @@ -1573,7 +1573,7 @@ } DBG("Sent %u bytes for stream %" PRIu64, reply_size, - be64toh(get_packet_info.stream_id)); + (uint64_t) be64toh(get_packet_info.stream_id)); end_free: free(reply); @@ -1625,7 +1625,7 @@ * find it. */ DBG("Client requested metadata of unknown stream id %" PRIu64, - be64toh(request.stream_id)); + (uint64_t) be64toh(request.stream_id)); reply.status = htobe32(LTTNG_VIEWER_METADATA_ERR); goto send_reply; } @@ -1711,7 +1711,7 @@ } DBG("Sent %" PRIu64 " bytes of metadata for stream %" PRIu64, len, - be64toh(request.stream_id)); + (uint64_t) be64toh(request.stream_id)); DBG("Metadata sent"); @@ -1800,7 +1800,7 @@ session = session_get_by_id(be64toh(request.session_id)); if (!session) { DBG("Relay session %" PRIu64 " not found", - be64toh(request.session_id)); + (uint64_t) be64toh(request.session_id)); response.status = htobe32(LTTNG_VIEWER_DETACH_SESSION_UNK); goto send_reply; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/lttng-tools-2.10.4/src/bin/lttng-sessiond/Makefile.am new/lttng-tools-2.10.5/src/bin/lttng-sessiond/Makefile.am --- old/lttng-tools-2.10.4/src/bin/lttng-sessiond/Makefile.am 2018-04-30 20:47:49.547520936 +0200 +++ new/lttng-tools-2.10.5/src/bin/lttng-sessiond/Makefile.am 2018-07-24 02:21:04.479504129 +0200 @@ -40,7 +40,8 @@ if HAVE_LIBLTTNG_UST_CTL lttng_sessiond_SOURCES += trace-ust.c ust-registry.c ust-app.c \ ust-consumer.c ust-consumer.h ust-thread.c \ - ust-metadata.c ust-clock.h agent-thread.c agent-thread.h + ust-metadata.c ust-clock.h agent-thread.c agent-thread.h \ + ust-field-utils.h ust-field-utils.c endif # Add main.c at the end for compile order diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/lttng-tools-2.10.4/src/bin/lttng-sessiond/agent-thread.c new/lttng-tools-2.10.5/src/bin/lttng-sessiond/agent-thread.c --- old/lttng-tools-2.10.4/src/bin/lttng-sessiond/agent-thread.c 2018-04-30 20:47:49.547520936 +0200 +++ new/lttng-tools-2.10.5/src/bin/lttng-sessiond/agent-thread.c 2018-07-24 02:21:04.479504129 +0200 @@ -308,6 +308,7 @@ /* Create pollset with size 2, quit pipe and socket. */ ret = sessiond_set_thread_pollset(&events, 2); if (ret < 0) { + sessiond_notify_ready(); goto error_poll_create; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/lttng-tools-2.10.4/src/bin/lttng-sessiond/agent-thread.h new/lttng-tools-2.10.5/src/bin/lttng-sessiond/agent-thread.h --- old/lttng-tools-2.10.4/src/bin/lttng-sessiond/agent-thread.h 2018-04-30 20:47:49.547520936 +0200 +++ new/lttng-tools-2.10.5/src/bin/lttng-sessiond/agent-thread.h 2018-07-24 02:21:04.483504021 +0200 @@ -30,6 +30,7 @@ static inline void *agent_thread_manage_registration(void *data) { + sessiond_notify_ready(); return NULL; } static inline diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/lttng-tools-2.10.4/src/bin/lttng-sessiond/load-session-thread.c new/lttng-tools-2.10.5/src/bin/lttng-sessiond/load-session-thread.c --- old/lttng-tools-2.10.4/src/bin/lttng-sessiond/load-session-thread.c 2018-04-30 20:47:49.555520718 +0200 +++ new/lttng-tools-2.10.5/src/bin/lttng-sessiond/load-session-thread.c 2018-07-24 02:21:04.487503914 +0200 @@ -103,6 +103,6 @@ } end: - sessiond_notify_ready(); + sessiond_signal_parents(); return NULL; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/lttng-tools-2.10.4/src/bin/lttng-sessiond/lttng-sessiond.h new/lttng-tools-2.10.5/src/bin/lttng-sessiond/lttng-sessiond.h --- old/lttng-tools-2.10.4/src/bin/lttng-sessiond/lttng-sessiond.h 2018-04-30 20:47:49.555520718 +0200 +++ new/lttng-tools-2.10.5/src/bin/lttng-sessiond/lttng-sessiond.h 2018-07-24 02:21:04.487503914 +0200 @@ -125,5 +125,6 @@ int sessiond_check_thread_quit_pipe(int fd, uint32_t events); int sessiond_set_thread_pollset(struct lttng_poll_event *events, size_t size); void sessiond_notify_ready(void); +void sessiond_signal_parents(void); #endif /* _LTT_SESSIOND_H */ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/lttng-tools-2.10.4/src/bin/lttng-sessiond/main.c new/lttng-tools-2.10.5/src/bin/lttng-sessiond/main.c --- old/lttng-tools-2.10.4/src/bin/lttng-sessiond/main.c 2018-04-30 20:47:49.559520610 +0200 +++ new/lttng-tools-2.10.5/src/bin/lttng-sessiond/main.c 2018-07-24 02:21:04.491503806 +0200 @@ -286,13 +286,39 @@ struct lttng_ht *agent_apps_ht_by_sock = NULL; /* - * Whether sessiond is ready for commands/notification channel/health check + * The initialization of the session daemon is done in multiple phases. + * + * While all threads are launched near-simultaneously, only some of them + * are needed to ensure the session daemon can start to respond to client * requests. - * NR_LTTNG_SESSIOND_READY must match the number of calls to - * sessiond_notify_ready(). + * + * There are two important guarantees that we wish to offer with respect + * to the initialisation of the session daemon: + * - When the daemonize/background launcher process exits, the sessiond + * is fully able to respond to client requests, + * - Auto-loaded sessions are visible to clients. + * + * In order to achieve this, a number of support threads have to be launched + * to allow the "client" thread to function properly. Moreover, since the + * "load session" thread needs the client thread, we must provide a way + * for the "load session" thread to know that the "client" thread is up + * and running. + * + * Hence, the support threads decrement the lttng_sessiond_ready counter + * while the "client" threads waits for it to reach 0. Once the "client" thread + * unblocks, it posts the message_thread_ready semaphore which allows the + * "load session" thread to progress. + * + * This implies that the "load session" thread is the last to be initialized + * and will explicitly call sessiond_signal_parents(), which signals the parents + * that the session daemon is fully initialized. + * + * The three (3) support threads are: + * - agent_thread + * - notification_thread + * - health_thread */ -#define NR_LTTNG_SESSIOND_READY 5 -int lttng_sessiond_ready = NR_LTTNG_SESSIOND_READY; +int lttng_sessiond_ready = 3; int sessiond_check_thread_quit_pipe(int fd, uint32_t events) { @@ -301,28 +327,36 @@ /* Notify parents that we are ready for cmd and health check */ LTTNG_HIDDEN -void sessiond_notify_ready(void) +void sessiond_signal_parents(void) { - if (uatomic_sub_return(<tng_sessiond_ready, 1) == 0) { - /* - * Notify parent pid that we are ready to accept command - * for client side. This ppid is the one from the - * external process that spawned us. - */ - if (config.sig_parent) { - kill(ppid, SIGUSR1); - } + /* + * Notify parent pid that we are ready to accept command + * for client side. This ppid is the one from the + * external process that spawned us. + */ + if (config.sig_parent) { + kill(ppid, SIGUSR1); + } - /* - * Notify the parent of the fork() process that we are - * ready. - */ - if (config.daemonize || config.background) { - kill(child_ppid, SIGUSR1); - } + /* + * Notify the parent of the fork() process that we are + * ready. + */ + if (config.daemonize || config.background) { + kill(child_ppid, SIGUSR1); } } +LTTNG_HIDDEN +void sessiond_notify_ready(void) +{ + /* + * The _return variant is used since the implied memory barriers are + * required. + */ + (void) uatomic_sub_return(<tng_sessiond_ready, 1); +} + static int __sessiond_set_thread_pollset(struct lttng_poll_event *events, size_t size, int *a_pipe) @@ -4286,8 +4320,6 @@ goto error; } - sessiond_notify_ready(); - ret = sem_post(&load_info->message_thread_ready); if (ret) { PERROR("sem_post message_thread_ready"); @@ -4321,6 +4353,16 @@ goto exit; } } + /* + * This barrier is paired with the one in sessiond_notify_ready() to + * ensure that loads accessing data initialized by the other threads, + * on which this thread was waiting, are not performed before this point. + * + * Note that this could be a 'read' memory barrier, but a full barrier + * is used in case the code changes. The performance implications of + * this choice are minimal since this is a slow path. + */ + cmm_smp_mb(); /* This testpoint is after we signal readiness to the parent. */ if (testpoint(sessiond_thread_manage_clients)) { @@ -5511,6 +5553,12 @@ } /* + * Init config from environment variables. + * Command line option override env configuration per-doc. Do env first. + */ + sessiond_config_apply_env_config(&config); + + /* * Parse arguments and load the daemon configuration file. * * We have an exit_options exit path to free memory reserved by @@ -5524,9 +5572,6 @@ goto exit_options; } - /* Init config from environment variables. */ - sessiond_config_apply_env_config(&config); - /* * Resolve all paths received as arguments, configuration option, or * through environment variable as absolute paths. This is necessary diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/lttng-tools-2.10.4/src/bin/lttng-sessiond/sessiond-config.c new/lttng-tools-2.10.5/src/bin/lttng-sessiond/sessiond-config.c --- old/lttng-tools-2.10.4/src/bin/lttng-sessiond/sessiond-config.c 2018-04-30 20:47:49.563520501 +0200 +++ new/lttng-tools-2.10.5/src/bin/lttng-sessiond/sessiond-config.c 2018-07-24 02:21:04.495503698 +0200 @@ -491,32 +491,45 @@ void sessiond_config_log(struct sessiond_config *config) { DBG_NO_LOC("[sessiond configuration]"); - DBG_NO_LOC("\tverbose: %i", config->verbose); - DBG_NO_LOC("\tverbose consumer: %i", config->verbose_consumer); - DBG_NO_LOC("\tquiet mode: %s", config->quiet ? "True" : "False"); + DBG_NO_LOC("\tverbose: %i", config->verbose); + DBG_NO_LOC("\tverbose consumer: %i", config->verbose_consumer); + DBG_NO_LOC("\tquiet mode: %s", config->quiet ? "True" : "False"); if (config->agent_tcp_port.begin == config->agent_tcp_port.end) { - DBG_NO_LOC("\tagent_tcp_port: %i", config->agent_tcp_port.begin); + DBG_NO_LOC("\tagent_tcp_port: %i", config->agent_tcp_port.begin); } else { - DBG_NO_LOC("\tagent_tcp_port: [%i, %i]", + DBG_NO_LOC("\tagent_tcp_port: [%i, %i]", config->agent_tcp_port.begin, config->agent_tcp_port.end); } - DBG_NO_LOC("\tapplication socket timeout: %i", config->app_socket_timeout); - DBG_NO_LOC("\tno-kernel: %s", config->no_kernel ? "True" : "False"); - DBG_NO_LOC("\tbackground: %s", config->background ? "True" : "False"); - DBG_NO_LOC("\tdaemonize: %s", config->daemonize ? "True" : "False"); - DBG_NO_LOC("\tsignal parent on start: %s", config->sig_parent ? "True" : "False"); - DBG_NO_LOC("\ttracing group name: %s", config->tracing_group_name.value ? : "Unknown"); - DBG_NO_LOC("\tkmod_probe_list: %s", config->kmod_probes_list.value ? : "None"); - DBG_NO_LOC("\tkmod_extra_probe_list: %s", config->kmod_extra_probes_list.value ? : "None"); - DBG_NO_LOC("\trundir: %s", config->rundir.value ? : "Unknown"); - DBG_NO_LOC("\tapplication socket path: %s", config->apps_unix_sock_path.value ? : "Unknown"); - DBG_NO_LOC("\tclient socket path: %s", config->client_unix_sock_path.value ? : "Unknown"); - DBG_NO_LOC("\twait shm path: %s", config->wait_shm_path.value ? : "Unknown"); - DBG_NO_LOC("\thealth socket path: %s", config->health_unix_sock_path.value ? : "Unknown"); - DBG_NO_LOC("\tLTTNG_UST_CLOCK_PLUGIN: %s", config->lttng_ust_clock_plugin.value ? : "None"); - DBG_NO_LOC("\tpid file path: %s", config->pid_file_path.value ? : "Unknown"); - DBG_NO_LOC("\tlock file path: %s", config->lock_file_path.value ? : "Unknown"); - DBG_NO_LOC("\tsession load path: %s", config->load_session_path.value ? : "None"); - DBG_NO_LOC("\tagent port file path: %s", config->agent_port_file_path.value ? : "Unknown"); + DBG_NO_LOC("\tapplication socket timeout: %i", config->app_socket_timeout); + DBG_NO_LOC("\tno-kernel: %s", config->no_kernel ? "True" : "False"); + DBG_NO_LOC("\tbackground: %s", config->background ? "True" : "False"); + DBG_NO_LOC("\tdaemonize: %s", config->daemonize ? "True" : "False"); + DBG_NO_LOC("\tsignal parent on start: %s", config->sig_parent ? "True" : "False"); + DBG_NO_LOC("\ttracing group name: %s", config->tracing_group_name.value ? : "Unknown"); + DBG_NO_LOC("\tkmod_probe_list: %s", config->kmod_probes_list.value ? : "None"); + DBG_NO_LOC("\tkmod_extra_probe_list: %s", config->kmod_extra_probes_list.value ? : "None"); + DBG_NO_LOC("\trundir: %s", config->rundir.value ? : "Unknown"); + DBG_NO_LOC("\tapplication socket path: %s", config->apps_unix_sock_path.value ? : "Unknown"); + DBG_NO_LOC("\tclient socket path: %s", config->client_unix_sock_path.value ? : "Unknown"); + DBG_NO_LOC("\twait shm path: %s", config->wait_shm_path.value ? : "Unknown"); + DBG_NO_LOC("\thealth socket path: %s", config->health_unix_sock_path.value ? : "Unknown"); + DBG_NO_LOC("\tLTTNG_UST_CLOCK_PLUGIN: %s", config->lttng_ust_clock_plugin.value ? : "None"); + DBG_NO_LOC("\tpid file path: %s", config->pid_file_path.value ? : "Unknown"); + DBG_NO_LOC("\tlock file path: %s", config->lock_file_path.value ? : "Unknown"); + DBG_NO_LOC("\tsession load path: %s", config->load_session_path.value ? : "None"); + DBG_NO_LOC("\tagent port file path: %s", config->agent_port_file_path.value ? : "Unknown"); + DBG_NO_LOC("\tconsumerd32 path: %s", config->consumerd32_path.value ? : "Unknown"); + DBG_NO_LOC("\tconsumerd32 bin path: %s", config->consumerd32_bin_path.value ? : "Unknown"); + DBG_NO_LOC("\tconsumerd32 lib dir: %s", config->consumerd32_lib_dir.value ? : "Unknown"); + DBG_NO_LOC("\tconsumerd32 err unix sock path:%s", config->consumerd32_err_unix_sock_path.value ? : "Unknown"); + DBG_NO_LOC("\tconsumerd32 cmd unix sock path:%s", config->consumerd32_cmd_unix_sock_path.value ? : "Unknown"); + DBG_NO_LOC("\tconsumerd64 path: %s", config->consumerd64_path.value ? : "Unknown"); + DBG_NO_LOC("\tconsumerd64 bin path: %s", config->consumerd64_bin_path.value ? : "Unknown"); + DBG_NO_LOC("\tconsumerd64 lib dir: %s", config->consumerd64_lib_dir.value ? : "Unknown"); + DBG_NO_LOC("\tconsumerd64 err unix sock path:%s", config->consumerd64_err_unix_sock_path.value ? : "Unknown"); + DBG_NO_LOC("\tconsumerd64 cmd unix sock path:%s", config->consumerd64_cmd_unix_sock_path.value ? : "Unknown"); + DBG_NO_LOC("\tkconsumerd path: %s", config->kconsumerd_path.value ? : "Unknown"); + DBG_NO_LOC("\tkconsumerd err unix sock path: %s", config->kconsumerd_err_unix_sock_path.value ? : "Unknown"); + DBG_NO_LOC("\tkconsumerd cmd unix sock path: %s", config->kconsumerd_cmd_unix_sock_path.value ? : "Unknown"); } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/lttng-tools-2.10.4/src/bin/lttng-sessiond/ust-field-utils.c new/lttng-tools-2.10.5/src/bin/lttng-sessiond/ust-field-utils.c --- old/lttng-tools-2.10.4/src/bin/lttng-sessiond/ust-field-utils.c 1970-01-01 01:00:00.000000000 +0100 +++ new/lttng-tools-2.10.5/src/bin/lttng-sessiond/ust-field-utils.c 2018-07-24 02:21:04.499503591 +0200 @@ -0,0 +1,290 @@ +/* + * Copyright (C) 2018 - Francis Deslauriers <[email protected]> + * + * This program is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License, version 2 only, as + * published by the Free Software Foundation. + * + * This program is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for + * more details. + * + * You should have received a copy of the GNU General Public License along with + * this program; if not, write to the Free Software Foundation, Inc., 51 + * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ + +#include <stdbool.h> +#include <string.h> + +#include "ust-field-utils.h" + +/* + * The ustctl_field is made of a combination of C basic types + * ustctl_basic_type and _ustctl_basic_type. + * + * ustctl_basic_type contains an enumeration describing the abstract type. + * _ustctl_basic_type does _NOT_ contain an enumeration describing the + * abstract type. + * + * A layer is needed to use the same code for both structures. + * When dealing with _ustctl_basic_type, we need to use the abstract type of + * the ustctl_type struct. + */ + +/* + * Compare two ustctl_integer_type fields. + * Returns 1 if both are identical. + */ +static bool match_ustctl_field_integer(const struct ustctl_integer_type *first, + const struct ustctl_integer_type *second) +{ + if (first->size != second->size) { + goto no_match; + } + if (first->alignment != second->alignment) { + goto no_match; + } + if (first->signedness != second->signedness) { + goto no_match; + } + if (first->encoding != second->encoding) { + goto no_match; + } + if (first->base != second->base) { + goto no_match; + } + if (first->reverse_byte_order != second->reverse_byte_order) { + goto no_match; + } + + return true; + +no_match: + return false; +} + +/* + * Compare two _ustctl_basic_type fields known to be of type integer. + * Returns 1 if both are identical. + */ +static bool match_ustctl_field_integer_from_raw_basic_type( + const union _ustctl_basic_type *first, + const union _ustctl_basic_type *second) +{ + return match_ustctl_field_integer(&first->integer, &second->integer); +} + +/* + * Compare two _ustctl_basic_type fields known to be of type enum. + * Returns 1 if both are identical. + */ +static bool match_ustctl_field_enum_from_raw_basic_type( + const union _ustctl_basic_type *first, + const union _ustctl_basic_type *second) +{ + /* + * Compare enumeration ID. Enumeration ID is provided to the application by + * the session daemon before event registration. + */ + if (first->enumeration.id != second->enumeration.id) { + goto no_match; + } + + /* + * Sanity check of the name and container type. Those were already checked + * during enum registration. + */ + if (strncmp(first->enumeration.name, second->enumeration.name, + LTTNG_UST_SYM_NAME_LEN)) { + goto no_match; + } + if (!match_ustctl_field_integer(&first->enumeration.container_type, + &second->enumeration.container_type)) { + goto no_match; + } + + return true; + +no_match: + return false; +} + +/* + * Compare two _ustctl_basic_type fields known to be of type string. + * Returns 1 if both are identical. + */ +static bool match_ustctl_field_string_from_raw_basic_type( + const union _ustctl_basic_type *first, + const union _ustctl_basic_type *second) +{ + return first->string.encoding == second->string.encoding; +} + +/* + * Compare two _ustctl_basic_type fields known to be of type float. + * Returns 1 if both are identical. + */ +static bool match_ustctl_field_float_from_raw_basic_type( + const union _ustctl_basic_type *first, + const union _ustctl_basic_type *second) +{ + if (first->_float.exp_dig != second->_float.exp_dig) { + goto no_match; + } + + if (first->_float.mant_dig != second->_float.mant_dig) { + goto no_match; + } + + if (first->_float.reverse_byte_order != + second->_float.reverse_byte_order) { + goto no_match; + } + + if (first->_float.alignment != second->_float.alignment) { + goto no_match; + } + + return true; + +no_match: + return false; +} + +/* + * Compare two _ustctl_basic_type fields given their respective abstract types. + * Returns 1 if both are identical. + */ +static bool match_ustctl_field_raw_basic_type( + enum ustctl_abstract_types first_atype, + const union _ustctl_basic_type *first, + enum ustctl_abstract_types second_atype, + const union _ustctl_basic_type *second) +{ + if (first_atype != second_atype) { + goto no_match; + } + + switch (first_atype) { + case ustctl_atype_integer: + if (!match_ustctl_field_integer_from_raw_basic_type(first, second)) { + goto no_match; + } + break; + case ustctl_atype_enum: + if (!match_ustctl_field_enum_from_raw_basic_type(first, second)) { + goto no_match; + } + break; + case ustctl_atype_string: + if (!match_ustctl_field_string_from_raw_basic_type(first, second)) { + goto no_match; + } + break; + case ustctl_atype_float: + if (!match_ustctl_field_float_from_raw_basic_type(first, second)) { + goto no_match; + } + break; + default: + goto no_match; + } + + return true; + +no_match: + return false; +} + +/* + * Compatibility layer between the ustctl_basic_type struct and + * _ustctl_basic_type union. + */ +static bool match_ustctl_field_basic_type(const struct ustctl_basic_type *first, + const struct ustctl_basic_type *second) +{ + return match_ustctl_field_raw_basic_type(first->atype, &first->u.basic, + second->atype, &second->u.basic); +} + +int match_ustctl_field(const struct ustctl_field *first, + const struct ustctl_field *second) +{ + /* Check the name of the field is identical. */ + if (strncmp(first->name, second->name, LTTNG_UST_SYM_NAME_LEN)) { + goto no_match; + } + + /* Check the field type is identical. */ + if (first->type.atype != second->type.atype) { + goto no_match; + } + + /* Check the field layout. */ + switch (first->type.atype) { + case ustctl_atype_integer: + case ustctl_atype_enum: + case ustctl_atype_string: + case ustctl_atype_float: + if (!match_ustctl_field_raw_basic_type(first->type.atype, + &first->type.u.basic, second->type.atype, + &second->type.u.basic)) { + goto no_match; + } + break; + case ustctl_atype_sequence: + /* Match element type of the sequence. */ + if (!match_ustctl_field_basic_type(&first->type.u.sequence.elem_type, + &second->type.u.sequence.elem_type)) { + goto no_match; + } + + /* Match length type of the sequence. */ + if (!match_ustctl_field_basic_type(&first->type.u.sequence.length_type, + &second->type.u.sequence.length_type)) { + goto no_match; + } + break; + case ustctl_atype_array: + /* Match element type of the array. */ + if (!match_ustctl_field_basic_type(&first->type.u.array.elem_type, + &second->type.u.array.elem_type)) { + goto no_match; + } + + /* Match length of the array. */ + if (first->type.u.array.length != second->type.u.array.length) { + goto no_match; + } + break; + case ustctl_atype_variant: + /* Compare number of choice of the variants. */ + if (first->type.u.variant.nr_choices != + second->type.u.variant.nr_choices) { + goto no_match; + } + + /* Compare tag name of the variants. */ + if (strncmp(first->type.u.variant.tag_name, + second->type.u.variant.tag_name, + LTTNG_UST_SYM_NAME_LEN)) { + goto no_match; + } + break; + case ustctl_atype_struct: + /* Compare number of fields of the structs. */ + if (first->type.u._struct.nr_fields != second->type.u._struct.nr_fields) { + goto no_match; + } + break; + default: + goto no_match; + } + + return true; + +no_match: + return false; +} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/lttng-tools-2.10.4/src/bin/lttng-sessiond/ust-field-utils.h new/lttng-tools-2.10.5/src/bin/lttng-sessiond/ust-field-utils.h --- old/lttng-tools-2.10.4/src/bin/lttng-sessiond/ust-field-utils.h 1970-01-01 01:00:00.000000000 +0100 +++ new/lttng-tools-2.10.5/src/bin/lttng-sessiond/ust-field-utils.h 2018-07-24 02:21:04.499503591 +0200 @@ -0,0 +1,30 @@ +/* + * Copyright (C) 2018 - Francis Deslauriers [email protected]> + * + * This program is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License, version 2 only, as + * published by the Free Software Foundation. + * + * This program is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for + * more details. + * + * You should have received a copy of the GNU General Public License along with + * this program; if not, write to the Free Software Foundation, Inc., 51 + * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ + +#ifndef LTTNG_UST_FIELD_UTILS_H +#define LTTNG_UST_FIELD_UTILS_H + +#include "ust-ctl.h" + +/* + * Compare two UST fields. + * Return 1 if both fields have identical definition, 0 otherwise. + */ +int match_ustctl_field(const struct ustctl_field *first, + const struct ustctl_field *second); + +#endif /* LTTNG_UST_FIELD_UTILS_H */ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/lttng-tools-2.10.4/src/bin/lttng-sessiond/ust-registry.c new/lttng-tools-2.10.5/src/bin/lttng-sessiond/ust-registry.c --- old/lttng-tools-2.10.4/src/bin/lttng-sessiond/ust-registry.c 2018-04-30 20:47:49.567520393 +0200 +++ new/lttng-tools-2.10.5/src/bin/lttng-sessiond/ust-registry.c 2018-07-24 02:21:04.503503483 +0200 @@ -25,17 +25,20 @@ #include "ust-registry.h" #include "ust-app.h" +#include "ust-field-utils.h" #include "utils.h" #include "lttng-sessiond.h" #include "notification-thread-commands.h" + /* * Hash table match function for event in the registry. */ static int ht_match_event(struct cds_lfht_node *node, const void *_key) { - struct ust_registry_event *event; const struct ust_registry_event *key; + struct ust_registry_event *event; + int i; assert(node); assert(_key); @@ -44,15 +47,37 @@ assert(event); key = _key; - /* It has to be a perfect match. */ + /* It has to be a perfect match. First, compare the event names. */ if (strncmp(event->name, key->name, sizeof(event->name))) { goto no_match; } - /* It has to be a perfect match. */ - if (strncmp(event->signature, key->signature, - strlen(event->signature))) { + /* Compare log levels. */ + if (event->loglevel_value != key->loglevel_value) { + goto no_match; + } + + /* Compare the number of fields. */ + if (event->nr_fields != key->nr_fields) { + goto no_match; + } + + /* Compare each field individually. */ + for (i = 0; i < event->nr_fields; i++) { + if (!match_ustctl_field(&event->fields[i], &key->fields[i])) { + goto no_match; + } + } + + /* Compare model URI. */ + if (event->model_emf_uri != NULL && key->model_emf_uri == NULL) { + goto no_match; + } else if(event->model_emf_uri == NULL && key->model_emf_uri != NULL) { goto no_match; + } else if (event->model_emf_uri != NULL && key->model_emf_uri != NULL) { + if (strcmp(event->model_emf_uri, key->model_emf_uri)) { + goto no_match; + } } /* Match */ @@ -64,15 +89,14 @@ static unsigned long ht_hash_event(void *_key, unsigned long seed) { - uint64_t xored_key; + uint64_t hashed_key; struct ust_registry_event *key = _key; assert(key); - xored_key = (uint64_t) (hash_key_str(key->name, seed) ^ - hash_key_str(key->signature, seed)); + hashed_key = (uint64_t) hash_key_str(key->name, seed); - return hash_key_u64(&xored_key, seed); + return hash_key_u64(&hashed_key, seed); } static int compare_enums(const struct ust_registry_enum *reg_enum_a, @@ -534,8 +558,8 @@ struct lttng_ht_iter iter; cds_lfht_lookup(session->enums->ht, - ht_hash_enum((void *) ®_enum_lookup, lttng_ht_seed), - ht_match_enum, ®_enum_lookup, &iter.iter); + ht_hash_enum((void *) reg_enum_lookup, lttng_ht_seed), + ht_match_enum, reg_enum_lookup, &iter.iter); node = lttng_ht_iter_get_node_str(&iter); if (!node) { goto end; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/lttng-tools-2.10.4/src/common/config/session-config.c new/lttng-tools-2.10.5/src/common/config/session-config.c --- old/lttng-tools-2.10.4/src/common/config/session-config.c 2018-04-30 20:47:49.579520065 +0200 +++ new/lttng-tools-2.10.5/src/common/config/session-config.c 2018-07-24 02:21:04.515503161 +0200 @@ -2432,10 +2432,31 @@ /* create all channels */ for (node = xmlFirstElementChild(channels_node); node; node = xmlNextElementSibling(node)) { + const enum lttng_domain_type original_domain = domain.type; xmlNodePtr contexts_node = NULL; xmlNodePtr events_node = NULL; xmlNodePtr channel_attr_node; + /* + * Channels of the "agent" types cannot be created directly. + * They are meant to be created implicitly through the + * activation of events in their domain. However, a user + * can override the default channel configuration attributes + * by creating the underlying UST channel _before_ enabling + * an agent domain event. + * + * Hence, the channel's type is substituted before the creation + * and restored by the time the events are created. + */ + switch (domain.type) { + case LTTNG_DOMAIN_JUL: + case LTTNG_DOMAIN_LOG4J: + case LTTNG_DOMAIN_PYTHON: + domain.type = LTTNG_DOMAIN_UST; + default: + break; + } + channel = lttng_channel_create(&domain); if (!channel) { ret = -1; @@ -2457,6 +2478,9 @@ goto end; } + /* Restore the original channel domain. */ + domain.type = original_domain; + ret = process_events_node(events_node, handle, channel->name); if (ret) { goto end; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/lttng-tools-2.10.4/src/common/config/session.xsd new/lttng-tools-2.10.5/src/common/config/session.xsd --- old/lttng-tools-2.10.4/src/common/config/session.xsd 2018-04-30 20:47:49.579520065 +0200 +++ new/lttng-tools-2.10.5/src/common/config/session.xsd 2018-07-24 02:21:04.515503161 +0200 @@ -171,6 +171,10 @@ <xs:enumeration value="HOSTNAME"/> <xs:enumeration value="IP"/> <xs:enumeration value="APP"/> + <xs:enumeration value="INTERRUPTIBLE" /> + <xs:enumeration value="PREEMPTIBLE" /> + <xs:enumeration value="NEED_RESCHEDULE" /> + <xs:enumeration value="MIGRATABLE" /> </xs:restriction> </xs:simpleType> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/lttng-tools-2.10.4/src/common/consumer/consumer-timer.c new/lttng-tools-2.10.5/src/common/consumer/consumer-timer.c --- old/lttng-tools-2.10.4/src/common/consumer/consumer-timer.c 2018-04-30 20:47:49.579520065 +0200 +++ new/lttng-tools-2.10.5/src/common/consumer/consumer-timer.c 2018-07-24 02:21:04.515503161 +0200 @@ -637,7 +637,7 @@ sample_positions_cb sample, get_consumed_cb get_consumed, get_produced_cb get_produced) { - int ret; + int ret = 0; struct lttng_ht_iter iter; struct lttng_consumer_stream *stream; bool empty_channel = true; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/lttng-tools-2.10.4/src/common/consumer/consumer.h new/lttng-tools-2.10.5/src/common/consumer/consumer.h --- old/lttng-tools-2.10.4/src/common/consumer/consumer.h 2018-04-30 20:47:49.583519957 +0200 +++ new/lttng-tools-2.10.5/src/common/consumer/consumer.h 2018-07-24 02:21:04.515503161 +0200 @@ -429,7 +429,7 @@ /* Network sequence number. */ uint64_t net_seq_idx; /* Number of stream associated with this relayd */ - unsigned int refcount; + int refcount; /* * This flag indicates whether or not we should destroy this object. The diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/lttng-tools-2.10.4/src/common/ust-consumer/ust-consumer.c new/lttng-tools-2.10.5/src/common/ust-consumer/ust-consumer.c --- old/lttng-tools-2.10.4/src/common/ust-consumer/ust-consumer.c 2018-04-30 20:47:49.595519630 +0200 +++ new/lttng-tools-2.10.5/src/common/ust-consumer/ust-consumer.c 2018-07-24 02:21:04.531502731 +0200 @@ -2922,7 +2922,7 @@ request.key = channel->key; DBG("Sending metadata request to sessiond, session id %" PRIu64 - ", per-pid %" PRIu64 ", app UID %u and channek key %" PRIu64, + ", per-pid %" PRIu64 ", app UID %u and channel key %" PRIu64, request.session_id, request.session_id_per_pid, request.uid, request.key); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/lttng-tools-2.10.4/tests/fast_regression new/lttng-tools-2.10.5/tests/fast_regression --- old/lttng-tools-2.10.4/tests/fast_regression 2018-04-30 20:47:49.599519522 +0200 +++ new/lttng-tools-2.10.5/tests/fast_regression 2018-07-24 02:21:04.535502623 +0200 @@ -13,6 +13,7 @@ regression/tools/snapshots/test_ust_streaming regression/tools/save-load/test_save regression/tools/save-load/test_load +regression/tools/save-load/test_autoload regression/tools/mi/test_mi regression/tools/wildcard/test_event_wildcard regression/tools/crash/test_crash diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/lttng-tools-2.10.4/tests/regression/ust/ust-dl/Makefile.am new/lttng-tools-2.10.5/tests/regression/ust/ust-dl/Makefile.am --- old/lttng-tools-2.10.4/tests/regression/ust/ust-dl/Makefile.am 2018-04-30 20:47:49.623518869 +0200 +++ new/lttng-tools-2.10.5/tests/regression/ust/ust-dl/Makefile.am 2018-07-24 02:21:04.559501978 +0200 @@ -67,7 +67,7 @@ @cp -f .libs/libtp.so libtp.so noinst_SCRIPTS = test_ust-dl test_ust-dl.py -EXTRA_DIST = test_ust-dl test_ust-dl.py +EXTRA_DIST = test_ust-dl.py all-local: libfoo.so libbar.so libzzz.so libtp.so @if [ x"$(srcdir)" != x"$(builddir)" ]; then \ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/lttng-tools-2.10.4/tests/regression/ust/ust-dl/test_ust-dl new/lttng-tools-2.10.5/tests/regression/ust/ust-dl/test_ust-dl --- old/lttng-tools-2.10.4/tests/regression/ust/ust-dl/test_ust-dl 2018-04-30 20:48:54.953741206 +0200 +++ new/lttng-tools-2.10.5/tests/regression/ust/ust-dl/test_ust-dl 1970-01-01 01:00:00.000000000 +0100 @@ -1,34 +0,0 @@ -#!/bin/bash -# -# Copyright (C) - 2013 Jérémie Galarneau <[email protected]> -# -# This program is free software; you can redistribute it and/or modify it -# under the terms of the GNU General Public License, version 2 only, as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it will be useful, but WITHOUT -# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for -# more details. -# -# You should have received a copy of the GNU General Public License along with -# this program; if not, write to the Free Software Foundation, Inc., 51 -# Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - -CURDIR=$(dirname $0) -TESTDIR=${CURDIR}/../../.. - -source $TESTDIR/utils/utils.sh - -if [ ! -x "$CURDIR/.libs/libfoo.so" ]; then - diag "No shared object generated. Skipping all tests." - exit 0 -fi - -export LTTNG_TOOLS_HAVE_DLMOPEN=1 - -start_lttng_sessiond_notap - -python3 ${CURDIR}/test_ust-dl.py - -stop_lttng_sessiond_notap diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/lttng-tools-2.10.4/tests/unit/Makefile.am new/lttng-tools-2.10.5/tests/unit/Makefile.am --- old/lttng-tools-2.10.4/tests/unit/Makefile.am 2018-04-30 20:47:49.627518760 +0200 +++ new/lttng-tools-2.10.5/tests/unit/Makefile.am 2018-07-24 02:21:04.563501870 +0200 @@ -63,6 +63,7 @@ $(top_builddir)/src/bin/lttng-sessiond/utils.$(OBJEXT) \ $(top_builddir)/src/bin/lttng-sessiond/buffer-registry.$(OBJEXT) \ $(top_builddir)/src/bin/lttng-sessiond/ust-registry.$(OBJEXT) \ + $(top_builddir)/src/bin/lttng-sessiond/ust-field-utils.$(OBJEXT) \ $(top_builddir)/src/bin/lttng-sessiond/ust-metadata.$(OBJEXT) \ $(top_builddir)/src/bin/lttng-sessiond/ust-app.$(OBJEXT) \ $(top_builddir)/src/bin/lttng-sessiond/ust-consumer.$(OBJEXT) \ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/lttng-tools-2.10.4/tests/unit/test_session.c new/lttng-tools-2.10.5/tests/unit/test_session.c --- old/lttng-tools-2.10.4/tests/unit/test_session.c 2018-04-30 20:47:49.627518760 +0200 +++ new/lttng-tools-2.10.5/tests/unit/test_session.c 2018-07-24 02:21:04.563501870 +0200 @@ -157,7 +157,7 @@ int ret; char session_name[NAME_MAX]; - strncpy(session_name, session->name, sizeof(session->name)); + strncpy(session_name, session->name, sizeof(session_name)); session_name[sizeof(session_name) - 1] = '\0'; ret = session_destroy(session);
