lkml.org 
[lkml]   [2009]   [Mar]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
FromIngo Oeser <>
SubjectRe: [PATCH 0/5] [RFC] binary reading of ftrace ring buffers
DateWed, 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


\
 
 \ /
  Last update: 2009-03-04 23:49    [from the cache]
©2003-2010