Skip to content

Capture proc data to be able to generate minidump #156

@swermin

Description

@swermin

Let me start by saying that this project has helped me bring core dump related stuff out of process and I love it!
The current setup we have is to generate a minidump from a core dump, which we use breakpads core2md

To be able to configure a proper minidump, some data from the /proc/$pid/ folder is needed. I have forked this project and added the changes needed for us to be able to support this flow. What it does is that it checks for a flag to see if needs to include proc info, if does then these steps are taken:

  • Grab the real pid out from the container with the crictl
  • Generate a folder inside the zip file
  • Add all files from proc that are needed

The process is repeated for every container in that pod.

I would love to contribute back this change into this project, is that something you all would be interested in having?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions