]> git.karo-electronics.de Git - linux-beck.git/commit
perf tools: Fix session init on non-modular kernels
authorIngo Molnar <mingo@elte.hu>
Thu, 4 Feb 2010 09:22:01 +0000 (10:22 +0100)
committerIngo Molnar <mingo@elte.hu>
Thu, 4 Feb 2010 09:22:01 +0000 (10:22 +0100)
commit2161db969313cb94ffd9377a525fb75c3fee9eeb
tree2e658bea3d7d2a082dd50e7984cf8c2bc95fbc9a
parentf887f3019e56389a73617f4e70f512e82cc89adb
perf tools: Fix session init on non-modular kernels

perf top and perf record refuses to initialize on non-modular kernels:
refuse to initialize:

 $ perf top -v
  map_groups__set_modules_path_dir: cannot open /lib/modules/2.6.33-rc6-tip-00586-g398dde3-dirty/

Cc: 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: <1265223128-11786-1-git-send-email-acme@infradead.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
tools/perf/util/symbol.c