lkml.org 
[lkml]   [2000]   [Sep]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Anyone working on multi-threaded core files for 2.4 ?
Date
From
Richard Moore - RAS Project Lead - Linux Technology Centre. 
wrote :-
> If you have ideas/concerns/requirements please make them known.
...
> There are many things we'd like to see
> incorporated, the question is how not to boil the ocean. Here are some of
> the ideas we are thinking about:
>
> Multi-process/multi-thread
> Customisable memory ranges/object types
> Code/Stack/Dynamic allocations
> System Objects:
> File-system
> Memory Management
> Device Management
> Process/Task Management
> (Physical memory ranges)
>
> Multiple (non-fatal) Triggers:
> Trap
> Command
> API
> Automated (via DProbes)

I was aiming at the simplest and in my mind most obvious thing, which
is to have the standard ELF coreer dump handle multiple threads in the
same way as it does on many other systems. The lack of these causes
shrieks of amazement from many of our customers :-(

This is not rocket science, and there are already debuggers (gdb, our
product TotalView, ...) which know how to understand such core dumps
if only the kernel produced them.

Now that the kernel has mechanisms for finding all the threads in a
process, the actual dump writing should be relatively simple. (You
need to write the appropriate register notes for every thread, rather
than just one).

You seem to be aiming for a much more featureful solution (also
applicable to checkpointing ?), I'm simply aiming to catch up with
existing practice on many other operating systems.

-- Jim

James Cownie <jcownie@etnus.com>
Etnus, LLC. +44 117 9071438
http://www.etnus.com


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

\
 
 \ /
  Last update: 2005-03-22 12:38    [W:0.100 / U:3.800 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site