[lttng-dev] [PATCH lttng-tools] Fix: Conditionally disable overlap app test requiring shared libs support

2013-02-07 Thread Christian Babeux
When building lttng-tools with shared library support explicitly disabled (e.g.: ./configure --disable-shared), libtool fail with a fatal error: Making all in demo CC tp.lo CC tp2.lo CC tp3.lo CC demo.o CCLD demo CCLD liblttng-ust-provider-ust-tests-demo

Re: [lttng-dev] [PATCH babeltrace 2/2] Convert the unit tests to the TAP format

2013-02-07 Thread Jérémie Galarneau
Yes, I'll change the test to print more diagnostic info when an error occurs. On Thu, Feb 7, 2013 at 5:34 PM, Mathieu Desnoyers wrote: > * Jérémie Galarneau (jeremie.galarn...@efficios.com) wrote: >> >> Signed-off-by: Jérémie Galarneau >> --- >> tests/lib/Makefile.am | 2 + >> tests/lib/t

Re: [lttng-dev] [PATCH babeltrace 2/2] Convert the unit tests to the TAP format

2013-02-07 Thread Mathieu Desnoyers
* Jérémie Galarneau (jeremie.galarn...@efficios.com) wrote: > > Signed-off-by: Jérémie Galarneau > --- > tests/lib/Makefile.am | 2 + > tests/lib/test-bitfield.c | 242 > +++--- > tests/runall.sh | 88 +++-- > 3 files changed,

Re: [lttng-dev] [PATCH babeltrace 1/2] Move the bitfield test to tests/lib/

2013-02-07 Thread Mathieu Desnoyers
* Jérémie Galarneau (jeremie.galarn...@efficios.com) wrote: > > Signed-off-by: Jérémie Galarneau merged, thanks! Mathieu > --- > .gitignore| 2 +- > tests/Makefile.am | 4 - > tests/lib/Makefile.am | 3 +- > tests/lib/runall.sh | 5 +- > tests/lib/tes

[lttng-dev] [PATCH babeltrace 2/2] Convert the unit tests to the TAP format

2013-02-07 Thread Jérémie Galarneau
Signed-off-by: Jérémie Galarneau --- tests/lib/Makefile.am | 2 + tests/lib/test-bitfield.c | 242 +++--- tests/runall.sh | 88 +++-- 3 files changed, 139 insertions(+), 193 deletions(-) diff --git a/tests/lib/Makefile.am b/te

[lttng-dev] [PATCH babeltrace 1/2] Move the bitfield test to tests/lib/

2013-02-07 Thread Jérémie Galarneau
Signed-off-by: Jérémie Galarneau --- .gitignore| 2 +- tests/Makefile.am | 4 - tests/lib/Makefile.am | 3 +- tests/lib/runall.sh | 5 +- tests/lib/test-bitfield.c | 371 ++ tests/runall.sh | 7 - t

Re: [lttng-dev] help on using command lttng enable-event just one trace point -u

2013-02-07 Thread David Goulet
Hi, You are probably missing a part of the event name. Once your application is started, you can use "lttng list -u" to list the available events for UST tracing. It should look something like that (this is taken from the hello example in UST code tree). ust_tests_hello:tptest (loglevel: TRACE_D

[lttng-dev] help on using command lttng enable-event just one trace point -u

2013-02-07 Thread mohammad reza rejali
Dear Sir/Madam I am new in this area, I downloaded the examples and run the sample file but there is a problem. I used this command lttng enable-event sample_component -u But when i use this and lltng start and then stop when I use this command lttng view, Nothing show me,the only thing it shows i

Re: [lttng-dev] [PATCH babeltrace 1/1] Converted the unit tests to the TAP format and moved the bitfield test

2013-02-07 Thread Mathieu Desnoyers
some somments: please use the present for your subject and patch description: converted -> convert moved -> move * Jérémie Galarneau (jeremie.galarn...@efficios.com) wrote: > > Signed-off-by: Jérémie Galarneau > --- > tests/Makefile.am | 4 - > tests/lib/Makefile.am | 7 +- >

[lttng-dev] [PATCH babeltrace 1/1] Converted the unit tests to the TAP format and moved the bitfield test

2013-02-07 Thread Jérémie Galarneau
Signed-off-by: Jérémie Galarneau --- tests/Makefile.am | 4 - tests/lib/Makefile.am | 7 +- tests/lib/runall.sh | 5 +- tests/lib/test-bitfield.c | 331 + tests/lib/test-seeks.c| 1 - tests/runall.sh | 97 +-

Re: [lttng-dev] my user space rcu code

2013-02-07 Thread Mathieu Desnoyers
* Mathieu Desnoyers (mathieu.desnoy...@efficios.com) wrote: > * 赵宇龙 (zylthink...@gmail.com) wrote: > > Hi, > > > > I write a user space rcu, code at > > https://github.com/zylthinking/tools/blob/master/rcu.h > > https://github.com/zylthinking/tools/blob/master/rcu.c. > > > > I notice the main dif

Re: [lttng-dev] my user space rcu code

2013-02-07 Thread Mathieu Desnoyers
* 赵宇龙 (zylthink...@gmail.com) wrote: > Hi, > > I write a user space rcu, code at > https://github.com/zylthinking/tools/blob/master/rcu.h > https://github.com/zylthinking/tools/blob/master/rcu.c. > > I notice the main difference with liburcu should be I use a daemon thread > to do works such as

[lttng-dev] my user space rcu code

2013-02-07 Thread 赵宇龙
Hi, I write a user space rcu, code at https://github.com/zylthinking/tools/blob/master/rcu.h https://github.com/zylthinking/tools/blob/master/rcu.c. I notice the main difference with liburcu should be I use a daemon thread to do works such as waking up sleepers, while the liburcu does not. I wo