Skip to content

Don't write dumped stacks to file for ETW capture state#3231

Merged
estesp merged 1 commit intocontainerd:masterfrom
kevpar:dump-stacks-to-file
Apr 19, 2019
Merged

Don't write dumped stacks to file for ETW capture state#3231
estesp merged 1 commit intocontainerd:masterfrom
kevpar:dump-stacks-to-file

Conversation

@kevpar
Copy link
Copy Markdown
Member

@kevpar kevpar commented Apr 19, 2019

ETW provides its own retention mechanism, so don't need to write out dumped stacks to file when its triggered by ETW.

Signed-off-by: Kevin Parsons [email protected]

@kevpar
Copy link
Copy Markdown
Member Author

kevpar commented Apr 19, 2019

@jhowardmsft @jterry75 PTAL

Copy link
Copy Markdown

@lowenna lowenna left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Copy Markdown
Member

@estesp estesp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The Linux signal handler call to dumpStacks() needs an update based on the new bool param

@kevpar kevpar force-pushed the dump-stacks-to-file branch from c739578 to 0376dd4 Compare April 19, 2019 17:11
@codecov-io
Copy link
Copy Markdown

Codecov Report

Merging #3231 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #3231   +/-   ##
=======================================
  Coverage   44.63%   44.63%           
=======================================
  Files         113      113           
  Lines       12161    12161           
=======================================
  Hits         5428     5428           
  Misses       5898     5898           
  Partials      835      835
Flag Coverage Δ
#linux 48.65% <ø> (ø) ⬆️
#windows 39.86% <ø> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c2fb5d7...0376dd4. Read the comment docs.

@kevpar
Copy link
Copy Markdown
Member Author

kevpar commented Apr 19, 2019

The Linux signal handler call to dumpStacks() needs an update based on the new bool param

@estesp Good catch. Done.

Copy link
Copy Markdown
Member

@estesp estesp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@estesp estesp merged commit 835e6d0 into containerd:master Apr 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants