[Bug dyninst/15053] stapdyn needs -G (setting global variables) support
jistone at redhat dot com
sourceware-bugzilla@sourceware.org
Wed Jan 23 00:59:00 GMT 2013
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.
More information about the Systemtap
mailing list