]> git.baikalelectronics.ru Git - kernel.git/commit
perf trace/scripting: Ignore shadowed variable warning for perf-trace-perl.c
authorTom Zanussi <tzanussi@gmail.com>
Mon, 30 Nov 2009 07:18:47 +0000 (01:18 -0600)
committerIngo Molnar <mingo@elte.hu>
Mon, 30 Nov 2009 08:04:00 +0000 (09:04 +0100)
commite298f1b8a9990a582f3be9a2f61613d0339fc804
treef5c210c79ae892fa68b7144f0f17f1ca4cd52e18
parent9a4590ea136a495d33038ae21c034e54cbfd2152
perf trace/scripting: Ignore shadowed variable warning for perf-trace-perl.c

The debugging versions of the ENTER and LEAVE internal perl
macros, used when embedding perl, define a local block with a
my_perl perl variable that shadows a global variable of the same
name, which is also the name expected by the embedding API for
the embedded interpreter.

Since we don't have control over the code generated in this case
(it's an externality) and can't get rid of the warning, ignore it.

Signed-off-by: Tom Zanussi <tzanussi@gmail.com>
Cc: fweisbec@gmail.com
Cc: rostedt@goodmis.org
Cc: anton@samba.org
Cc: hch@infradead.org
LKML-Reference: <1259565529-6407-3-git-send-email-tzanussi@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
tools/perf/Makefile