[lttng-dev] [lttng-tools PATCH] Trivial build fix

2013-03-20 Thread Dragos Tarcatu
Hi all, I've got into a build error on Ubuntu 12.04 (i386) using gcc 4.6.3. The compiler seems to get confused when asked to equivalate unsigned long and uint64_t on my machine. Since the problem was pretty obvious, I've also made a patch for it. Regards,     Dragos From

Re: [lttng-dev] [lttng-tools PATCH] Trivial build fix

2013-03-20 Thread David Goulet
Hi, Thanks for the patch. It has been fixed and will be upstream very soon! Thanks for the patch! David Dragos Tarcatu: Hi all, I've got into a build error on Ubuntu 12.04 (i386) using gcc 4.6.3. The compiler seems to get confused when asked to equivalate unsigned long and uint64_t on my

Re: [lttng-dev] dlopen, gcc -l and LD_PRELOAD

2013-03-20 Thread Thibault, Daniel
Message: 1 Date: Tue, 19 Mar 2013 11:51:29 -0400 I don't see this warning and error here. Which release are you using? lttng-modules 2.1.1+ (74b9312, 2013-02-27) lttng-tools 2.1.1+ (e58727c, 2013-03-01) lttng-ust 2.1.1+ (009769c, 2013-03-05) userspace-rcu 0.7.6+ (108a92e,

Re: [lttng-dev] dlopen, gcc -l and LD_PRELOAD

2013-03-20 Thread Thibault, Daniel
-Message d'origine- Message: 6 Date: Wed, 20 Mar 2013 12:38:59 -0400 Meanwhile I've been playing with some very simple examples of .so use, and found that the behaviour of LD_PRELOAD is incompletely documented. For instance, if I run: Take a look at man 8 ld.so. It should answer

[lttng-dev] [RFC-PATCH] Adding trap tracepoints definitions

2013-03-20 Thread Francis Deslauriers
This patch adds new trap tracepoint definitions. Both trap entry and trap exit tracepoints can be added. Signed-off-by: Francis Deslauriers fdesl...@gmail.com --- include/trace/events/trap.h | 45 +++ 1 file changed, 45 insertions(+) create mode 100644

Re: [lttng-dev] [RFC-PATCH] Adding trap tracepoints definitions

2013-03-20 Thread Francis Deslauriers
Here is reworked version on the trap tracepoints. If it looks good, i will go on by sending a lttng-modules patch adding the trap-probe. Comments are welcome. Francis On Wed, Mar 20, 2013 at 3:55 PM, Francis Deslauriers fdesl...@gmail.comwrote: This patch adds new trap tracepoint

Re: [lttng-dev] [RFC-PATCH] Adding trap tracepoints definitions

2013-03-20 Thread Mathieu Desnoyers
* Francis Deslauriers (fdesl...@gmail.com) wrote: This patch adds new trap tracepoint definitions. Both trap entry and trap exit tracepoints can be added. Signed-off-by: Francis Deslauriers fdesl...@gmail.com --- include/trace/events/trap.h | 45

[lttng-dev] [RFC-PATCH] Adding trap tracepoints definitions

2013-03-20 Thread Francis Deslauriers
This patch adds new trap tracepoint definitions. Both trap entry and trap exit tracepoints can be added. Signed-off-by: Francis Deslauriers fdesl...@gmail.com --- include/trace/events/trap.h | 45 +++ 1 file changed, 45 insertions(+) create mode 100644

Re: [lttng-dev] [RFC-PATCH] Adding trap tracepoints definitions

2013-03-20 Thread Mathieu Desnoyers
* Francis Deslauriers (fdesl...@gmail.com) wrote: This patch adds new trap tracepoint definitions. Both trap entry and trap exit tracepoints can be added. Both trap entry and trap exit tracepoints can be added. - It enables each architecture to add trap instrumentation. Signed-off-by:

[lttng-dev] [RFC-PATCH] Adding trap tracepoints definitions

2013-03-20 Thread Francis Deslauriers
This patch adds new trap tracepoint definitions. It enables each architecture to add trap instrumentation. Signed-off-by: Francis Deslauriers fdesl...@gmail.com --- include/trace/events/trap.h | 47 +++ 1 file changed, 47 insertions(+) create mode

Re: [lttng-dev] [RFC-PATCH] Adding trap tracepoints definitions

2013-03-20 Thread Mathieu Desnoyers
Subject change: Adding trap tracepoints definitions - Add trap trace event definitions * Francis Deslauriers (fdesl...@gmail.com) wrote: This patch adds new trap tracepoint definitions. It enables each architecture to add trap instrumentation. This patch should be avoided (we know it's a

Re: [lttng-dev] [RFC-PATCH] Adding trap tracepoints definitions

2013-03-20 Thread Francis Deslauriers
On Wed, Mar 20, 2013 at 10:51 PM, Mathieu Desnoyers mathieu.desnoy...@efficios.com wrote: Subject change: Adding trap tracepoints definitions - Add trap trace event definitions - Add trace trace event definitions. It will allow each architecture to instrument their traps. How about