lttng-module compile failed with the v5.12 kernel
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
_______________________________________________
lttng-dev mailing list
[email protected]
https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
Quoted 7 lines · Yanfei via lttng-dev
Hi experts,
I found a file named
lttng-statedump-impl.cin lttng-module is always compiled failed. The file use some functions which were export from kernel. But the v5.12 kernel unexport them by 'commitbc359d03c7ec("block: add adisk_ueventhelper")'.
Quoted 5 lines
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
_______________________________________________
lttng-dev mailing list
[email protected]
https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
Quoted 13 lines · Michael Jeanson via lttng-dev
[Please note: This e-mail is from an EXTERNAL e-mail address]
Quoted 10 lines · Yanfei via lttng-dev
Hi experts,
I found a file named
lttng-statedump-impl.cin lttng-module is always compiled failed. The file use some functions which were export from kernel. But the v5.12 kernel unexport them by 'commitbc359d03c7ec("block: add adisk_ueventhelper")'.The function are disk_part_iter_init()\disk_part_iter_next() \disk_part_iter_exit()
Quoted 8 lines
Quoted 2 lines
Thanks,
YanfeiHi,
Can you have a look at this patch, it needs more testing :
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
Quoted 8 lines
Thanks,
Michael
_______________________________________________
lttng-dev mailing list
[email protected]
https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
_______________________________________________
lttng-dev mailing list
[email protected]
https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev