Accessing user-space global variables in timer.profile?

agentzh agentzh@gmail.com
Fri Jun 7 23:20:00 GMT 2013


Hello Josh!

On Mon, Jun 3, 2013 at 6:21 PM, Josh Stone <jistone@redhat.com> wrote:
> Ugh, now it occurs to me that this suggestion only makes sense for @var
> globals, where there's a cu_name and no module name.  For plain
> @var("name") it could be a local variable, and this really does need to
> be processed on the spot in dwarf_var_expanding_visitor.
>

Yeah, it makes sense :)

> Here's a possible outline to accomplish that with separate atvar_op:
>
[...]
>
> Hope I'm not over-engineering this... what do you think?

Thank you for your suggestions! They look good to me. I'll rewrite my
patch in the next few days accordingly :)

Thanks!
-agentzh



More information about the Systemtap mailing list