kernel_optimize_test/tools/perf/util
Stephane Eranian 0f940cb7d9 perf trace scripting: Fix extern struct definitions
Both python_scripting_ops and perl_scripting_ops have two global definitions.
One in trace-event-scripting.c and one in their respective scripting-engine
modules.

The issue is that depending on the linker order one definition or the other
is chosen. One is uninitialized (bss), while the other is initialized. If
the uninitialized version is chosen, then perf does not function properly.

This patch fixes this by adding the extern prefix to the definitions in
trace-event-scripting.c.

Cc: David S. Miller <davem@davemloft.net>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Robert Richter <robert.richter@amd.com>
LKML-Reference: <4c97e41a.078fd80a.7a8b.3cc9@mx.google.com>
Signed-off-by: Stephane Eranian <eranian@google.com>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2010-10-04 12:24:51 -03:00
..
include perf: Add back list_head data types 2010-08-12 21:50:00 +02:00
scripting-engines
ui perf ui hist browser: Fix segfault on 'a' for annotate 2010-10-04 12:08:37 -03:00
abspath.c
alias.c
bitmap.c
build-id.c perf tools: Release thread resources on PERF_RECORD_EXIT 2010-07-30 18:28:42 -03:00
build-id.h
cache.h
callchain.c Merge branch 'linus' into perf/core 2010-07-21 21:43:06 +02:00
callchain.h perf: Initialize callchains roots's childen hits 2010-08-27 01:51:36 +02:00
color.c
color.h
config.c
cpumap.c
cpumap.h
ctype.c
debug.c perf ui: Complete the breakdown of util/newt.c 2010-08-10 16:11:38 -03:00
debug.h perf ui: Complete the breakdown of util/newt.c 2010-08-10 16:11:38 -03:00
debugfs.c
debugfs.h
environment.c
event.c perf: expose event__process function 2010-08-04 12:41:23 -03:00
event.h perf: expose event__process function 2010-08-04 12:41:23 -03:00
exec_cmd.c
exec_cmd.h
generate-cmdlist.sh
header.c
header.h
help.c
help.h
hist.c perf annotate: Sort by hottest lines in the TUI 2010-08-10 16:11:42 -03:00
hist.h perf annotate: Sort by hottest lines in the TUI 2010-08-10 16:11:42 -03:00
hweight.c
levenshtein.c
levenshtein.h
map.c perf tools: Don't keep unreferenced maps when unmaps are detected 2010-08-02 19:45:23 -03:00
map.h perf tools: Don't keep unreferenced maps when unmaps are detected 2010-08-02 19:45:23 -03:00
pager.c
parse-events.c
parse-events.h
parse-options.c
parse-options.h
path.c
PERF-VERSION-GEN perf: Version String fix, for fallback if not from git 2010-07-05 10:42:58 +02:00
probe-event.c perf probe: Fix return probe support 2010-09-08 11:47:18 -03:00
probe-event.h perf probe: Rename common fields/functions from kprobe to probe. 2010-07-30 12:01:38 -03:00
probe-finder.c perf probe: Fix handling of arguments names 2010-09-08 11:47:19 -03:00
probe-finder.h perf probe: Rename common fields/functions from kprobe to probe. 2010-07-30 12:01:38 -03:00
pstack.c
pstack.h perf ui: Move hists browser to util/ui/browsers/ 2010-08-10 16:11:08 -03:00
quote.c
quote.h
run-command.c
run-command.h
session.c perf session: Invalidate last_match when removing threads from rb_tree 2010-08-02 19:01:09 -03:00
session.h
sigchain.c
sigchain.h
sort.c perf hists: Fixup addr snprintf width on 32 bit arches 2010-08-05 19:38:01 -03:00
sort.h perf ui: New hists tree widget 2010-07-27 11:24:31 -03:00
strbuf.c
strbuf.h
string.c
strlist.c
strlist.h
svghelper.c
svghelper.h
symbol.c perf symbols: Fix multiple initialization of symbol system 2010-09-09 17:43:35 -03:00
symbol.h perf symbols: Fix multiple initialization of symbol system 2010-09-09 17:43:35 -03:00
thread.c perf tools: Release thread resources on PERF_RECORD_EXIT 2010-07-30 18:28:42 -03:00
thread.h perf tools: Release thread resources on PERF_RECORD_EXIT 2010-07-30 18:28:42 -03:00
trace-event-info.c
trace-event-parse.c
trace-event-read.c
trace-event-scripting.c perf trace scripting: Fix extern struct definitions 2010-10-04 12:24:51 -03:00
trace-event.h
types.h
usage.c
util.c
util.h
values.c
values.h
wrapper.c