Skip to content
Commit d60a33fa authored by Douglas Raillard's avatar Douglas Raillard
Browse files

lisa._assets.kmodules.lisa.introspect_header: Support tracepoint vtables

FEATURE

Support tracepoint vtable types that refer to kernel private in their
getters, so that the generated C code from BTF only contains forward
declarations to those types rather than a full dump of them.

This allows getters to use public types, which could otherwise not be
dumped under their original names as it would conflict with the
definition available in public headers. Dumping them under a modified
name is possible but breaks CFI, as CFI check relies on each types
having the same name both on the caller and callee sides.
parent 5a1f0dbc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment