perf buildid-cache: Remove unneeded debugdir parameters
authorMasami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Tue, 10 Feb 2015 09:18:51 +0000 (18:18 +0900)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 11 Feb 2015 15:37:33 +0000 (12:37 -0300)
commite35f7362bab455fb5c13ea4ce53f959f3e1610b2
tree1bef65bc16497d231c71493108c2f6a4907fc310
parent4e31050f482c02c822b150d71cf1ea5be7c9d6e4
perf buildid-cache: Remove unneeded debugdir parameters

Functions related to buildid-cache subcommand use debugdir parameters
for passing buildid cache directory path. However all callers just pass
buildid_dir global variable. Moreover, other functions which refer
buildid cache use buildid_dir directly.

This removes unneeded debugdir parameters from those functions and use
buildid_dir if needed.

Signed-off-by: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Acked-by: Namhyung Kim <namhyung@kernel.org>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Borislav Petkov <bp@suse.de>
Cc: Hemant Kumar <hemant@linux.vnet.ibm.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/20150210091851.19264.72741.stgit@localhost.localdomain
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-buildid-cache.c
tools/perf/util/build-id.c
tools/perf/util/build-id.h