Re: [lttng-dev] Changed scheduling when using lttng

2013-05-13 Thread Mats Liljegren
On Fri, May 10, 2013 at 4:56 PM, Mathieu Desnoyers mathieu.desnoy...@efficios.com wrote: * Mats Liljegren (liljegren.ma...@gmail.com) wrote: --buffers-global Use shared buffer for the whole system (-k only) This option would be clearer as --buffers-per-cpu maybe ? This makes

Re: [lttng-dev] [PATCH lttng-tools v2] Add wrappers for pipe

2013-05-13 Thread David Goulet
Mathieu Desnoyers: * David Goulet (dgou...@efficios.com) wrote: This is to help use pipes in a way where partial read/write and EINTR are handled in one single call site. Two new files are created, pipe.c/.h which are part of libcommon. The open, close, read_close, write_close, read and

Re: [lttng-dev] [Babeltrace RFC PATCH 19/28] Add MinGW implementation of posix_fallocate

2013-05-13 Thread Jérémie Galarneau
On Thu, May 2, 2013 at 8:00 AM, Ikaheimonen, JP jp_ikaheimo...@mentor.com wrote: Add dummy MinGW implementation of posix_fallocate. The implementation does not do anything, and always returns zero. --- formats/ctf/ctf.c | 2 +- include/babeltrace/compat/fcntl.h | 13

Re: [lttng-dev] [Babeltrace RFC PATCH 18/28] Add MinGW implementation of strnlen

2013-05-13 Thread Jérémie Galarneau
On Thu, May 2, 2013 at 8:00 AM, Ikaheimonen, JP jp_ikaheimo...@mentor.com wrote: --- compat/compat_strlib.c | 23 +++ formats/ctf/types/string.c | 2 +- include/babeltrace/compat/string.h | 1 + 3 files changed, 25 insertions(+), 1 deletion(-) diff

Re: [lttng-dev] [Babeltrace RFC PATCH 16/28] Add MinGW implementation of strtok_r

2013-05-13 Thread Jérémie Galarneau
On Thu, May 2, 2013 at 7:57 AM, Ikaheimonen, JP jp_ikaheimo...@mentor.com wrote: --- compat/compat_strlib.c | 40 ++ converter/babeltrace.c | 2 +- include/babeltrace/compat/string.h | 4 3 files changed, 45 insertions(+),

Re: [lttng-dev] [Babeltrace RFC PATCH 11/28] Add MinGW implementation of gmtime_r

2013-05-13 Thread Jérémie Galarneau
On Thu, May 2, 2013 at 7:52 AM, Ikaheimonen, JP jp_ikaheimo...@mentor.com wrote: Add a (non-recursive) implementation of gmtime_r as it is missing in the MinGW standard library. Implementation is written in file include/babeltrace/compat/time.h which must be included in the source files that

[lttng-dev] User-space tracing by the root lttng-sessiond

2013-05-13 Thread Thibault, Daniel
I ran a little experiment whose results surprised me. Using a non-tracing group user account, I first made sure I had a root lttng-sessiond running and a user-space lttng-sessiond. In the first I set up a trace for some kernel events plus all user-space events. In the second I set up a

Re: [lttng-dev] [PATCH] Fix linker library order

2013-05-13 Thread Alexandre Montplaisir
On 13-05-11 10:59 PM, Mathieu Desnoyers wrote: * Francis Giraldeau (francis.girald...@gmail.com) wrote: Libraries must be specified after the binary target. merged, thanks! Mathieu This seems to have broken the daily PPA packages:

[lttng-dev] [PATCH lttng-tools 1/6] Tests: Cleanup and move gen-ust-events testapp under utils

2013-05-13 Thread Christian Babeux
This will improve the maintainability and stop the copying madness going on in each test needing a UST sample application. Application under test should go in tests/utils/testapp/testapp_name/. Signed-off-by: Christian Babeux christian.bab...@efficios.com --- configure.ac

[lttng-dev] [PATCH lttng-tools 2/6] Tests: Replace usage of gen-ust-events testapp in streaming tests

2013-05-13 Thread Christian Babeux
Use the gen-ust-events binary found under tests/utils/testapp/gen-ust-events/. Signed-off-by: Christian Babeux christian.bab...@efficios.com --- tests/regression/tools/streaming/Makefile.am | 16 -- tests/regression/tools/streaming/gen-ust-events.c | 59 --

[lttng-dev] [PATCH lttng-tools 3/6] Tests: Replace usage of gen-ust-events testapp in ust before-after test

2013-05-13 Thread Christian Babeux
Use the gen-ust-events binary found under tests/utils/testapp/gen-ust-events/. Signed-off-by: Christian Babeux christian.bab...@efficios.com --- tests/regression/ust/before-after/Makefile.am | 14 -- tests/regression/ust/before-after/gen-nevents.c| 56 --

[lttng-dev] [PATCH lttng-tools 5/6] Tests: Replace usage of gen-ust-events testapp in ust nprocesses test

2013-05-13 Thread Christian Babeux
Use the gen-ust-events binary found under tests/utils/testapp/gen-ust-events/. Signed-off-by: Christian Babeux christian.bab...@efficios.com --- tests/regression/ust/nprocesses/Makefile.am | 14 -- tests/regression/ust/nprocesses/gen-events-time.c | 61 ---