perf symbols: Factor out dso__load_vmlinux_path()
authorArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 27 Jan 2010 23:05:50 +0000 (21:05 -0200)
committerIngo Molnar <mingo@elte.hu>
Fri, 29 Jan 2010 08:20:57 +0000 (09:20 +0100)
commita19afe46412452fef89cc623873a8931b3685944
treef763293c14d5c3b50c0a8de2fe1b48e17dd3c925
parent72b8fa1730207274f6818b47b891ce5dff79287e
perf symbols: Factor out dso__load_vmlinux_path()

So that we can call it directly from regression tests, and also
to reduce the size of dso__load_kernel_sym(), making it more
clear.

Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Frédéric Weisbecker <fweisbec@gmail.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Paul Mackerras <paulus@samba.org>
LKML-Reference: <1264633557-17597-2-git-send-email-acme@infradead.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
tools/perf/util/symbol.c
tools/perf/util/symbol.h