![]() | ||||||||||
Messages in this thread |
* 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 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ | |||||||||
| Last update: 2006-09-19 17:47 [from the cache] ©2003-2008 | ||||||||||