LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* Kernel debugging method
@ 2011-02-13 10:26 Amirali Shambayati
  2011-02-14  6:14 ` Mike Galbraith
  0 siblings, 1 reply; 3+ messages in thread
From: Amirali Shambayati @ 2011-02-13 10:26 UTC (permalink / raw)
  To: linux-kernel

Hello all,

Can anybody show me a method for kernel debugging? I just want to
modify one file(Noop IO scheduler).

Thanks experts ;)


-- 
Amirali Shambayati
Bachelor Student
Computer Engineering Department
Sharif University of Technology
Tehran, Iran

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Kernel debugging method
  2011-02-13 10:26 Kernel debugging method Amirali Shambayati
@ 2011-02-14  6:14 ` Mike Galbraith
  2011-02-15 12:03   ` Peter Zijlstra
  0 siblings, 1 reply; 3+ messages in thread
From: Mike Galbraith @ 2011-02-14  6:14 UTC (permalink / raw)
  To: Amirali Shambayati; +Cc: linux-kernel

On Sun, 2011-02-13 at 13:56 +0330, Amirali Shambayati wrote:
> Hello all,
> 
> Can anybody show me a method for kernel debugging? I just want to
> modify one file(Noop IO scheduler).

I recommend the most powerful, and easiest to use, kernel debugger known
to man: printk :)

	-Mike


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Kernel debugging method
  2011-02-14  6:14 ` Mike Galbraith
@ 2011-02-15 12:03   ` Peter Zijlstra
  0 siblings, 0 replies; 3+ messages in thread
From: Peter Zijlstra @ 2011-02-15 12:03 UTC (permalink / raw)
  To: Mike Galbraith; +Cc: Amirali Shambayati, linux-kernel, Thomas Gleixner

On Mon, 2011-02-14 at 07:14 +0100, Mike Galbraith wrote:
> On Sun, 2011-02-13 at 13:56 +0330, Amirali Shambayati wrote:
> > Hello all,
> > 
> > Can anybody show me a method for kernel debugging? I just want to
> > modify one file(Noop IO scheduler).
> 
> I recommend the most powerful, and easiest to use, kernel debugger known
> to man: printk :)

You've forgotten the most fundamental one, your brain! Use it, it might
surprise you ;-)

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-02-15 12:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-13 10:26 Kernel debugging method Amirali Shambayati
2011-02-14  6:14 ` Mike Galbraith
2011-02-15 12:03   ` Peter Zijlstra

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).