This is the mail archive of the
systemtap@sources.redhat.com
mailing list for the systemtap project.
Re: How does jprobes/kprobes work ?
- From: "Frank Ch. Eigler" <fche at redhat dot com>
- To: Badari Pulavarty <pbadari at us dot ibm dot com>
- Cc: systemtap at sources dot redhat dot com
- Date: Mon, 14 Mar 2005 18:55:27 -0500
- Subject: Re: How does jprobes/kprobes work ?
- References: <42361E87.70105@us.ibm.com>
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