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 runtime/3858] option to share trace buffers between probe modules


------- Additional Comments From mhiramat at redhat dot com  2007-10-22 19:48 -------
(In reply to comment #19)
> > Output from begin and end probes might be mixed up with other outputs.
> 
> If this is really the worst thing that can happen, and it takes an unusual set of
> scripts to trigger it, it may not be worth fixing.  If on the other hand, the
> runtime might corrupt its data structure due to this sort of reentrancy, then yes,
> it needs to be fixed.

I examined that point more closely, and I found there could be several cases
that runtime could corrupt its data structure if it was interrupted.
Since the operations of relay channels(especially, relay_reserve) are not
atomic, we have to prohibit other interruptions while using relay channel.

I'm working on a patch which fixes this problem.


-- 


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

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


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