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]

[Bug dyninst/15053] stapdyn needs -G (setting global variables) support


http://sourceware.org/bugzilla/show_bug.cgi?id=15053

--- Comment #2 from Josh Stone <jistone at redhat dot com> 2013-01-23 00:58:44 UTC ---
(In reply to comment #1)
> It may also be slightly tricky to juggle the static global-initialization,
> which must happen after shared memory init, versus the dynamic -G values, which
> still need to be set before any begin probes.

One possibility for this is to have the initialization in an actual C-global
variable again, and have -G overwrite that early on, much the same as globals
work in kernel mode.  Then when we're initializing the "real" global in shared
memory, we'd pull its starting value from that C-global.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


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