Re: [lttng-dev] [RFC PATCH lttng-ust 2/2] dl instrumentation: add dlmopen event, trace dlopen flags

2017-02-21 Thread Jonathan Rajotte-Julien
On Tue, Feb 21, 2017 at 02:40:28PM +, Mathieu Desnoyers wrote: > - On Feb 21, 2017, at 9:19 AM, Thomas Petazzoni > thomas.petazz...@free-electrons.com wrote: > > > Hello, > > > > On Tue, 21 Feb 2017 14:08:08 + (UTC), Mathieu Desnoyers wrote: > > > >> My expectation is that the

Re: [lttng-dev] [RFC PATCH lttng-ust 2/2] dl instrumentation: add dlmopen event, trace dlopen flags

2017-02-21 Thread Mathieu Desnoyers
- On Feb 21, 2017, at 9:19 AM, Thomas Petazzoni thomas.petazz...@free-electrons.com wrote: > Hello, > > On Tue, 21 Feb 2017 14:08:08 + (UTC), Mathieu Desnoyers wrote: > >> My expectation is that the dlmopen override symbol gets generated, >> but it is never invoked in builds where the

Re: [lttng-dev] [RFC PATCH lttng-ust 2/2] dl instrumentation: add dlmopen event, trace dlopen flags

2017-02-21 Thread Thomas Petazzoni
Hello, On Tue, 21 Feb 2017 14:08:08 + (UTC), Mathieu Desnoyers wrote: > My expectation is that the dlmopen override symbol gets generated, > but it is never invoked in builds where the libc does not implement > it, so we never have to look it up dynamically through dlsym(). The main issue

Re: [lttng-dev] [RFC PATCH lttng-ust 2/2] dl instrumentation: add dlmopen event, trace dlopen flags

2017-02-21 Thread Mathieu Desnoyers
- On Feb 21, 2017, at 4:03 AM, Thomas Petazzoni thomas.petazz...@free-electrons.com wrote: > Hello, > > On Mon, 4 Jul 2016 18:53:48 -0400, Mathieu Desnoyers wrote: >> Add missing dlmopen(3) instrumentation, and add the "flags" field to >> dlopen instrumentation. >> >> Link:

Re: [lttng-dev] [RFC PATCH lttng-ust 2/2] dl instrumentation: add dlmopen event, trace dlopen flags

2017-02-21 Thread Thomas Petazzoni
Hello, On Mon, 4 Jul 2016 18:53:48 -0400, Mathieu Desnoyers wrote: > Add missing dlmopen(3) instrumentation, and add the "flags" field to > dlopen instrumentation. > > Link: http://man7.org/linux/man-pages/man3/dlopen.3.html > Signed-off-by: Mathieu Desnoyers

[lttng-dev] [RFC PATCH lttng-ust 2/2] dl instrumentation: add dlmopen event, trace dlopen flags

2016-07-04 Thread Mathieu Desnoyers
Add missing dlmopen(3) instrumentation, and add the "flags" field to dlopen instrumentation. Link: http://man7.org/linux/man-pages/man3/dlopen.3.html Signed-off-by: Mathieu Desnoyers --- include/lttng/ust-dlfcn.h | 10 liblttng-ust-dl/lttng-ust-dl.c |