Function arguments question on ARM (RaspPi)
Josh Stone
jistone@redhat.com
Mon Dec 21 20:17:00 GMT 2015
On 12/21/2015 07:17 AM, Frank Ch. Eigler wrote:
> Yeah, assumig you're right about the _arg* ones being correct, this
> should not be happening. $$parms works based on dwarf debuginfo;
> _arg* works on hard-coded-in-tapset abi assumptions. They should
> normally match.
One consequence of that abi assumption is that the *_arg functions only
work in a proper function entry point. If the function you're probing
has been inlined, then only debuginfo can possibly know the right way to
fetch those parameters. You can make sure it's not an inlined probe
like: module("...").function("...").call
But since you think the $$parms values are the incorrect ones, that
suggests perhaps the compiler is giving bad debuginfo.
More information about the Systemtap
mailing list