perf tools: Handle relative paths while loading module symbols
authorMike Galbraith <efault@gmx.de>
Thu, 24 Sep 2009 08:07:08 +0000 (10:07 +0200)
committerIngo Molnar <mingo@elte.hu>
Thu, 24 Sep 2009 09:40:35 +0000 (11:40 +0200)
commitdd906a0fe8d78b925702cd3916a65f34dfdfc011
tree2f4b5c3505d4ad3b6b92c4e5e30cf16f82e2bd48
parent508c4d0874acf8584787bbab7e4a3798e2834c1a
perf tools: Handle relative paths while loading module symbols

Inform util/module.c::mod_dso__load_module_paths() that relative
paths do exist in some modules.dep, and make it fail noisily should
it encounter a path that it doesn't understand, or a module it
cannot open.

Reported-by: Avi Kivity <avi@redhat.com>
Signed-off-by: Mike Galbraith <efault@gmx.de>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: rostedt@goodmis.org
Cc: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Masami Hiramatsu <mhiramat@redhat.com>
LKML-Reference: <1253779628.10513.8.camel@marge.simson.net>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
tools/perf/util/module.c