Re: Ptdump extension module incompatibility with Linux version >=5.5

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

Ccing Hatayama-san, as he is the maintainer of the ptdump module:
https://crash-utility.github.io/extensions.html#PTDUMP

I cannot find the repository for crash-ptdump.
Do you have any plan to update the module?

Thanks,
Kazu

> -----Original Message-----
> From: crash-utility-bounces@xxxxxxxxxx <crash-utility-bounces@xxxxxxxxxx> On Behalf Of Linu Cherian
> Sent: Friday, January 7, 2022 2:14 PM
> To: crash-utility@xxxxxxxxxx
> Cc: Sunil Kovvuri Goutham <sgoutham@xxxxxxxxxxx>
> Subject:  Ptdump extension module incompatibility with Linux version >=5.5
> 
> Hi,
> 
> 
> 
> While experimenting  ptdump extension module with Kernel version 5.8.x ,  came across few incompatibility
> issues.
> 
> 
> 
> struct ring_buffer got renamed to struct perf_buffer starting from kernel version 5.5 and seems the latest
> ptdump extension
> 
> available here is  https://github.com/crash-utility/crash-extensions/raw/master/ptdump-1.0.7.tar.gz not
> updated and still
> 
> uses the “struct ring_buffer”.
> 
> 
> 
> Hence,
> 
>  “/* array of struct pages for pt buffer */
> 
>         if(!get_member(struct_ring_buffer, "ring_buffer", "aux_pages",
> 
>                        &aux_pages))
> 
>                 return FALSE;”
> 
> 
> 
> was failing in ptdump.c
> 
> 
> 
> Few questions.
> 
> 
> 
> 1.	Do we have a extension module maintained somewhere else that supports the later kernels >=5.5
> 2.	How do we usually manage such incompatibility issues (dependency on Kernel structures)?
> 
>         Was trying to explore the arm64 solution in line with ptdump.
> 
> 
> 
> Thanks.
> 
> 
> 
> 


--
Crash-utility mailing list
Crash-utility@xxxxxxxxxx
https://listman.redhat.com/mailman/listinfo/crash-utility




[Index of Archives]     [Fedora Development]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]

 

Powered by Linux