Messages in this thread |  | | | From | Ingo Oeser <> | | Subject | Re: [PATCH 0/5] [RFC] binary reading of ftrace ring buffers | | Date | Wed, 4 Mar 2009 23:47:14 +0100 |
| |
Hi Steven,
On Wednesday 04 March 2009, Steven Rostedt wrote: > On Wed, 4 Mar 2009, Ingo Molnar wrote: > > Any chance of merging them into a single perl script? I.e. the > > perl script would embedd the .c code and build it on every > > invocation (into /tmp), so that one can do single-tool tracing > > with no immediate binary components. Such self-sufficiency is > > very handy when probing systems in a minimally invasive way. > > > > And we could also have twice the ugliness for the same price. > > > > Gag, that would really be ugly code ;-)
If you want really ugly code, you could do the SYS_splice in perl via syscall. Just look it up via "perldoc -f syscall" and play around :-)
Best Regards
Ingo Oeser
|  |