How does jprobes/kprobes work ?

Frank Ch. Eigler fche@redhat.com
Mon Mar 14 21:40:00 GMT 2005


Hi -

On Mon, Mar 14, 2005 at 03:30:15PM -0800, Badari Pulavarty wrote:
> [...]
> I am just wondering how does jprobes provide the arguments
> [...]
> Does the code go thro the trouble of finding out the original
> stack and copy it for arguments ?

I believe that's exactly it.

> In the future as part of your project, how do you plan to
> provide access to arguments & local variables in such
> scenerios ?

I view jprobes as a useful hack for the moment.  In the medium term, I
would like to use the dwarf debugging information gleaned from object
files to access all the state that a source-level debugger can.

- FChE



More information about the Systemtap mailing list