mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-02-10 23:20:54 +00:00
+2005-11-03 Soren Sandmann <sandmann@redhat.com>
+ + * configure.ac: Make the message about the kernel source package + more informative. Code from Kjetil Torgrim Homme. + + * sysprof.c (on_start_toggled): Only delete the data if the + profiling can actually be started. +
This commit is contained in:
@ -69,9 +69,13 @@ if test $kernel_module = "yes"; then
|
||||
fi
|
||||
|
||||
if [ ! test -f /lib/modules/`uname -r`/build/Makefile ] ; then
|
||||
case `uname -r` in
|
||||
*smp) pkg=kernel-smp-devel ;;
|
||||
*) pkg=kernel-devel ;;
|
||||
esac
|
||||
echo \*
|
||||
echo \* Sysprof requires the kernel source code to be installed.
|
||||
echo \* On a Fedora Core system the relevant package is kernel-devel
|
||||
echo \* On a Fedora Core system the relevant package is $pkg
|
||||
echo \*
|
||||
exit 1
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user