kernel 2.4.19 & 2.5.38 - coredump sysctl
Quoted 2 lines · Andrew Morton
True, but it's all more code and I don't believe that it adds much value. It means that people need to run off and find
One useful feature of it would be that you can get core dumps for each thread by including the pid (or tid later with newer threading libraries) Currently threads when core dumping overwrite each others cores so you lose the registers of all but one.
Doing multithreaded coredump correctly is a lot more code than this.
Another useful application of an arbitary path name would be dumping to a named pipe and having a dr.watson that logs the backtrace to the system log (of course this has interesting deadlock possibilities when you're not careful...)
I would find the feature useful.
-Andi
Quoted 10 lines · Andi Kleen
Quoted 2 lines · Andrew Morton
True, but it's all more code and I don't believe that it adds much value. It means that people need to run off and find
One useful feature of it would be that you can get core dumps for each thread by including the pid (or tid later with newer threading libraries) Currently threads when core dumping overwrite each others cores so you lose the registers of all but one.
Oh sure, I agree that it's a useful feature. But I don't agree that we need to allow users to specify how the final filename is pasted together. Just give them host-uid-gid-comm.core. ie: everything.
Quoted 7 lines · Andrew Morton
Quoted 6 lines · Andi Kleen
Quoted 2 lines · Andrew Morton
True, but it's all more code and I don't believe that it adds much value. It means that people need to run off and find
Quoted 8 lines
Quoted 4 lines
One useful feature of it would be that you can get core dumps for each thread by including the pid (or tid later with newer threading libraries) Currently threads when core dumping overwrite each others cores so you lose the registers of all but one.
Oh sure, I agree that it's a useful feature. But I don't agree that we need to allow users to specify how the final filename is pasted together. Just give them host-uid-gid-comm.core. ie: everything.
That wouldn't support the Dr.Watson thing.
-Andi
Andi Kleen <[email protected]> :
Quoted 1 line · Andrew Morton
[...]
Quoted 5 lines
Quoted 3 lines
Oh sure, I agree that it's a useful feature. But I don't agree that we need to allow users to specify how the final filename is pasted together. Just give them host-uid-gid-comm.core. ie: everything.
That wouldn't support the Dr.Watson thing.
Time to upgrade to directory notification enabled Dr.Watson ?
Signature · 1 line
Ueimor