Re: [PATCH 5/5] tracing/ftrace: Introduce the big kernel locktracer

From: Steven Rostedt
Date: Fri Oct 24 2008 - 10:47:53 EST



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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/