Re: [lttng-dev] [BUG lttng-modules] lttng-module compile failed with the v5.12 kernel

2021-03-29 Thread Xu, Yanfei via lttng-dev
On 3/29/21 9:54 PM, Michael Jeanson via lttng-dev wrote: [Please note: This e-mail is from an EXTERNAL e-mail address] On 2021-03-29 02 h 34, Xu, Yanfei via lttng-dev wrote: Hi experts, I found a file named lttng-statedump-impl.c in lttng-module is always compiled failed. The file use some

Re: [lttng-dev] [BUG lttng-modules] lttng-module compile failed with the v5.12 kernel

2021-03-29 Thread Michael Jeanson via lttng-dev
On 2021-03-29 02 h 34, Xu, Yanfei via lttng-dev wrote: Hi experts, I found a file named lttng-statedump-impl.c in lttng-module is always compiled failed. The file use some functions which were export from kernel. But the v5.12 kernel unexport them by 'commit bc359d03c7ec ("block: add a disk_ueve

Re: [lttng-dev] LTTng 32 bits : Cannot find liburcu-bp 0.11 or newer

2021-03-29 Thread Jonathan Rajotte-Julien via lttng-dev
Hi Julien, Yeah, the urcu version is wrong here it should be >= 0.11. We will get that fixed. Thanks On Mon, Mar 29, 2021 at 01:24:48PM +, MONTET Julien via lttng-dev wrote: > Oh my bad ! > You just have to choose modify the lines of the tutorial (rcu). > I chose > userspace-rcu-0.12.2.tar

Re: [lttng-dev] LTTng 32 bits : Cannot find liburcu-bp 0.11 or newer

2021-03-29 Thread MONTET Julien via lttng-dev
Oh my bad ! You just have to choose modify the lines of the tutorial (rcu). I chose userspace-rcu-0.12.2.tar.bz2 and it installed well. De : MONTET Julien Envoyé : lundi 29 mars 2021 11:43 À : lttng-dev@li

[lttng-dev] [PATCH lttng-modules] Fix: lttng-statedump-impl: wrap some helpers unexported in kernel

2021-03-29 Thread Yanfei Xu via lttng-dev
From: Yanfei Xu disk_part_iter_* helpers were unexported in the v5.11 kernel by 'commit bc359d03c7ec("block: add a disk_uevent helper")'. Thus we make some wrappers for them to avoid compile failed. Signed-off-by: Yanfei Xu --- include/wrapper/genhd.h| 104 +

[lttng-dev] LTTng 32 bits : Cannot find liburcu-bp 0.11 or newer

2021-03-29 Thread MONTET Julien via lttng-dev
Hi everyone, I successfully installed and used LTTng on x86 and x64 (kernel event, userspace, and other tools like TraceCompass). Now, I am looking for a way to use LTTng on other processors (arm32, ...). I tried to follow the tutorial and, to be honest, I am quite not lost on step 2. (libuuid