> Some time ago I thought about adding a new function attribute to avr-gcc
> that injects code at prologue / epilogue.

>That way an application could
> instrument particular functions with particular code.

> - instrumenting individual functions with specific for home-made profiling /
> performance measurement

In the end hopefully there is a way to get such profiling to work with gprof?

http://www.gnu.org/software/binutils/

I realize some type of custom I/O would be needed.

> - writing ISRs that need to manipulate stack,

Could use it to implement some safety checks as well; overflow checks,
should we really be in this function now etc.

_______________________________________________
AVR-GCC-list mailing list
AVR-GCC-list@nongnu.org
https://lists.nongnu.org/mailman/listinfo/avr-gcc-list

Reply via email to