[lttng-dev] [BUG lttng-modules] lttng-module compile failed with the v5.12 kernel
Xu, Yanfei
yanfei.xu at windriver.com
Mon Mar 29 22:53:10 EDT 2021
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 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, I have applied it to my project and it can perfectly solve the
compile failure. Just a minor typo 'arounf' in src/wrapper/genhd.c
Regards,
Yanfei
>
> Thanks,
>
> Michael
> _______________________________________________
> lttng-dev mailing list
> lttng-dev at lists.lttng.org
> https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
More information about the lttng-dev
mailing list