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
..
2009-12-28 10:36:36 +01:00
2010-08-04 12:41:23 -03:00
2010-08-04 12:41:23 -03:00
2009-06-27 06:06:39 +02:00
2010-05-14 20:05:21 -03:00
2010-07-27 11:24:31 -03:00
2010-01-13 10:09:15 +01:00