OSDN Git Service

perf machine: Introduce machine__findnew_dso() method
authorArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 29 May 2015 14:31:12 +0000 (11:31 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 29 May 2015 15:43:44 +0000 (12:43 -0300)
commitaa7cc2ae5ae69aff555793fbfcff514141bb23f3
tree2920c2fb1a8209b5216899cdd1491c53c5fcdd5d
parent3d39ac538629e4f00a6e1c38d46346f1b8e69505
perf machine: Introduce machine__findnew_dso() method

Similar to machine__findnew_thread(), also prepping for refcounting and
locking, this time for struct dso instances.

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-fv3tshv5o1413coh147lszjc@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/tests/hists_common.c
tools/perf/util/dso.c
tools/perf/util/header.c
tools/perf/util/machine.c
tools/perf/util/machine.h
tools/perf/util/map.c