Find the answer to your Linux question:
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.
  1. #1
    Just 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

  2. #2
    Linux 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

  3. #3
    Just 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

  4. #4
    Linux User
    Join Date
    Oct 2004
    Location
    /dev/random
    Posts
    404
    How the kernel should be configured?
    Does it require knowledge of assembly language?
    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.

    Where to put those scripts???
    I think you can run them from anywhere...

    How those scripts can be connected to modules written by me ???
    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.

    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •