perf buildid-cache: Use lsdir() for looking up buildid caches
authorMasami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Wed, 11 May 2016 13:52:17 +0000 (22:52 +0900)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 11 May 2016 16:06:08 +0000 (13:06 -0300)
commitd65444d2fba98dcd4fa028ffada39c36a46f0038
tree9f72227d5a3282e19994cf8ee0ad81c4d66abdd7
parentc48903b816e6cdffb09b473352851bf199d0c582
perf buildid-cache: Use lsdir() for looking up buildid caches

Use new lsdir() for looking up buildid caches. This changes logic a bit
to ignore all dot files, since the build-id cache must not start with
dot.

Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Cc: Ananth N Mavinakayanahalli <ananth@linux.vnet.ibm.com>
Cc: Brendan Gregg <brendan.d.gregg@gmail.com>
Cc: Hemant Kumar <hemant@linux.vnet.ibm.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/20160511135217.23943.94596.stgit@devbox
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/build-id.c