This is the mail archive of the
systemtap@sources.redhat.com
mailing list for the systemtap project.
Help with netlink needed
- From: Martin Hunt <hunt at redhat dot com>
- To: systemtap at sources dot redhat dot com
- Cc: Tom Zanussi <zanussi at us dot ibm dot com>
- Date: Tue, 29 Mar 2005 10:34:04 -0800
- Subject: Help with netlink needed
- Organization: Red Hat Inc.
We really need to start getting the kernel <-> user space data transport
code into the runtime library soon. I have not done any work with this,
so help would be greatly appreciated.
We have several immediate requirements:
1. High-speed transfer of large amounts of collected data. I was
thinking of having 2 large trace buffers, one active and one inactive.
When the active one fills up, it is marked inactive and a task is put on
the work queue to send it. The inactive buffer becomes active and will
be used while the inactive one is written to user-space. A command could
also be provided to flush the active buffer.
2. A separate channel for immediate messages. Used to signal error
conditions, print warnings, etc. Anything that is not normal trace
output.
Any thoughts? Code?
Martin