Hooking into systemtaps relay chanell
Martin Hunt
hunt@redhat.com
Thu May 3 02:45:00 GMT 2007
On Wed, 2007-05-02 at 16:00 -0700, David Wilder wrote:
> Is there anyway for a probe handler to be passed pointer to the relay
> channel that systemtap is using to pass its data?
>
> I have a bit of code that is written as part of a tap set, but is not
> run as part of a probe. I would like that code to write data into
> systemtap's relay channel. So, I need to find the address of the
> channel at run time. Is this possible?
Will _stp_reserve_bytes() do what you need?
I am still tweaking our use of relayfs a bit. Writing directly to a
relayfs channel bypassing the runtime IO functions will likely not work
well or might break in the near future. If you can explain more what
you are trying to do I am sure we can work out a solution.
Martin
More information about the Systemtap
mailing list