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: [PATCH] Linux Kernel Markers


* Vara Prasad (prasadav@us.ibm.com) wrote:
> It is an interesting idea but there appears to be following hard issues 
> (some of which you have already listed) i am not able to see how we can 
> overcome them
> 
> 1) We are going to have a duplicate of the whole function which means 
> any significant changes in the original function needs to be done on the 
> copy as well, you think maintainers would like this double work idea.
> 
Not with my marker proposal. There is only need to compile it with different
flags.

> 2) Inline functions is often the place where we need a fast path to 
> overcome the current kprobes overhead.
> 
> 3) As you said it is not trivial across all the platforms to do a switch 
> to the instrumented function from the original during the execution.  
> This problem is similar to the issue we are dealing with djprobes.
> 

I would really like to know how good djprobes is at instrumenting the
prologue of a function.

Mathieu

OpenPGP public key:              http://krystal.dyndns.org:8080/key/compudj.gpg
Key fingerprint:     8CD5 52C3 8E3C 4140 715F  BA06 3F25 A8FE 3BAE 9A68 


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