perf thread: Rename perf_event__preprocess_sample_addr to thread__resolve
authorArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 22 Mar 2016 21:44:46 +0000 (18:44 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 23 Mar 2016 15:03:08 +0000 (12:03 -0300)
commitc2740a87ca989ca42b0c078e021654e247a08311
treec10d8068a3e77e974b0e30e162ebd07015f7131a
parentbb3eb56622d1b5932a7708d0af5f3b00f12817b6
perf thread: Rename perf_event__preprocess_sample_addr to thread__resolve

Since none of the perf_event fields are used anymore, just the
perf_sample ones, and since this resolves to (map, symbol) from data
structures within struct thread, rename it to thread__resolve and make
the argument ordering similar to the one in machine__resolve().

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Hemant Kumar <hemant@linux.vnet.ibm.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>
Cc: Ravi Bangoria <ravi.bangoria@linux.vnet.ibm.com>
Cc: Wang Nan <wangnan0@huawei.com>
Link: http://lkml.kernel.org/n/tip-2b33hs9bp550tezzlhl4kejh@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-script.c
tools/perf/util/db-export.c
tools/perf/util/event.c
tools/perf/util/event.h