crash-reporter: Change layout for the container directory of procfs files.

This CL modifies UserCollector to copy procfs files of a crashed process
into /tmp/crash_reporter/<pid> instead of /tmp/crash_reporter.<pid>.
The new directory layout makes it easier for autotest to archive
leftover files under /tmp/crash_reporter due to core2md failures.

TEST=Tested the following:
1. Build crash-reporter and run unit tests.
2. Run the following autotest tests on a Cr48:
   - logging_CrashSender
   - logging_UserCrash

Change-Id: I435374eabc1574216881318ddacdfa9d1648c875
Commit-Ready: Ben Chan <>
Reviewed-by: Ben Chan <>
Tested-by: Ben Chan <>
1 file changed
tree: 5d7a920682929b8793466f5fd434659bece66d54
  1. crash_reporter/