perf buildid-cache: Consolidate .build-id cache path generators
authorMasami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Tue, 10 Feb 2015 09:18:53 +0000 (18:18 +0900)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 11 Feb 2015 15:37:33 +0000 (12:37 -0300)
commit5cb113fd84f72b6e08c1970d612fd61327781d4e
treefdf34e564b7859c7e5e3f6ca82bbd409c474f624
parente35f7362bab455fb5c13ea4ce53f959f3e1610b2
perf buildid-cache: Consolidate .build-id cache path generators

Consolidate .build-id cache path generating routines to
build_id__filename() function. Other functions must use it to get the
buildid cache path (link path) from build-id.  This can reduce the risk
of partial-update.

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/20150210091853.19264.58513.stgit@localhost.localdomain
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/build-id.c
This page took 0.025383 seconds and 5 git commands to generate.