This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: Seen some problems with elfuitls-0.131 on x86_64
> When we need to add a probe point to kernel, we check for relocation
> information for it, through dwfl_module_relocations().
> For a kernel which is built without CONFIG_RELOC option,there will be
> no relocation info. Hence I expect dwfl_module_relocations() to return 0.
> (Please correct If Iam wrong)
No, there is no way to determine this. So libdwfl always assumes the
kernel might be relocatable. ELF kernels are ET_EXEC files, but a
relocatable kernel acts like ET_DYN; libdwfl treats kernels exactly that
way. Previous