[lttng-dev] [2.11.0] Saving then loading network session loses absolute path

2019-10-21 Thread Kramer, Zach
Hi,

With all LTTng versions being 2.11.0 I have the following problem:

lttng-sessiond -d
lttng-relayd -d

lttng create example –set-url=net://localhost/test
OR
lttng create example --live –set-url=net://localhost/test
NOT
lttng create example –set-url=file:///home//lttng-traces/test

lttng enable-channel -u ch
lttng enable-event -u -a -c ch -s example
lttng start example

(traces are written to ~/lttng-traces//test)

lttng stop example
lttng save example
lttng destroy example
(remove lttng-traces/ for testing purposes)

lttng load example
lttng start example

(traces now exist in ~/lttng-traces//example-)

This is, for me, reproducible 100% of the time. I can reproduce the steps using 
the Trace Compass control view as well. If I override the session name and url, 
the problem persists.

The .lttng file seems valid (attached). This issue exists whether I use an 
existing .lttng file from 2.9 (which never showed this problem), or whether I 
create a new one like above.

Is this intended behavior? If not, any idea what could be happening here? Is 
this reproducible by others?

Best,
Zach



example.lttng
Description: example.lttng
___
lttng-dev mailing list
lttng-dev@lists.lttng.org
https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev


[lttng-dev] [PATCH lttng-ust] fix: Add missing files to distribution

2019-10-21 Thread Michael Jeanson
Signed-off-by: Michael Jeanson 
---
 Makefile.am | 15 ---
 1 file changed, 12 insertions(+), 3 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index 810761ca..73b51909 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -34,9 +34,18 @@ SUBDIRS += tests doc
 pkgconfigdir = $(libdir)/pkgconfig
 pkgconfig_DATA = lttng-ust.pc
 
-dist_doc_DATA = README.md ChangeLog
-
-dist_noinst_DATA = CodingStyle
+dist_doc_DATA = \
+   ChangeLog \
+   COPYING \
+   LICENSE \
+   README.md
+
+dist_noinst_DATA = \
+   CodingStyle \
+   CONTRIBUTING.md \
+   gpl-2.0.txt \
+   lgpl-2.1.txt \
+   mit-license.txt
 
 check-loop:
cd tests && $(MAKE) $(AM_MAKEFLAGS) check-loop
-- 
2.17.1

___
lttng-dev mailing list
lttng-dev@lists.lttng.org
https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev


[lttng-dev] [PATCH lttng-ust] fix: document proper liburcu version dependency

2019-10-21 Thread Michael Jeanson
---
 README.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/README.md b/README.md
index ff491701..fc2cc6c0 100644
--- a/README.md
+++ b/README.md
@@ -11,7 +11,7 @@ user space tracing helpers for any application.
 Prerequisites
 -
 
-LTTng-UST depends on [liburcu](http://liburcu.org/) v0.7.2 at build and
+LTTng-UST depends on **[liburcu](http://liburcu.org/) >= 0.11** at build and
 run times. It also optionally depends on libnuma.
 
 
-- 
2.17.1

___
lttng-dev mailing list
lttng-dev@lists.lttng.org
https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev


Re: [lttng-dev] [2.11.0] Saving then loading network session loses absolute path

2019-10-21 Thread Jonathan Rajotte-Julien
Hi,

Indeed this is not expected. I was able to reproduce.

I am looking into it.

Thanks for reporting.

Cheers

On Mon, Oct 21, 2019 at 03:27:50PM +, Kramer, Zach wrote:
> Hi,
> 
> With all LTTng versions being 2.11.0 I have the following problem:
> 
> lttng-sessiond -d
> lttng-relayd -d
> 
> lttng create example –set-url=net://localhost/test
> OR
> lttng create example --live –set-url=net://localhost/test
> NOT
> lttng create example –set-url=file:///home//lttng-traces/test
> 
> lttng enable-channel -u ch
> lttng enable-event -u -a -c ch -s example
> lttng start example
> 
> (traces are written to ~/lttng-traces//test)
> 
> lttng stop example
> lttng save example
> lttng destroy example
> (remove lttng-traces/ for testing purposes)
> 
> lttng load example
> lttng start example
> 
> (traces now exist in ~/lttng-traces//example-)
> 
> This is, for me, reproducible 100% of the time. I can reproduce the steps 
> using the Trace Compass control view as well. If I override the session name 
> and url, the problem persists.
> 
> The .lttng file seems valid (attached). This issue exists whether I use an 
> existing .lttng file from 2.9 (which never showed this problem), or whether I 
> create a new one like above.
> 
> Is this intended behavior? If not, any idea what could be happening here? Is 
> this reproducible by others?
> 
> Best,
> Zach
> 


> ___
> lttng-dev mailing list
> lttng-dev@lists.lttng.org
> https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev


-- 
Jonathan Rajotte-Julien
EfficiOS
___
lttng-dev mailing list
lttng-dev@lists.lttng.org
https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev


Re: [lttng-dev] [PATCH lttng-ust] fix: Add missing files to distribution

2019-10-21 Thread Mathieu Desnoyers
Merged into UST 2.10, 2.11, master, thanks!

Mathieu

- On Oct 21, 2019, at 1:04 PM, Michael Jeanson mjean...@efficios.com wrote:

> Signed-off-by: Michael Jeanson 
> ---
> Makefile.am | 15 ---
> 1 file changed, 12 insertions(+), 3 deletions(-)
> 
> diff --git a/Makefile.am b/Makefile.am
> index 810761ca..73b51909 100644
> --- a/Makefile.am
> +++ b/Makefile.am
> @@ -34,9 +34,18 @@ SUBDIRS += tests doc
> pkgconfigdir = $(libdir)/pkgconfig
> pkgconfig_DATA = lttng-ust.pc
> 
> -dist_doc_DATA = README.md ChangeLog
> -
> -dist_noinst_DATA = CodingStyle
> +dist_doc_DATA = \
> + ChangeLog \
> + COPYING \
> + LICENSE \
> + README.md
> +
> +dist_noinst_DATA = \
> + CodingStyle \
> + CONTRIBUTING.md \
> + gpl-2.0.txt \
> + lgpl-2.1.txt \
> + mit-license.txt
> 
> check-loop:
>   cd tests && $(MAKE) $(AM_MAKEFLAGS) check-loop
> --
> 2.17.1

-- 
Mathieu Desnoyers
EfficiOS Inc.
http://www.efficios.com
___
lttng-dev mailing list
lttng-dev@lists.lttng.org
https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev


Re: [lttng-dev] [PATCH lttng-ust] fix: document proper liburcu version dependency

2019-10-21 Thread Mathieu Desnoyers
Merged into UST 2.11, master, thanks!

Mathieu

- On Oct 21, 2019, at 1:04 PM, Michael Jeanson mjean...@efficios.com wrote:

> ---
> README.md | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/README.md b/README.md
> index ff491701..fc2cc6c0 100644
> --- a/README.md
> +++ b/README.md
> @@ -11,7 +11,7 @@ user space tracing helpers for any application.
> Prerequisites
> -
> 
> -LTTng-UST depends on [liburcu](http://liburcu.org/) v0.7.2 at build and
> +LTTng-UST depends on **[liburcu](http://liburcu.org/) >= 0.11** at build and
> run times. It also optionally depends on libnuma.
> 
> 
> --
> 2.17.1

-- 
Mathieu Desnoyers
EfficiOS Inc.
http://www.efficios.com
___
lttng-dev mailing list
lttng-dev@lists.lttng.org
https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev