Re: [PATCH 6/7] proc: Introduce the /proc/<pid>/dump file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 07/21/2011 10:44 AM, Tejun Heo wrote:
> Hello,
> 
> On Fri, Jul 15, 2011 at 05:47:44PM +0400, Pavel Emelyanov wrote:
>> An image read from file contains task's registers and information
>> about its VM. Later this image can be execve-ed causing recreation
>> of the previously read task state.
>>
>> The file format is my own, very simple. Introduced to make the code
>> as simple as possible. Better file format (if any) is to be discussed.
> 
> First of all, I don't really think we need to bake in process dumper
> into the kernel.

Neither do I :) I just didn't have better candidate in mind and wanted
to discuss this part (see below).

> Most of information dumped here is already available
> through /proc and ptrace and we can add the missing pieces like the
> suggested proc vma fds.

Let's start with the simplest things. Can you suggest the best (from you pov)
way for dumping all the registers, tls and the anonymous pages through the 
existing interfaces?

Thanks,
Pavel
_______________________________________________
Containers mailing list
Containers@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linux-foundation.org/mailman/listinfo/containers


[Index of Archives]     [Cgroups]     [Netdev]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux