Skip to contentSkip to conversation

kerneltop ver. 0.7

announce/OT Albert Cahalan 1 participant 1 message May 25, 2004

lore
Share & tools
lore
#0 lore raw
Quoted 4 lines · Cef

Might want to add support for /boot/System.map containing the version number (eg: /boot/System.map-uname -r ), if /boot/System.map doesn't exist, before just dropping out with an error.

Please search for this data in a procps-like order:

$PS_SYSMAP
$PS_SYSTEM_MAP
** see note **
/boot/System.map-uname -r
/boot/System.map
/lib/modules/uname -r/System.map
/usr/src/linux/System.map
/System.map

Where I mark "see note" would be a good place to try /proc/kallsyms or similar. Also, you should give up if the user gave a bad environment variable rather than using some undesired data source.