-
Notifications
You must be signed in to change notification settings - Fork 605
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dump: Show task comm early #2064
dump: Show task comm early #2064
Conversation
When error happens on file dumping stage the only information about the task we dumping is its PID. For debug purpose show task's @comm early. It proves useful when trying to understand which of dumped applications is "guilty" in brokern dump when pid is not there anymore. Signed-off-by: Cyrill Gorcunov <[email protected]> Signed-off-by: Pavel Tikhomirov <[email protected]>
49a176d
to
36e4bd5
Compare
Codecov ReportBase: 70.92% // Head: 70.94% // Increases project coverage by
📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more Additional details and impacted files@@ Coverage Diff @@
## criu-dev #2064 +/- ##
============================================
+ Coverage 70.92% 70.94% +0.02%
============================================
Files 132 133 +1
Lines 32620 32640 +20
============================================
+ Hits 23135 23156 +21
+ Misses 9485 9484 -1
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
This addresses Andrei comments from checkpoint-restore#2064 - Add comment about '\n' fixing - Replace ret with more self explainting is_read - Print warings if we failed to print comm for some reason Signed-off-by: Pavel Tikhomirov <[email protected]>
This addresses Andrei comments from #2064 - Add comment about '\n' fixing - Replace ret with more self explainting is_read - Print warings if we failed to print comm for some reason Signed-off-by: Pavel Tikhomirov <[email protected]>
This addresses Andrei comments from checkpoint-restore#2064 - Add comment about '\n' fixing - Replace ret with more self explainting is_read - Print warings if we failed to print comm for some reason Signed-off-by: Pavel Tikhomirov <[email protected]>
This addresses Andrei comments from #2064 - Add comment about '\n' fixing - Replace ret with more self explainting is_read - Print warings if we failed to print comm for some reason Signed-off-by: Pavel Tikhomirov <[email protected]>
When error happens on file dumping stage the only information about the task we dumping is its PID. For debug purpose show task's @comm early.
It proves useful when trying to understand which of dumped applications is "guilty" in brokern dump when pid is not there anymore.
Signed-off-by: Cyrill Gorcunov [email protected]
Signed-off-by: Pavel Tikhomirov [email protected]
--
This is a port of https://src.openvz.org/projects/OVZ/repos/criu/commits/487a62763
CC @cyrillos