summaryrefslogtreecommitdiff
path: root/pkg/stack/stackdump_test.go
Commit message (Collapse)AuthorAgeFilesLines
* refactor: move from io/ioutil to io and os packageEng Zer Jun2021-08-271-3/+2
| | | | | | | | The io/ioutil package has been deprecated in Go 1.16. This commit replaces the existing io/ioutil functions with their new definitions in io and os packages. Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
* pkg/signal: move signal.DumpStacks() to a separate packageSebastiaan van Stijn2021-07-151-0/+31
It is not directly related to signal-handling, so can well live in its own package. Also added a variant that doesn't take a directory to write files to, for easier consumption / better match to how it's used. Signed-off-by: Sebastiaan van Stijn <github@gone.nl>