mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
Complain if we can't find /lib/modules/uname -r/build/Makefile.
Tue Aug 30 16:57:33 2005 Søren Sandmann <sandmann@redhat.com> * configure.ac: Complain if we can't find /lib/modules/`uname -r`/build/Makefile. * process.c (process_lookup_symbol): Take an address of 0x1 to mean "in kernel". * module/sysprof-module.c (timer_notify): When reporting in-kernel time, give the current pid instead of -1. * TODO: updates
This commit is contained in:
committed by
Søren Sandmann Pedersen
parent
509d5f07ed
commit
ee53bcffd4
18
configure.ac
18
configure.ac
@ -77,12 +77,18 @@ KMINOR=`uname -r | cut -d"." -f 2`
|
||||
KMICRO=`uname -r | cut -d"." -f 3 | cut -d"-" -f 1`
|
||||
|
||||
if [[ $KMICRO -lt 11 ]] ; then
|
||||
if [[ $KMICRO -gt 8 ]]; then
|
||||
echo
|
||||
echo Linux \>= 2.6.11 is required
|
||||
echo
|
||||
exit 1
|
||||
fi
|
||||
echo *
|
||||
echo * Linux \>= 2.6.11 is required
|
||||
echo *
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [ ! test -f /lib/modules/`uname -r`/build/Makefile ] ; then
|
||||
echo \*
|
||||
echo \* Sysprof requires the kernel source code to be installed.
|
||||
echo \* On a Fedora Core system the relevant package is kernel-devel
|
||||
echo \*
|
||||
exit 1
|
||||
fi
|
||||
|
||||
AC_OUTPUT
|
||||
|
||||
Reference in New Issue
Block a user