[RFC 1/3] Kprobes: userspace probes new interfaces

Frank Ch. Eigler fche@redhat.com
Wed Sep 14 15:18:00 GMT 2005


prasanna wrote:

> [...]
> 	struct uprobe {
> 		char name[50]; 
> [...]

(There must be a more appropriate limit than the literal 50.)


> [...]
> User has to allocate uprobes structure and initialize following 
> elements
> 	name		- contains the path of the application;
> 	offset		- offset of the probe within the page;
> 	kp.addr 	- virtual address within the executable.
> [...]

Why both "offset" and "kp.addr" ?


- FChE



More information about the Systemtap mailing list