aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/hist.c
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2014-01-22 11:05:06 -0500
committerArnaldo Carvalho de Melo <acme@redhat.com>2014-02-18 07:34:46 -0500
commite80faac0460f178a5be576b4260897f997109e73 (patch)
treea984496c8f392b4c41979059a1547c6ddd1d25c4 /tools/perf/util/hist.c
parent17f22a3fbc9d81c1d8f9f853dd23d0e5e8f4c994 (diff)
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>
Diffstat (limited to 'tools/perf/util/hist.c')
-rw-r--r--tools/perf/util/hist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/util/hist.c b/tools/perf/util/hist.c
index e4e6249b87d4..6240ca42abf4 100644
--- a/tools/perf/util/hist.c
+++ b/tools/perf/util/hist.c
@@ -369,7 +369,7 @@ static struct hist_entry *add_hist_entry(struct hists *hists,
369 he_stat__add_period(&he->stat, period, weight); 369 he_stat__add_period(&he->stat, period, weight);
370 370
371 /* 371 /*
372 * This mem info was allocated from machine__resolve_mem 372 * This mem info was allocated from sample__resolve_mem
373 * and will not be used anymore. 373 * and will not be used anymore.
374 */ 374 */
375 zfree(&entry->mem_info); 375 zfree(&entry->mem_info);