linux/tools/perf
Jovi Zhang 85e00b5551 perf symbols: Fix multiple initialization of symbol system
By returning immediately if it was already initialized, do it as well at
symbol__exit, refusing multiple deinitializations.

This fixes problems in the kmem, sched and timechart commands.

Reported-by: Davidlohr Bueso <dave@gnu.org>
Cc: Davidlohr Bueso <dave@gnu.org>
Signed-off-by: Jovi Zhang <bookjovi@gmail.com>
LKML-Reference: AANLkTi=9Cn=R8SPMCRp5z+gEjXbaBHeb-AaOtRbuwwcn@mail.gmail.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2010-09-09 17:43:35 -03:00
..
arch
bench
Documentation
scripts
util perf symbols: Fix multiple initialization of symbol system 2010-09-09 17:43:35 -03:00
.gitignore
builtin-annotate.c
builtin-bench.c
builtin-buildid-cache.c
builtin-buildid-list.c
builtin-diff.c
builtin-help.c
builtin-inject.c
builtin-kmem.c
builtin-kvm.c
builtin-list.c
builtin-lock.c
builtin-probe.c
builtin-record.c
builtin-report.c
builtin-sched.c
builtin-stat.c
builtin-test.c
builtin-timechart.c
builtin-top.c
builtin-trace.c
builtin.h
command-list.txt
CREDITS
design.txt
feature-tests.mak perf tools: Fix build error on read only source. 2010-08-18 13:32:37 -03:00
Makefile perf tools: Fix build error on read only source. 2010-08-18 13:32:37 -03:00
MANIFEST
perf-archive.sh
perf.c
perf.h