This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Function arguments question on ARM (RaspPi)


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]