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
