On 16/12/10 15:06, Mark Mitchell wrote:
* Have the compiler expose an API for recording information about the
value of arguments to a function when profiling.  For integer arguments,
this might be the minimum, maximum, and average.  For pointers, NULL vs.
non-NULL.  Etc.

Presumably recording the return value of functions would also be handy, especially in this case?

* Provide a plug-in that allows the user to instrument particular
functions (e.g., strlen) by providing profiling rules:

This is cool, but most users want it to Just Work (tm). Is a plugin a suitable way to implement an on-by-default feature?

Andrew

_______________________________________________
linaro-toolchain mailing list
linaro-toolchain@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/linaro-toolchain

Reply via email to