perf tools: Use kmod_path__parse in map_groups__set_modules_path_dir
authorJiri Olsa <jolsa@kernel.org>
Thu, 12 Feb 2015 21:20:01 +0000 (22:20 +0100)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 23 Mar 2015 14:43:25 +0000 (11:43 -0300)
commitbb58a8a459c322196613ad4af8801de41469cebb
tree03f17d60b1d7e5d2f42883388ba2655acb1c5bc5
parent963a70b8a2d65538f7d58b2b84a2ae10a3ecb6ea
perf tools: Use kmod_path__parse in map_groups__set_modules_path_dir

Replacing the file name parsing with kmod_path__parse
and moving the dso update into new separate function.

Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Acked-by: Namhyung Kim <namhyung@kernel.org>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/n/tip-q0ed76ajcyoaofotntrg5sla@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/machine.c