diff options
author | Jovi Zhang <bookjovi@gmail.com> | 2010-09-09 13:30:59 -0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2010-09-09 17:43:35 -0300 |
commit | 85e00b55517a5696282b80836655e6b6f5702df0 (patch) | |
tree | ce9e06bed532b0cd473266ccbf86d2f7dd22ee86 /security | |
parent | da34634fd39958725310d2c30c9b4543945f968b (diff) | |
download | linux-85e00b55517a5696282b80836655e6b6f5702df0.tar.gz linux-85e00b55517a5696282b80836655e6b6f5702df0.tar.bz2 linux-85e00b55517a5696282b80836655e6b6f5702df0.zip |
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>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions