lkml.org 
[lkml]   [2004]   [May]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [announce/OT] kerneltop ver. 0.7
From
Date
Cef writes:

> 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.


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:03    [W:0.020 / U:0.644 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site