OSDN Git Service

perf tools: Shorten sample symbol resolving function signature
authorArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 22 Jan 2014 16:05:06 +0000 (13:05 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 18 Feb 2014 12:34:46 +0000 (09:34 -0300)
commite80faac0460f178a5be576b4260897f997109e73
treea984496c8f392b4c41979059a1547c6ddd1d25c4
parent17f22a3fbc9d81c1d8f9f853dd23d0e5e8f4c994
perf tools: Shorten sample symbol resolving function signature

Since three of the parameters come from the same 'struct addr_location',
rename machine__resolve_mem() to sample__resolve_mem() and pass the
that addr_location instead.

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/n/tip-3f5otpssefh9l5hi1t259h8n@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-report.c
tools/perf/util/hist.c
tools/perf/util/machine.c
tools/perf/util/machine.h