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: Accessing user-space global variables in timer.profile?


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


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