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

Michael Jeanson mjeanson at efficios.com
Mon Mar 29 09:54:00 EDT 2021


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_uevent helper")'.
> 
> The function are disk_part_iter_init()\disk_part_iter_next()
> \disk_part_iter_exit()
> 
> Thanks,
> Yanfei

Hi,

Can you have a look at this patch, it needs more testing :

https://review.lttng.org/c/lttng-modules/+/5050

Thanks,

Michael


More information about the lttng-dev mailing list