Re: LTTng and SystemTAP
Tom Zanussi <[email protected]>
| Newsgroups | gmane.linux.kernel.tracing |
|---|---|
| Message-ID | <[email protected]> |
Mathieu Desnoyers writes: > Hi Tom, > > I cannot find in which email you proposed it, but it would be very interesting > to have SystemTAP outputting its buffers to LTTng. It should be quite > straightforward : > > 1 - Create a new XML facility (systemtap), with an event (log) in it, which > would take a sequence of char or a simple string as parameter. > > 2 - run genevent to create the facility, copy it into the LTTng patched kernel. > > 3 - Adapt Systemtap to use the generated inline function to send its data out > instead of directly using relayfs. > > If anyone has time to try this, it would be very interesting to see the result. > Yeah, I think it would be a useful exercise - I'll give it a shot, but probably won't be able to get to it until the weekend... Tom