Re: [RFC][PATCH 5/9] perf trace: Add Perl scripting support

From: Ingo Molnar
Date: Mon Oct 12 2009 - 02:04:42 EST



* Frederic Weisbecker <fweisbec@xxxxxxxxx> wrote:

> > ad-hoc extensions using separate perf-* scripts are fine of course
> > and i use that myself. But once a facility is part of core perf it
> > wants to move into the binary. Especially something as central as
> > scripting support.
>
> But I think we may want to have some integrated scripts that can play
> the role of subcommands when it comes to process particular trace
> events. Because this is just about reading binary traces and put them
> in a shape that makes sense wrt to the targeted events.

Maybe - and even in those cases we can still embedd those scripts in the
binary itself (i.e. we can add a mechanism to embedd it as a string and
execute it from there). It's not like people are going to edit an
installed script in a bin/ or libexec/ path.

Same goes for any .xml file should we grow a GUI - etc.

Ingo
--
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/