Seen some problems with elfuitls-0.131 on x86_64

Roland McGrath roland@redhat.com
Tue Dec 18 11:04:00 GMT 2007


> 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 

  



More information about the Systemtap mailing list