[PATCH] powerpc: add dmesg command to xmon

Linas Vepstas linas at austin.ibm.com
Wed May 31 02:58:19 EST 2006


On Mon, May 29, 2006 at 07:58:34PM +0200, Olaf Hering wrote:
>  On Sun, May 28, Arnd Bergmann wrote:
> 
> > On Sunday 28 May 2006 14:07, Olaf Hering wrote:
> > > > This whole function looks fishy to me. It seems unnecessarily rude to me to
> > > > use kallsyms_lookup_name in order to get at a static variable from another
> > > > file. Can't you instead add a global function to kernel/printk.c to return
> > > > the buffer?
> > > 
> > > Its possible, but it wont end up in Linus tree.
> > 
> > Hmm, so the idea is that because Linus doesn't like kernel debuggers, we just
> > obfuscate the code for any improvements to xmon and hope he doesn't notice?
> 
> So lets just ask again for support in generic code for a dmesg command in xmon:
> 
> http://lkml.org/lkml/2004/10/28/32

I'd been planning to pester Torvalds/LKML on a regular basis until the
patch (or something else suitable) went in. Clearly, I'd failed to do
this. 

--linas

p.s. Belated apologies for failing to mention KDB; I assumed it would be 
"obvious" to those who know, and that by not mentioning KDB explicitly, 
I thought that the patch would have a better chance of acceptance (which
I expected to be low). Silly me. 



More information about the Linuxppc-dev mailing list