Accessing user-space global variables in timer.profile?
agentzh
agentzh@gmail.com
Thu Apr 18 00:55:00 GMT 2013
Hello!
I'm wondering if it is possible to get @var() working the in
timer.profile context, just like @cast().
I've tried using @var("var@file") in a timer.profile handler directly,
but getting the error
Bad $context variable being substituted with literal 0
Maybe we can specify the path to the executable file as a second
argument to @var(), just as in @cast()?
IMHO, it is very useful if we can get access to user-space global
variables of a particular running process in timer.profile when pid()
returns the expected pid.
Could anyone help me here? Thanks in advance!
Best regards,
-agentzh
More information about the Systemtap
mailing list