Re: [lttng-dev] Crash on first run of target using liblttng-ust-cyg-profile.so, but subsequent runs succeed

2016-03-10 Thread Sean Heelan
Hi Michael/everyone else, Indeed the above does seem to resolve the issue. Thanks for looking into this! Cheers, Sean On Wed, Mar 2, 2016 at 5:45 PM, Michael Jeanson wrote: > Hi Sean, > > As mentioned by Mathieu this is caused by the docker default seccomp > profile > blocking the "restart_sy

Re: [lttng-dev] segfault when exiting process with background thread

2016-03-10 Thread Mathieu Desnoyers
- On Mar 10, 2016, at 5:59 PM, Jeffrey Chen wrote: > Thanks, Mathieu. > Yes, the fix works as a workaround. This is also the same workaround we have > now. > It seems the problem is due to a race condition, that it checked whether " > tracepoint_dlopen.rcu_read_lock_sym_bp " is not NULL. I

Re: [lttng-dev] segfault when exiting process with background thread

2016-03-10 Thread Jeffrey Chen
Thanks, Mathieu. Yes, the fix works as a workaround. This is also the same workaround we have now. It seems the problem is due to a race condition, that it checked whether "tracepoint_dlopen.rcu_read_lock_sym_bp" is not NULL. If not NULL, it calls to that. But, at this moment, memset cleared

Re: [lttng-dev] [RFC PATCH lttng-ust] Add tracepoint_disable_destructors()

2016-03-10 Thread Mathieu Desnoyers
- On Mar 10, 2016, at 9:44 AM, Mathieu Desnoyers mathieu.desnoy...@efficios.com wrote: > Calling this function from an instrumented program allows disabling > tracepoint destructors. This allows threads to continue calling > tracepoint code even after the tracepoint destructors have run. This

Re: [lttng-dev] [PATCH lttng-tools] Fix: tests: use SIGSTOP for crash extraction test

2016-03-10 Thread Jérémie Galarneau
Merged in master and stable-2.7, thanks! Jérémie On Thu, Mar 10, 2016 at 11:13 AM, Mathieu Desnoyers wrote: > Ensure that SIGKILL being received only by some consumer processes don't > trigger clean shutdown of other consumer processes (due to hang up of > communication FD by the session daemon)

Re: [lttng-dev] real time Userspace RCU

2016-03-10 Thread Mathieu Desnoyers
- On Mar 10, 2016, at 3:33 PM, Yuxin Ren r...@gwmail.gwu.edu wrote: > Thank you for your reply. > > I want to generally understand how to apply urcu to real time systems. > I know real time system focus on predictability on both timing and > memory consumption. > So how does real time urcu su

Re: [lttng-dev] real time Userspace RCU

2016-03-10 Thread Yuxin Ren
Thank you for your reply. I want to generally understand how to apply urcu to real time systems. I know real time system focus on predictability on both timing and memory consumption. So how does real time urcu support predictability? Could you provide me some papers, documents or any materials ab

[lttng-dev] [PATCH lttng-tools] Fix: systematic overwrite of union values on add context

2016-03-10 Thread Jonathan Rajotte
Bug introduced in commit 2001793c1141e89b34e70efb28b27ec0cc8e6d47 The type and config fields of the lttng_event_perf_counter_ctx member of lttng_event_context union would always be set to zero. Signed-off-by: Jonathan Rajotte --- src/lib/lttng-ctl/lttng-ctl.c | 12 +--- 1 file changed,

[lttng-dev] announcing: lttng and ruby!

2016-03-10 Thread Chris Riddoch
Hi, folks. I've been making tools to work with lttng-ust in the ruby ecosystem, and I've just put some of the results of this work on github. First, I've instrumented the ruby interpreter with lttng tracepoints, which can be built with --enable-lttng and currently exist alongside the existing dtr

Re: [lttng-dev] segfault when exiting process with background thread

2016-03-10 Thread Mathieu Desnoyers
Hi Jeffrey, I CC'd your @live.com address on the RFC patch. Please let me know if the approach is OK with you (and try it out). See: https://lists.lttng.org/pipermail/lttng-dev/2016-March/025608.html Thanks, Mathieu - On Mar 10, 2016, at 1:35 PM, Jeffrey Chen wrote: > Thanks Mat

Re: [lttng-dev] real time Userspace RCU

2016-03-10 Thread Michel Dagenais
Real-time and embedded systems is an important current focus for the LTTng toolchain research. Do you have specific needs for userspace RCU? - Mail original - > Hi, > > Is there any work or research about Userspace RCU on real time or > embedded systems? > Any information is welcome. >

Re: [lttng-dev] segfault when exiting process with background thread

2016-03-10 Thread Jeffrey Chen
Thanks Mathieu. Is there a plan at LTTng side to fix this issue? If so, we could wait for the fix. If not, we will have to workaround the problem for now (probably by applying your fix ourselves). Thanks. From: Mathieu Desnoyers Sent: Tuesday, March 8, 2016 6

[lttng-dev] real time Userspace RCU

2016-03-10 Thread Yuxin Ren
Hi, Is there any work or research about Userspace RCU on real time or embedded systems? Any information is welcome. Thanks a lot! Yuxin ___ lttng-dev mailing list lttng-dev@lists.lttng.org https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

Re: [lttng-dev] [PATCH lttng-tools v2] Test: prevent the spawning of a daemonized sessiond

2016-03-10 Thread Jérémie Galarneau
Merged in master, stable-2.7 and stable-2.6. Thanks! Jérémie On Tue, Mar 8, 2016 at 5:37 PM, Jonathan Rajotte wrote: > Sets the default lttng-sessiond path to /bin/true to prevent the spawning > of a daemonized sessiond. This is necessary since 'lttng create' will spawn > its own sessiond if non

[lttng-dev] [PATCH lttng-tools] Fix: tests: use SIGSTOP for crash extraction test

2016-03-10 Thread Mathieu Desnoyers
Ensure that SIGKILL being received only by some consumer processes don't trigger clean shutdown of other consumer processes (due to hang up of communication FD by the session daemon). Fix this by invoking a SIGSTOP on both sessiond and consumerd, and wait until we see those process state change to

[lttng-dev] [RFC PATCH lttng-ust] Add tracepoint_disable_destructors()

2016-03-10 Thread Mathieu Desnoyers
Calling this function from an instrumented program allows disabling tracepoint destructors. This allows threads to continue calling tracepoint code even after the tracepoint destructors have run. This is needed for applications that exit without joining all their threads. Signed-off-by: Mathieu De