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: "mhiramat at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 17 Oct 2007 21:45:36 -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 mhiramat at redhat dot com 2007-10-17 21:45 -------
Created an attachment (id=2050)
--> (http://sourceware.org/bugzilla/attachment.cgi?id=2050&action=view)
Sharing a buffer amoung several scripts
I updated my patch and wrote a testcase for this feature.
This patch add '-DRELAY_HOST' and '-DRELAY_GUEST' options to systemtap.
With this patch, you can share relay channels among several scripts
and additionally you can specify a name to the channels. Thus, you can
run several host scripts concurrently.
For example:
To run a host scripts which provides interfaces of relay channel:
stap host1.stp -DRELAY_HOST=chan1
stap host2.stp -DRELAY_HOST=chan2
To add guest scripts to both channels:
stap guestA.stp -DRELAY_HOST=chan1
stap guestB.stp -DRELAY_HOST=chan2
Then, you can see the output of guestA.stp is printed on host1.stp's console,
and the output of guestB.stp is printed on host2.stp's console.
--
What |Removed |Added
----------------------------------------------------------------------------
Attachment #1848 is|0 |1
obsolete| |
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.