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: Probe on function entry rather than the end of the prolog (s390x only)


David Wilder <dwilder@us.ibm.com> writes:

> [...]  However; the debug information to identify all the arguments
> at the function entry point looks to be correct.  [...]

Indeed, for more modern compilers it often seems to be.  In order to
tolerate older compilers or less lucky cases, the prologue code is
probably still necessary to be kept around.  It would be activated iff
debugging info for the function entry address is imperfect.

This could be implemented with a dwarf_derived_probe extension that
stores a group of possible addresses for the probe (probably just 2,
but this generalizes to more because of fuzzy prologues).  If a
problem occurs during resolution of the embedded $target variables,
the other addresses would be tried.

Would someone like to try to come up with a patch for this?

- FChE


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