Re: 2.6.17-mm5

From: Andrew Morton
Date: Sun Jul 02 2006 - 07:12:52 EST


On Sun, 02 Jul 2006 11:40:26 +0100
Andy Whitcroft <apw@xxxxxxxxxxxx> wrote:

> > Well there are only a handful of divides in find_busiest_group(). Wanna
> > have a poke around in gdb and work out which one you're hitting?
>
> Sure I'll see what information I can get on this one.

Easy way:

Set CONFIG_DEBUG_INFO, do:

make kernel/sched.o
gdb kernel/sched.o
(gdb) p find_busiest_group
$1 = {struct sched_group *(struct sched_domain *, int, long unsigned int *,
enum idle_type, int *)} 0xff0 <find_busiest_group>
(gdb) l *(0xff0 + 0x1a3)

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