This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: [PATCHv2 1/2] Fix semantic error: empty struct
Hi -
> you need a global cache for resolution ... it's not tied to any local
> class instance. For class dwflpp it probably doesn't matter, since that
> class is effectively static (by its survival for a session) but
> logically because the DW_AT_declaration resolution is global, so should
> the cache that does it.
.. except it's not actually global, in that the kernel is not the only
code that will go through the dwarf family of probe processors -
user-space dwarf files are coming its way soon. Plus, if in the
future the systemtap frontend attempts distributed probing of multiple
target systems concurrently, "global" will be even more local.
> > Also, doesn't it seem like the stap_compile{} dejagnu proc seems
> > unnecessarily complicated [...]
> perhaps it would be if I invented it. In fact, I just recycled it from
> markers.exp, the declaration.exp just needed access.
Yeah, saw that. OK.
- FChE