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(a)redhat.com <crash-utility-bounces(a)redhat.com> On Behalf
Of Linu Cherian
Sent: Friday, January 7, 2022 2:14 PM
To: crash-utility(a)redhat.com
Cc: Sunil Kovvuri Goutham <sgoutham(a)marvell.com>
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... 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.