avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-gcc-list] [patch, avr-libc] Fix atexit.c


From: Bob Paddock
Subject: Re: [avr-gcc-list] [patch, avr-libc] Fix atexit.c
Date: Wed, 15 Oct 2014 08:38:35 -0400

> 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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]