[lttng-dev] [PATCH lttng-tools 1/2] Add missing include for ssize_t on Cygwin

2018-05-15 Thread Michael Jeanson
Signed-off-by: Michael Jeanson --- include/lttng/condition/condition-internal.h | 1 + include/lttng/condition/evaluation-internal.h | 1 + 2 files changed, 2 insertions(+) diff --git a/include/lttng/condition/condition-internal.h

[lttng-dev] [PATCH lttng-tools 2/2] Port: fix format warnings on Cygwin

2018-05-15 Thread Michael Jeanson
On Cygwin, be64toh() returns a "long long unsigned int" while the format specifier PRIu64 expects a "long unsigned int". Both types are 64bits integers, just cast the result to uint64_t to silence the warnings. Signed-off-by: Michael Jeanson ---

[lttng-dev] [PATCH lttng-tools] Tests: Added autoloading session test cases

2018-05-15 Thread Anders Wallin
lttng-sessiond can auto load sessions at startup; - with "--load" option to lttng-sessiond, load one file or all sessions files in that directory - from session files in $LTTNG_HOME/.lttng/sessions/auto/ - from session files in $sysconfdir/lttng/sessions/auto This test case validate the two