[lttng-dev] [RFC PATCH liburcu 1/2] Implement urcu workqueues internal API

2017-05-30 Thread Mathieu Desnoyers
Signed-off-by: Mathieu Desnoyers --- src/Makefile.am | 2 +- src/workqueue.c | 507 src/workqueue.h | 104 3 files changed, 612 insertions(+), 1 deletion(-) create mode 100644 src/workqueue.c

[lttng-dev] [RCU PATCH liburcu 2/2] Use workqueue in rculfhash

2017-05-30 Thread Mathieu Desnoyers
Signed-off-by: Mathieu Desnoyers --- include/urcu/rculfhash.h | 15 -- src/rculfhash-internal.h | 2 +- src/rculfhash.c | 124 +++ 3 files changed, 74 insertions(+), 67 deletions(-) diff --git

[lttng-dev] [RFC PATCH liburcu 0/2] Remove RCU requirements on hash table destroy

2017-05-30 Thread Mathieu Desnoyers
The RCU lock-free hash table currently requires that the destroy function should not be called from within RCU read-side critical sections. This is caused by the lazy resize, which uses the call_rcu worker thread, even though all it really needs is a workqueue/worker thread scheme. Implement an

[lttng-dev] Error: Kernel create channel failed

2017-05-30 Thread Deneau, Tom
I seem to have gotten my lttng into a state where kernel tracing does not work. I have tried uninstalling and reinstalling packages with no luck and also building from source. Any suggestions welcome. My distro is Ubuntu 16.04 but the kernel is 4.10.0-20-generic. I have installed 2.9 using apt

Re: [lttng-dev] [PATCH lttng-modules] Fix: Build ftrace probe on kernels prior to 4.12

2017-05-30 Thread Mathieu Desnoyers
Merged in master, 2.10, 2.9, 2.8, thanks! Mathieu - On May 30, 2017, at 9:36 AM, Francis Deslauriers francis.deslauri...@efficios.com wrote: > Signed-off-by: Francis Deslauriers > --- > probes/Kbuild | 5 +++-- > 1 file changed, 3 insertions(+), 2

[lttng-dev] [PATCH lttng-modules] Fix: Build ftrace probe on kernels prior to 4.12

2017-05-30 Thread Francis Deslauriers
Signed-off-by: Francis Deslauriers --- probes/Kbuild | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/probes/Kbuild b/probes/Kbuild index fe869d0..78bf3fb 100644 --- a/probes/Kbuild +++ b/probes/Kbuild @@ -267,8 +267,9 @@ ifneq