This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug runtime/3858] option to share trace buffers between probe modules
- From: "fche at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 17 Oct 2007 23:02:47 -0000
- Subject: [Bug runtime/3858] option to share trace buffers between probe modules
- References: <20070111113517.3858.masami.hiramatsu.pt@hitachi.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From fche at redhat dot com 2007-10-17 23:02 -------
Interesting solution (using module-exported functions from the host module)!
Martin, if you have no objection, let's go ahead.
One additional consideration for testing/checking: this now makes it theoretically
possible for distinct probes to call into one particular probe module's runtime
at the same time. Even though this is limited to the I/O functions, can you
cover whether any additional mutual exclusion may be necessary? Even on per-cpu
buffers, we have situations where probes don't run atomically any more ("begin"
probes that don't block interrupts, only preemption). So if the host does a
probe begin { while(i++<1000) { log ("lots of stuff") } }
at the same time the guest does
probe timer.profile { log ("some stuff") }
then could we have a problem?
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |hunt at redhat dot com
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.