Re: [CHECKER] large stack variables (>=1K) in 2.4.4 and 2.4.4-ac8

dean gaudet (dean-list-linux-kernel@arctic.org)
Fri, 25 May 2001 11:46:38 -0700 (PDT)


On Sat, 26 May 2001, Keith Owens wrote:

> On Fri, 25 May 2001 08:31:24 -0700 (PDT),
> dean gaudet <dean-list-linux-kernel@arctic.org> wrote:
> >another possibility for a debugging mode for the kernel would be to hack
> >gcc to emit something like the following in the prologue of every function
> >(after the frame is allocated):
>
> IKD already does that, via the CONFIG_DEBUG_KSTACK, CONFIG_KSTACK_METER
> and CONFIG_KSTACK_THRESHOLD options. No need to hack gcc.

oh nice! you hook in through gcc -pg mcount stuff.

-dean

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/