MP development needs

Matthew Dillon dillon at apollo.backplane.com
Wed Jul 25 11:18:01 PDT 2007


:Hey,
:
:I just wanted to drop this as a note so that I won't forget about it and maybe some (masochistic) people want to pick up these as a task.
:
:For sensible MP development, we need:
:
:- a core dump format which will reflect lwps
:- a GDB which can handle lwps
:- best a KGDB which works with vkernels/threads
:- a working kernel profiler (pmc, oprofile, at least working gprof, dtrace?)
:
:did I forget something?  as ususal, feedback expected.
:
:cheers
:  simon

    This main issue here is for someone to research how GDB handles
    threading and to then device a kernel API (e.g. via /proc that gdb
    can tie into directly).  The core dump format would be pretty straight
    forward.

    Right now the register state is stored in the core dump via an ELF note
    in the elf_corehdr() and elf_puthdr() procedures.  Basically we would
    want to add an ELF note for each thread that we can then parse back out
    in GDB.

					-Matt
					Matthew Dillon 
					<dillon at backplane.com>





More information about the Kernel mailing list