tools: Comment and correctness fixes in dump_process_memory.

It is not necessary to kill the entire process group to dump it, and it is not
required to ptrace() it. Fix the first one, and document why ptrace() may still
be useful.

Reported by

Bug: 845459
Change-Id: I9f08e7208cfcfdec00bcaf80f83c585f1d4ea195
Reviewed-by: Egor Pasko <>
Commit-Queue: Benoit L <>
Cr-Commit-Position: refs/heads/master@{#672040}
1 file changed