[DTrace-devel] [PATCH 5/7] module: use uintptr_t as type for kernel symbols withuot type info

Nick Alcock nick.alcock at oracle.com
Fri Nov 3 13:10:10 UTC 2023


On 31 Oct 2023, Kris Van Hees via DTrace-devel spake thusly:

> When a kernel symbol is known to exist (found in kallsyms) but no type
> information can be found, a compilation error is reported.  That makes
> it impossible to use casting to resolve missing type information for
> symbols whose address is clearly known.  So, assign those symbol the
> uintptr_t type.

Definitely. (Assuming such a type can be found, which you dealt with.)

... maybe we only want to do this if we're using BTF, not CTF, since CTF
should have the lot. I'm not sure.

> Signed-off-by: Kris Van Hees <kris.van.hees at oracle.com>

Reviewed-by: Nick Alcock <nick.alcock at oracle.com>

-- 
NULL && (void)



More information about the DTrace-devel mailing list