public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* Accessing user-space global variables in timer.profile?
@ 2013-04-18  0:55 agentzh
  2013-04-22 15:54 ` David Smith
  0 siblings, 1 reply; 23+ messages in thread
From: agentzh @ 2013-04-18  0:55 UTC (permalink / raw)
  To: systemtap

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

^ permalink raw reply	[flat|nested] 23+ messages in thread

end of thread, other threads:[~2013-06-27 23:31 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-04-18  0:55 Accessing user-space global variables in timer.profile? agentzh
2013-04-22 15:54 ` David Smith
2013-04-23  0:39   ` agentzh
2013-04-23  1:23     ` Josh Stone
2013-04-23 19:08       ` agentzh
2013-05-30  4:00       ` agentzh
2013-06-01  7:46         ` agentzh
2013-06-03 23:19           ` Josh Stone
2013-06-07 23:23             ` agentzh
2013-06-03 22:41         ` Josh Stone
2013-06-03 23:21           ` Josh Stone
2013-06-07 23:20             ` agentzh
2013-06-15  2:18             ` [PATCH] PR11096: Add support for the "module" argument to @var Yichun Zhang (agentzh)
2013-06-18  1:06               ` Josh Stone
2013-06-24  7:52                 ` [PATCH v2 0/1] " Yichun Zhang (agentzh)
2013-06-24  7:53                   ` [PATCH v2 1/1] " Yichun Zhang (agentzh)
2013-06-25  1:16                     ` Josh Stone
2013-06-26  5:42                       ` [PATCH v3 0/1] " Yichun Zhang (agentzh)
2013-06-26  5:43                         ` [PATCH v3 1/1] " Yichun Zhang (agentzh)
2013-06-26 22:40                           ` Josh Stone
2013-06-27 19:35                             ` Yichun Zhang (agentzh)
2013-06-27 23:31                               ` Yichun Zhang (agentzh)
2013-06-03 23:52           ` Accessing user-space global variables in timer.profile? Josh Stone

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).