Re: [RFC][PATCH 0/7] perf trace: general-purpose scripting support,v2

From: Ingo Molnar
Date: Sat Nov 28 2009 - 06:40:24 EST



* Tom Zanussi <tzanussi@xxxxxxxxx> wrote:

> Hi,
>
> Here's a belated update to v1 of the trace stream scripting support
> patches I posted last month; I had meant to get this out sooner but
> got too busy with other things...

Excellent progress!

I wanted to try it so i took the patches and applied them with some
conflicts (they interacted with some other recent changes in perf), but
the Perl engine wouldnt build on Fedora 11 - see the errors attached
below.

I've pushed the merge out to this temporary branch:

git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip.git tmp.perf/scripting

Mind having a look at it?

Thanks,

Ingo

CC util/trace-event-perl.o
cc1: warnings being treated as errors
util/trace-event-perl.c: In function 'define_symbolic_value':
util/trace-event-perl.c:70: error: declaration of 'my_perl' shadows a global declaration
util/trace-event-perl.c:48: error: shadowed declaration is here
util/trace-event-perl.c:85: error: declaration of 'my_perl' shadows a global declaration
util/trace-event-perl.c:48: error: shadowed declaration is here
util/trace-event-perl.c: In function 'define_symbolic_field':
util/trace-event-perl.c:102: error: declaration of 'my_perl' shadows a global declaration
util/trace-event-perl.c:48: error: shadowed declaration is here
util/trace-event-perl.c:115: error: declaration of 'my_perl' shadows a global declaration
util/trace-event-perl.c:48: error: shadowed declaration is here
util/trace-event-perl.c: In function 'define_flag_value':
util/trace-event-perl.c:128: error: declaration of 'my_perl' shadows a global declaration
util/trace-event-perl.c:48: error: shadowed declaration is here
util/trace-event-perl.c:143: error: declaration of 'my_perl' shadows a global declaration
util/trace-event-perl.c:48: error: shadowed declaration is here
util/trace-event-perl.c: In function 'define_flag_field':
util/trace-event-perl.c:161: error: declaration of 'my_perl' shadows a global declaration
util/trace-event-perl.c:48: error: shadowed declaration is here
util/trace-event-perl.c:175: error: declaration of 'my_perl' shadows a global declaration
util/trace-event-perl.c:48: error: shadowed declaration is here
util/trace-event-perl.c: In function 'perl_process_event':
util/trace-event-perl.c:301: error: declaration of 'my_perl' shadows a global declaration
util/trace-event-perl.c:48: error: shadowed declaration is here
util/trace-event-perl.c:350: error: declaration of 'my_perl' shadows a global declaration
util/trace-event-perl.c:48: error: shadowed declaration is here
make: *** [util/trace-event-perl.o] Error 1
--
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/