[Fwd: Re: Regarding systemtap support for AArch64]

Petr Machata pmachata@redhat.com
Mon Nov 4 15:42:00 GMT 2013


>Mark Wielaard <mjw@redhat.com> writes:
>
>> According to the call abi the simple integer value should be in
>> register "x0".  It looks in the generated c code for the module that
>> it is trying to access the return value with:
>>
>>     { int64_t value = fetch_register (0); STAP_RETVALUE = value; }
>
> Is this using ebl_return_value_location?  That should be on the branch,
> and unless I'm interpreting things wrong, it's doing the right thing:

By which I mean dwfl_module_return_value_location ;)

Thanks,
PM



More information about the Systemtap mailing list