Re: [lttng-dev] Allocation failures with babeltrace and TraceCompass - corrupt trace?

2017-06-23 Thread Michael Jeanson
On 2017-06-23 11:48, Thomas McGuire wrote: >>> Any idea what can cause the corrupted trace? >> Based on your babeltrace backtrace, the possible culprits would be the >> events that have a sequence (variable-sized array): >> >> syscalls: select, poll, ppoll, pselect6, epoll_wait, epoll_pwait >> >> b

Re: [lttng-dev] [PATCH lttng-modules] Make vim users life easier

2017-06-23 Thread Mathieu Desnoyers
Merged into master, thanks! Mathieu - On Jun 23, 2017, at 2:36 PM, Michael Jeanson mjean...@efficios.com wrote: > Signed-off-by: Michael Jeanson > --- > Kbuild.common| 2 ++ > instrumentation/syscalls/lttng-syscalls-extractor/Kbuild | 2 ++ > 2 file

Re: [lttng-dev] [PATCH lttng-modules 2/2] Rename Makefile.ABI.workarounds to Kbuild.common

2017-06-23 Thread Mathieu Desnoyers
Merged into master, thanks! Mathieu - On Jun 23, 2017, at 2:29 PM, Michael Jeanson mjean...@efficios.com wrote: > This file is now used for code which is common to all Kbuild files. > > Signed-off-by: Michael Jeanson > --- > Kbuild.common| 50 +++

Re: [lttng-dev] [PATCH lttng-modules 1/2] Fix: handle missing ftrace header on v4.12

2017-06-23 Thread Mathieu Desnoyers
Merged into master, 2.10, 2.9, 2.8, thanks! Mathieu - On Jun 23, 2017, at 2:29 PM, Michael Jeanson mjean...@efficios.com wrote: > Properly handle the case where we build against the distro headers of a > kernel >= 4.12 and ftrace is enabled but the private header is > unavailable. > > Signe

[lttng-dev] [PATCH lttng-modules] Make vim users life easier

2017-06-23 Thread Michael Jeanson
Signed-off-by: Michael Jeanson --- Kbuild.common| 2 ++ instrumentation/syscalls/lttng-syscalls-extractor/Kbuild | 2 ++ 2 files changed, 4 insertions(+) diff --git a/Kbuild.common b/Kbuild.common index 2e6c4aa..16c62ab 100644 --- a/Kbuild.common +++ b

[lttng-dev] [PATCH lttng-modules 2/2] Rename Makefile.ABI.workarounds to Kbuild.common

2017-06-23 Thread Michael Jeanson
This file is now used for code which is common to all Kbuild files. Signed-off-by: Michael Jeanson --- Kbuild.common| 50 Makefile | 2 +- Makefile.ABI.workarounds | 50

[lttng-dev] [PATCH lttng-modules 1/2] Fix: handle missing ftrace header on v4.12

2017-06-23 Thread Michael Jeanson
Properly handle the case where we build against the distro headers of a kernel >= 4.12 and ftrace is enabled but the private header is unavailable. Signed-off-by: Michael Jeanson --- Makefile.ABI.workarounds | 21 + lttng-events.h | 2 +- probes/Kbuild|

Re: [lttng-dev] liburcu's assertion failed when cannot allocate memory

2017-06-23 Thread Mathieu Desnoyers
- On Jun 15, 2017, at 9:02 AM, Denis Yevgenyevich wrote: > My memory-constrained application dumps core saying > Assertion failed: (!ret), function _cds_wfcq_init, file > ./urcu/static/wfcqueue.h, line 107. > Abort > The function was called from the call_rcu thread, my app does not call

Re: [lttng-dev] Allocation failures with babeltrace and TraceCompass - corrupt trace?

2017-06-23 Thread Thomas McGuire
Hi, On 14.06.2017 18:39, Mathieu Desnoyers wrote: >> On 14.06.2017 17:12, Mathieu Desnoyers wrote: >>> Can you provide a copy of the metadata file ? And ideally the data >>> streams too ? This would give us a better idea of what is happening. >>> >>> Do you perform kernel or user-space tracing ? D