This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: [PATCH 5/5] tracing/ftrace: Introduce the big kernel lock tracer
On Fri, 24 Oct 2008, Frank Ch. Eigler wrote:
> Hi -
>
> On Fri, Oct 24, 2008 at 03:43:49PM +0200, Fr?d?ric Weisbecker wrote:
>
> > > [...] For comparison, this is how this sort of analysis may be
> > > done with systemtap [...]
>
> > That's a great and powerful tool.
> >
> > But just one sorrow:
> > I just think that's a pity that we have to use/learn a new scripting
> > language to use it.
>
> I understand.
>
> > I would rather prefer to use an API that provides functions/objects
> > for most common scripting languages.
>
> That is an interesting idea. One possible problem is that the final
> complete script "program" needs to be translated to something that can
> run quickly and safely inside the kernel. Full python or perl runtime
> + libraries would have been almost certainly unbearable.
Why can't the userspace application convert the script to something easy
that the kernel can handle? But have the user application interface be
very simple, and perhaps even use perl or python.
-- Steve