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: [email protected] <[email protected]> On 
> Behalf Of Linu Cherian
> Sent: Friday, January 7, 2022 2:14 PM
> To: [email protected]
> Cc: Sunil Kovvuri Goutham <[email protected]>
> Subject: [Crash-utility] 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
[email protected]
https://listman.redhat.com/mailman/listinfo/crash-utility

Reply via email to