android_kernel_xiaomi_sm8350/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 Merge branch 'perf-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip 2010-08-06 09:30:52 -07:00
bench
Documentation perf man pages: Fix cut'n'paste error 2010-07-28 11:30:10 -03:00
scripts perf, sched migration: Librarize task states and event headers helpers 2010-08-02 01:32:00 +02:00
util perf symbols: Fix multiple initialization of symbol system 2010-09-09 17:43:35 -03:00
.gitignore perf tools: .gitignore += config.make config.make.autogen 2010-06-17 10:24:31 -03:00
builtin-annotate.c perf annotate: Sort by hottest lines in the TUI 2010-08-10 16:11:42 -03:00
builtin-bench.c
builtin-buildid-cache.c
builtin-buildid-list.c perf tools: Remove unneeded code for tracking the cwd in perf sessions 2010-07-27 11:46:12 -03:00
builtin-diff.c perf tools: Remove unneeded code for tracking the cwd in perf sessions 2010-07-27 11:46:12 -03:00
builtin-help.c
builtin-inject.c
builtin-kmem.c
builtin-kvm.c
builtin-list.c
builtin-lock.c
builtin-probe.c perf probe: Rename common fields/functions from kprobe to probe. 2010-07-30 12:01:38 -03:00
builtin-record.c perf tools: Release session and symbol resources on exit 2010-07-30 18:31:28 -03:00
builtin-report.c perf report: Speed up exit path 2010-08-05 19:46:47 -03:00
builtin-sched.c
builtin-stat.c
builtin-test.c
builtin-timechart.c perf timechart: Adjust confusing if indentation 2010-08-05 19:38:02 -03:00
builtin-top.c perf: expose event__process function 2010-08-04 12:41:23 -03:00
builtin-trace.c perf trace: Clean up #includes 2010-08-05 19:38:02 -03:00
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