[PATCH 24/38] perf tools: Protect dso symbol loading using a mutex

2015-03-02 Thread Namhyung Kim
When multi-thread support for perf report is enabled, it's possible to access a dso concurrently. Add a new pthread_mutex to protect it from concurrent dso__load(). Signed-off-by: Namhyung Kim --- tools/perf/util/dso.c| 2 ++ tools/perf/util/dso.h| 1 + tools/perf/util/symbol.c | 34

[PATCH 24/38] perf tools: Protect dso symbol loading using a mutex

2015-03-02 Thread Namhyung Kim
When multi-thread support for perf report is enabled, it's possible to access a dso concurrently. Add a new pthread_mutex to protect it from concurrent dso__load(). Signed-off-by: Namhyung Kim namhy...@kernel.org --- tools/perf/util/dso.c| 2 ++ tools/perf/util/dso.h| 1 +