Results 1 to 4 of 4
Hi guys
DProbes debugger
Ho can I debug kernel using it
Has anybody experience debugging kernel using DProbes
Here I have found some info
http://dprobes.sourceforge.net/documentation/
But it is not completely ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 09-13-2005 #1Just Joined!
- Join Date
- Sep 2005
- Posts
- 20
DProbes debugger
Hi guys
DProbes debugger
Ho can I debug kernel using it
Has anybody experience debugging kernel using DProbes
Here I have found some info
http://dprobes.sourceforge.net/documentation/
But it is not completely clear for me
Anybody can help
Any help will be appreciated
Thanks in advance
- 09-14-2005 #2Linux User
- Join Date
- Oct 2004
- Location
- /dev/random
- Posts
- 404
The dprobles.lang man page gives detailed info on how to write the probes in RPN and how to apply them.
http://dprobes.sourceforge.net/docum...LES%20OF%20RPN
It's quite informative - especially the section "Complete examples of RPN".
The Unforgiven
Registered Linux User #358564
- 09-17-2005 #3Just Joined!
- Join Date
- Sep 2005
- Posts
- 20
May be for Linux guru it is informative enough
But for Linux newbie it is not
How the kernel should be configured?
Does it require knowledge of assembly language?
Where to put those scripts???
How those scripts can be connected to modules written by me ???
No step by step tutorial????
If any body have experience, please share???
Thanks in advance
- 09-19-2005 #4Linux User
- Join Date
- Oct 2004
- Location
- /dev/random
- Posts
- 404
AFAIK, nothing special is required. However, a little experience with assembly would be an added advantage, but I don't think it's a necessity.How the kernel should be configured?
Does it require knowledge of assembly language?
I think you can run them from anywhere...Where to put those scripts???
If you read carefully, the doc gives you complete instructions as to how it is to be done. There is an example on the same page that details how various probes for a kernel module are laid out - it uses the 3c59x Ethernet module as an example. The script has the full path to the module binary (.o), so I guess, you can do the same for the modules that you write.How those scripts can be connected to modules written by me ???
The doc also shows how to compile and apply the probes - after the first 6 examples.
Mind you, I've not tried dprobes myself and I myself am a kernel newbie, but I plan to try it out when I get some free time.The Unforgiven
Registered Linux User #358564


Reply With Quote
