[lttng-dev] [PATCH lttng-modules] Fix: kref changes for kernel 4.11

2017-03-07 Thread Francis Deslauriers
The underlying type of `struct kref` changed in kernel 4.11 from an atomic_t to a refcount_t. This change was introduced in kernel commit:10383ae. This commit also added a builtin overflow checks to `kref_get()` so we use it. Signed-off-by: Francis Deslauriers

[lttng-dev] [PATCH lttng-modules] Fix: atomic_add_unless() already returns zero on overflow

2017-03-07 Thread Francis Deslauriers
Signed-off-by: Francis Deslauriers --- wrapper/kref.h | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/wrapper/kref.h b/wrapper/kref.h index eedefbf..f30a9ae 100644 --- a/wrapper/kref.h +++ b/wrapper/kref.h @@ -36,11 +36,7 @@ */ static

Re: [lttng-dev] [PATCH] lttng-modules: Fixes for ARM and 32-bit systems

2017-03-07 Thread Trent Piepho
On Mon, 2017-03-06 at 17:12 +, Mathieu Desnoyers wrote: > - On Mar 3, 2017, at 6:43 PM, Trent Piepho tpie...@kymetacorp.com wrote: > > Hi Trent, > > What lttng-modules branch is this for ? Sorry about this, I meant to send this patch to the *buildroot* list to fix the bugs in the

Re: [lttng-dev] [PATCH lttng-modules] Fix: timers cputime_t arguments replaced by ull in kernel 4.11

2017-03-07 Thread Mathieu Desnoyers
merged into master and stable-2.9, thanks! Mathieu - On Mar 7, 2017, at 11:21 AM, Francis Deslauriers francis.deslauri...@efficios.com wrote: > cputime_t was changed to ull in the kernel commit: 858cf3a > > Signed-off-by: Francis Deslauriers > --- >

Re: [lttng-dev] [PATCH lttng-modules] Fix: update scsi instrumentation for kernel 4.11

2017-03-07 Thread Mathieu Desnoyers
merged into master and stable-2.9, thanks! Mathieu - On Mar 7, 2017, at 11:16 AM, Francis Deslauriers francis.deslauri...@efficios.com wrote: > Signed-off-by: Francis Deslauriers > --- > instrumentation/events/lttng-module/block.h | 154

[lttng-dev] [PATCH lttng-modules] Fix: timers cputime_t arguments replaced by ull in kernel 4.11

2017-03-07 Thread Francis Deslauriers
cputime_t was changed to ull in the kernel commit: 858cf3a Signed-off-by: Francis Deslauriers --- instrumentation/events/lttng-module/timer.h | 38 + 1 file changed, 38 insertions(+) diff --git

[lttng-dev] [PATCH lttng-modules] Fix: update scsi instrumentation for kernel 4.11

2017-03-07 Thread Francis Deslauriers
Signed-off-by: Francis Deslauriers --- instrumentation/events/lttng-module/block.h | 154 ++-- 1 file changed, 146 insertions(+), 8 deletions(-) diff --git a/instrumentation/events/lttng-module/block.h

Re: [lttng-dev] [PATCH lttng-modules v2] Fix: changes to the vm_op fault cb prototype in libringbuffer

2017-03-07 Thread Mathieu Desnoyers
merged into master and stable-2.9, thanks! Mathieu - On Mar 7, 2017, at 10:35 AM, Francis Deslauriers francis.deslauri...@efficios.com wrote: > Signed-off-by: Francis Deslauriers > --- > lib/ringbuffer/ring_buffer_mmap.c | 15 ++- > 1 file

Re: [lttng-dev] [PATCH lttng-modules v2] Fix: update btrfs instrumentation for kernel 4.11

2017-03-07 Thread Mathieu Desnoyers
merged into master and stable-2.9, thanks! - On Mar 7, 2017, at 10:14 AM, Francis Deslauriers francis.deslauri...@efficios.com wrote: > Signed-off-by: Francis Deslauriers > --- > instrumentation/events/lttng-module/btrfs.h | 25 - >

[lttng-dev] [PATCH lttng-modules v2] Fix: changes to the vm_op fault cb prototype in libringbuffer

2017-03-07 Thread Francis Deslauriers
Signed-off-by: Francis Deslauriers --- lib/ringbuffer/ring_buffer_mmap.c | 15 ++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/lib/ringbuffer/ring_buffer_mmap.c b/lib/ringbuffer/ring_buffer_mmap.c index 35d30e7..4b1b7b3 100644 ---

Re: [lttng-dev] [PATCH lttng-modules] Fix: changes to the vm_op fault cb prototype in libringbuffer

2017-03-07 Thread Mathieu Desnoyers
- On Mar 7, 2017, at 9:59 AM, Francis Deslauriers francis.deslauri...@efficios.com wrote: > Signed-off-by: Francis Deslauriers > --- > lib/ringbuffer/ring_buffer_mmap.c | 6 ++ > 1 file changed, 6 insertions(+) > > diff --git

[lttng-dev] [PATCH lttng-modules] Fix: changes to the vm_op fault cb prototype in libringbuffer

2017-03-07 Thread Francis Deslauriers
Signed-off-by: Francis Deslauriers --- lib/ringbuffer/ring_buffer_mmap.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/lib/ringbuffer/ring_buffer_mmap.c b/lib/ringbuffer/ring_buffer_mmap.c index 35d30e7..1ca45a7 100644 ---

[lttng-dev] [PATCH lttng-modules] Fix: update btrfs instrumentation for kernel 4.11

2017-03-07 Thread Francis Deslauriers
Signed-off-by: Francis Deslauriers --- instrumentation/events/lttng-module/btrfs.h | 9 + 1 file changed, 9 insertions(+) diff --git a/instrumentation/events/lttng-module/btrfs.h b/instrumentation/events/lttng-module/btrfs.h index cc7ba50..2955e28

[lttng-dev] [PATCH lttng-modules] Fix: update mm_vmscan instrumentation for kernel 4.11

2017-03-07 Thread Francis Deslauriers
Signed-off-by: Francis Deslauriers --- instrumentation/events/lttng-module/mm_vmscan.h | 62 - 1 file changed, 60 insertions(+), 2 deletions(-) diff --git a/instrumentation/events/lttng-module/mm_vmscan.h

Re: [lttng-dev] [PATCH lttng-modules] Fix: section mismatch warning caused by __exit annotation

2017-03-07 Thread Mathieu Desnoyers
merged into master and stable-2.9, thanks! Mathieu - On Mar 7, 2017, at 9:12 AM, Francis Deslauriers francis.deslauri...@efficios.com wrote: > lttng_logger_exit is used in a non-exit function so it can not be > annotated with `__exit` > > Signed-off-by: Francis Deslauriers

[lttng-dev] [PATCH lttng-modules] Fix: section mismatch warning caused by __exit annotation

2017-03-07 Thread Francis Deslauriers
lttng_logger_exit is used in a non-exit function so it can not be annotated with `__exit` Signed-off-by: Francis Deslauriers --- probes/lttng.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/probes/lttng.c b/probes/lttng.c index