[PATCH] powerpc: Change SDT argument constraint

Frank Ch. Eigler fche@redhat.com
Thu Oct 5 15:59:00 GMT 2017


segher wrote:

> [...]
>> >       Arguments: -4@9 -4@.LANCHOR0+44@toc@l(8) -4@.LANCHOR0+52@toc@l(
>> > 7)
>> > 
>> > The second and third argument shown above are both having
>> > operands which are pointers to static data anchors. Since
>> > these static anchors are not included in the symbol table,
>> > they cannot be resolved from the binary itself. So, such
>> > arguments cannot be read via their corresponding markers.

By the way, such local symbols would be saved rather dropped if the
assembler flags included -L.  Then stap should be able to resolve them.


> [...]
> I wonder why only PowerPC is hitting this problem though?

Analogous problems hit other platforms too.  Addressing mode
availability, register set sizes, or GOT-like policies seem to
affect the exact degree.


- FChE



More information about the Systemtap mailing list