Hi!

On Mon, Jan 09, 2017 at 02:01:04PM +0100, Baptiste Clenet wrote:
> In order to optimize the statcksize of a thread, I would like to know
> when the thread uses the maximum of its stack (maximum can be 3/4 of
> the stack for instance)
> How can I find this "time"?

Sounds like a case for -finstrument-functions (man gcc).

Cheers,
Oleg
-- 
die_if_kernel("Kernel gets FloatingPenguinUnit disabled trap", regs);
        linux-2.2.16/arch/sparc/kernel/traps.c

Attachment: signature.asc
Description: PGP signature

_______________________________________________
devel mailing list
devel@riot-os.org
https://lists.riot-os.org/mailman/listinfo/devel

Reply via email to