[Bug translator/33428] New: support/prefer @cast against kernel omnibus vmlinux.h
fche at redhat dot com
sourceware-bugzilla@sourceware.org
Sat Sep 13 18:54:31 GMT 2025
https://sourceware.org/bugzilla/show_bug.cgi?id=33428
Bug ID: 33428
Summary: support/prefer @cast against kernel omnibus vmlinux.h
Product: systemtap
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: translator
Assignee: systemtap at sourceware dot org
Reporter: fche at redhat dot com
Target Milestone: ---
On recent kernel, the build process creates a vmlinux.h file, which contains
most or all kernel/module type declarations. While this was done for BPF
support purposes, it could be handy for systemtap too. When available,
systemtap should learn to use it as a typequery source, in preference to
debuginfo or fragile kernel<foo/bar.h> pseudo-module names in @cast operations.
This could work by support for a dwflpp.cxx module name "kernel<vmlinux.h>",
which would be specially treated in make_typequery(), and inserted
automagically before any "kernel*" component in a @cast module list. This
could also be handy for tracepoint parameter type decoding too.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Systemtap
mailing list