Re: kgdb: allow static kgdbts boot configuration
From: Ingo Molnar
Date: Mon Apr 21 2008 - 10:06:50 EST
* Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> wrote:
> > +config KGDB_TESTS_ON_BOOT
> > + bool "KGDB: Run tests on boot"
> > + depends on KGDB_TESTS
> > + default n
> > + help
> > + Run the kgdb tests on boot up automatically without the need
> > + to pass in a kernel parameter
> > +
> > +config KGDB_TESTS_BOOT_STRING
> > + string "KGDB: which internal kgdb tests to run"
> > + depends on KGDB_TESTS_ON_BOOT
> > + default "V1F100"
> > + help
> > + This is the command string to send the kgdb test suite on
> > + boot. See the drivers/misc/kgdbts.c for detailed
> > + information about other strings you could use beyond the
> > + default of V1F100.
>
> I dunno. Do we *really* need this feature? I mean, if you want to
> run the tests, you provide the boot parameter and that's it. Adding
> this Kconfig-time stuff on top seems excessive.
yes, i believe we really need this - this is what caught the recent
regression in kgdb. It should all be default-off.
Ingo
--
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/