Bug 14705 - stapdyn needs to set SDT semaphores
Summary: stapdyn needs to set SDT semaphores
Status: RESOLVED FIXED
Alias: None
Product: systemtap
Classification: Unclassified
Component: dyninst (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Josh Stone
URL:
Keywords:
: 15061 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-10-11 19:15 UTC by Josh Stone
Modified: 2013-02-06 18:38 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Josh Stone 2012-10-11 19:15:15 UTC
We need stapdyn to set SDT semaphores for those probes to work correctly.  This is already done as a proof-of-concept in dynsdt with a oneTimeCode to increment the short at that address.  We can do the same in stapdyn, but we do need to change tapsets.cxx to output a *file* offset rather than from the load base.
Comment 1 Josh Stone 2013-01-24 17:20:37 UTC
*** Bug 15061 has been marked as a duplicate of this bug. ***
Comment 2 Josh Stone 2013-02-06 18:38:57 UTC
Commit 909ab234 sets semaphores appropriately.