Re: ext4 deep stack with mark_page_dirty reclaim

From: David Sterba
Date: Wed Mar 23 2011 - 10:03:25 EST


On Tue, Mar 15, 2011 at 12:26:43PM -0400, Chris Mason wrote:
> Also, the ftrace stack usage tracer gives more verbose output that
> includes the size of each function.

Yet another one on the list is the -fstack-size option in new gcc 4.6 [*].
It creates a file with .su extension containing lines in format
file:line:char:function_name stack_size linkage_type

eg.

a.c:168:5:main 224 static


dave

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