Re: [lttng-dev] Problem with UST related to dlload

2014-05-28 Thread Woegerer, Paul
Hi Martin, Hi Gerlando It tried your approach of removing __attribute__((weak)) and to my surprise this really seems to be sufficient. What stuns me is that providing the visibility attribute hidden implicitly also makes the symbol to be treated as a weak symbol (in the sense that it can be

Re: [lttng-dev] Problem with UST related to dlload

2014-05-28 Thread Woegerer, Paul
On 05/28/2014 12:38 PM, Woegerer, Paul wrote: It would be interesting if this treatment of hidden symbols is standardized or if this is just an implementation-specific behavior of GNU ld. Maybe this link contains the answer to that question:

Re: [lttng-dev] [documentation] Drawing: LTTng trace session in relation to commandline options

2014-05-28 Thread Randy Wijnants
That's great to hear! I was also about to suggest that, but unfortunately google docs doesn't export SVGs very well. For example text is exported as paths and not as text elements. Also some misalignment issues as you can see in the graphic. If i have time left i will convert it manually to

Re: [lttng-dev] Problem with UST related to dlload

2014-05-28 Thread Gerlando Falauto
Hi Paul, Martin, thank you so much for your answers and patience. On 05/28/2014 12:38 PM, Woegerer, Paul wrote: Hi Martin, Hi Gerlando It tried your approach of removing __attribute__((weak)) and to my surprise this really seems to be sufficient. What stuns me is that providing the

Re: [lttng-dev] [documentation] Drawing: LTTng architecture in relation to the commandline / buffer options

2014-05-28 Thread Thibault, Daniel
De : Randy Wijnants [mailto:ra...@tty32.org] Envoyé : 28 mai 2014 07:50 Thanks for the explaination of the interface between the session and consumer daemon. Incorporated all of your suggestions into the graphic. Updated version:

Re: [lttng-dev] [documentation] Drawing: LTTng architecture in relation to the commandline / buffer options

2014-05-28 Thread Thibault, Daniel
Envoyé : 28 mai 2014 07:50 http://tty32.org/Logging%20configuration2.png--ESFSECEV-TY3011 http://tty32.org/Logging%20configuration2.svg--ESFSECEV-TY3011 Not sure where the ‘streaming socket’ fits in this picture, though. Simplest

Re: [lttng-dev] [PATCH v2] Fix: alignment problems on targets not supporting unaligned access.

2014-05-28 Thread David Goulet
Merged! Thanks David On 16 May (09:10:07), rongqing...@windriver.com wrote: From: Fredrik Markström fredrik.markst...@gmail.com Accessing floats, doubles and 64 bit int at unaligned addresses is not supported on all configurations of arm processors and if it is it's emulated and slow. This

Re: [lttng-dev] Problem with UST related to dlload

2014-05-28 Thread Woegerer, Paul
On 05/28/2014 03:04 PM, Gerlando Falauto wrote: So the hidden symbols are *NOT* weak at all (at least with my buggy compiler). They are just automagically defined by the linker. I wrote weak, in the sense that it can be linked without providing a definition somewhere. See:

Re: [lttng-dev] Problem with UST related to dlload

2014-05-28 Thread Gerlando Falauto
Hi Paul, On 05/28/2014 04:14 PM, Woegerer, Paul wrote: On 05/28/2014 03:04 PM, Gerlando Falauto wrote: So the hidden symbols are *NOT* weak at all (at least with my buggy compiler). They are just automagically defined by the linker. I wrote weak, in the sense that it can be linked without

[lttng-dev] [RELEASE] LTTng-UST 2.5.0-rc1

2014-05-28 Thread Mathieu Desnoyers
LTTng-UST, the Linux Trace Toolkit Next Generation Userspace Tracer, is port of the low-overhead tracing capabilities of the LTTng kernel tracer to user-space. The library liblttng-ust enables tracing of applications and libraries. New and noteworthy: - New tracef() instrumentation facility.

[lttng-dev] [RELEASE] LTTng modules 2.5.0-rc1

2014-05-28 Thread Mathieu Desnoyers
The LTTng modules provide Linux kernel tracing capability to the LTTng 2.x tracer toolset. New and noteworthy: - State dump of block devices, - State dump of file descriptor flags and modes, - 3.15 Linux kernel support, - v4lv2 instrumentation support, - MIPS32 system call tracing, - New

Re: [lttng-dev] Problem with UST related to dlload

2014-05-28 Thread Woegerer, Paul
On 05/28/2014 04:30 PM, Gerlando Falauto wrote: Hi Paul, On 05/28/2014 04:14 PM, Woegerer, Paul wrote: On 05/28/2014 03:04 PM, Gerlando Falauto wrote: So the hidden symbols are *NOT* weak at all (at least with my buggy compiler). They are just automagically defined by the linker. I wrote

[lttng-dev] [RELEASE] LTTng-Tools 2.5.0-rc1 - Fumisterie - International Hamburger Day

2014-05-28 Thread David Goulet
Greetings everyone (including LTTng elves), The lttng-tools project provides a session daemon (lttng-sessiond) that acts as a tracing registry, the lttng command line for tracing control, a lttng-ctl library for tracing control and a lttng-relayd for network streaming. We are VERY happy to

Re: [lttng-dev] arm gcc compile lttng-tool fail

2014-05-28 Thread Gerlando Falauto
Hi, I use CFLAGS=-O1 while executing configure But I get below message CCLD lttng-consumerd /media/sdb2/toolchain/arm/arm-v7a8v4r3-20131011/bin/../lib/gcc/arm-v7a8v4r3-linux-gnueabi/4.7.4/../../../../arm-v7a8v4r3-linux-gnueabi/bin/ld: health_state: TLS reference in

Re: [lttng-dev] Support for Linux 3.15 in lttng-modules 2.4 ?

2014-05-28 Thread Mathieu Desnoyers
- Original Message - From: Alexandre Montplaisir alexmon...@voxpopuli.im To: lttng-dev@lists.lttng.org Sent: Thursday, May 22, 2014 8:49:32 AM Subject: [lttng-dev] Support for Linux 3.15 in lttng-modules 2.4 ? Hi, I noticed that lttng-modules 2.4 fails to compile on kernel 3.15.

Re: [lttng-dev] Debian specific userspace RCU configure override

2014-05-28 Thread Mathieu Desnoyers
- Original Message - From: Jon Bernard jbern...@debian.org To: Mathieu Desnoyers mathieu.desnoy...@efficios.com Cc: Ondřej Surý ond...@sury.org, Michael Jeanson mjean...@efficios.com, lttng-dev lttng-dev@lists.lttng.org Sent: Tuesday, May 27, 2014 9:18:27 PM Subject: Re: Debian

Re: [lttng-dev] [documentation] Drawing: LTTng architecture in relation to the commandline / buffer options

2014-05-28 Thread Randy Wijnants
Thanks for the explaination of the interface between the session and consumer daemon. Incorporated all of your suggestions into the graphic. Updated version: http://tty32.org/Logging%20configuration2.png http://tty32.org/Logging%20configuration2.svg Should i push the SVGs to lttng git repo at

Re: [lttng-dev] Support for Linux 3.15 in lttng-modules 2.4 ?

2014-05-28 Thread Alexandre Montplaisir
On 14-05-28 11:51 AM, Mathieu Desnoyers wrote: Hi Alexandre, Since there has been an important tracepoint module API change between 3.14 and 3.15 in the Linux kernel, supporting 3.15 falls into the new feature category, so we don't plan to backport it to stable 2.4. lttng-modules 2.5.0

[lttng-dev] [PATCH lttng-ust] Fix: remove weak attribute from __start___tracepoints_ptrs and __stop___tracepoints_ptrs

2014-05-28 Thread Gerlando Falauto
Some OpenEmbedded GCC releases (namely 4.7.2) incorrectly emit those symbols with default visibility if both weak and hidden attributes are used. When tracepoints are distributed among the main application and one or several shared objects (e.g. lttng_ust_tracef:event in liblttng-ust.so AND your

[lttng-dev] Dynamic probes use case

2014-05-28 Thread Divya Vyas
Hi , I need to give a demo of LTTng dynamic probes . For that I need a real world examples for network analysis. I need to show that how dynamic probes are benificial for network analysis. Some real world example like packet drop, buffer overflow. I need some sample application which creates