Pass pid of process as seen in host to coredump_compress script#5301
Merged
renukamanavalan merged 1 commit intosonic-net:masterfrom Sep 3, 2020
Merged
Pass pid of process as seen in host to coredump_compress script#5301renukamanavalan merged 1 commit intosonic-net:masterfrom
renukamanavalan merged 1 commit intosonic-net:masterfrom
Conversation
…mespace, which is host.
Contributor
Author
|
retest vsimage please |
1 similar comment
Contributor
Author
|
retest vsimage please |
jleveque
approved these changes
Sep 3, 2020
abdosi
pushed a commit
that referenced
this pull request
Sep 6, 2020
…mespace, which is host. (#5301) This would enable the coredump_compress script to retrieve additional info regarding the crashing process.
Collaborator
|
@renukamanavalan , have you updated the sonic-utilities submodule? I think this pr depends on the other pr you have in sonic-utilities. |
Contributor
Author
Ooops! Right now ... |
Contributor
|
@renukamanavalan Can you point me to sonic-util PR's . Want to make sure those are there in 201911 sonic-util |
Contributor
Author
|
abdosi
pushed a commit
that referenced
this pull request
Oct 6, 2020
…mespace, which is host. (#5301) This would enable the coredump_compress script to retrieve additional info regarding the crashing process.
santhosh-kt
pushed a commit
to santhosh-kt/sonic-buildimage
that referenced
this pull request
Feb 25, 2021
…mespace, which is host. (sonic-net#5301) This would enable the coredump_compress script to retrieve additional info regarding the crashing process.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This would enable the coredump_compress script to retrieve additional info regarding the crashing process.
- Why I did it
To facilitate coredump_compress script. Currently there is a need to identify the namespace of a crashing process.
- How I did it
By passing %P as part of core-pattern, which translates to "
%P PID of dumped process, as seen in the initial PID namespace"- How to verify it
You can use the last parameter to be able look into /proc// folder for crashing process from the coredump_compress script.
- Which release branch to backport (provide reason below if selected)
Backport to all branches that support multi-asic.