[prev in list] [next in list] [prev in thread] [next in thread] 

List:       uclinux-dev
Subject:    Re: [uClinux-dev] detecting stack overflow
From:       Jun Sun <jsun () junsun ! net>
Date:       2009-04-03 4:08:23
Message-ID: 20090403040823.GB27230 () srv ! junsun ! net
[Download RAW message or body]

On Tue, Mar 31, 2009 at 09:12:24PM +0200, Daniel Glöckner wrote:
> On Tue, Mar 31, 2009 at 03:08:28PM +0200, Erwin Authried wrote:
> > this is very interesting, I didn't know that this exists!
> > How can you get a list of processes with their stack usage?
> 

Indeed, it is for kernel thread stack measurement.  Not very useful.

> As far as I know this tracks the size of the (per-application) kernel stack.
> It won't help you tune your applications.
> 
> In my opinion instrumentation with GCC's -fstack-limit-* parameter is
> the most promising solution. Unfortunately it is supported only on few
> architectures.

Does anybody know or have a link to what arches are supported?

In any case the kernel patch mentioned by Martin Voss should work.

Cheers.

Jun
_______________________________________________
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic