pcp
[Top] [All Lists]

Re: proc.psinfo.wchan_s broken?

To: Nathan Scott <nscott@xxxxxxxxxx>
Subject: Re: proc.psinfo.wchan_s broken?
From: Michael Newton <kimbrr@xxxxxxx>
Date: Thu, 4 Sep 2008 11:29:37 +1000
Cc: "Siekas, Greg" <greg.siekas@xxxxxxxxxx>, pcp@xxxxxxxxxxx
In-reply-to: <1220490563.4544.14.camel@verge.scott.net.au>
References: <258BABDDC780384FBF0FF15CCFDFABE10673E89D@XCH-NW-7V2.nw.nos.boeing.com> <1220490563.4544.14.camel@verge.scott.net.au>
Sender: pcp-bounce@xxxxxxxxxxx
On Thu, 4 Sep 2008, Nathan Scott wrote:
> On Wed, 2008-09-03 at 08:51 -0700, Siekas, Greg wrote:
> > I've noticed that for some reason proc.psinfo.wchan_s is broken?  This
> > used to decode the wait channel name.
> > ...
> > The namelist is readable?  Any other suggestions for things to look at?
>
> It looks like the code has atrophied.  Modern Linux kernels don't have
> the /proc/ksyms file its looking for ... so it never moves on to the
> stage where it looks at the System.map files.  Lemme go take a closer
> look, see if this is straightforward to fix or not.  It may be simpler
> now, as we have /proc/kallsyms which looks like its got everything we
> need here.

that may be.. nevertheless neither the System.map nor /proc/kallsyms
contain the addresses coming out of /proc/<pid>/stat, nor entries
for the symbols as reported by ps -l. How is ps -l doing it?

Dr.Michael("Kimba")Newton  kimbrr@xxxxxxx

<Prev in Thread] Current Thread [Next in Thread>