This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]