perf tools: Protect accesses the dso rbtrees/lists with a rw lock
authorArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 1 Jun 2015 18:40:01 +0000 (15:40 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 8 Jun 2015 13:31:40 +0000 (10:31 -0300)
commite88078442232f3bbcb4ff1d24b3f9ab3dca472b9
treed755616b5eb4d95607e4d75f36f221b9e7de4972
parent9f2de31542f1ac38a15117f90ee6b8449951d86e
perf tools: Protect accesses the dso rbtrees/lists with a rw lock

To allow concurrent access, next step: refcount struct dso instances, so
that we can ditch unused them when the last map pointing to it goes
away.

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Link: http://lkml.kernel.org/n/tip-yk1k08etpd2aoe3tnrf0oizn@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/dso.c
tools/perf/util/dso.h
tools/perf/util/machine.c
tools/perf/util/vdso.c