package stack

import "github.com/docker/docker/pkg/stack"

Index

Functions

func Dump

func Dump()

Dump outputs the runtime stack to os.StdErr.

func DumpToFile

func DumpToFile(dir string) (string, error)

DumpToFile appends the runtime stack into a file named "goroutine-stacks-<timestamp>.log" in dir and returns the full path to that file. If no directory name is provided, it outputs to os.Stderr.

Source Files

stackdump.go

Version
v26.0.0-rc2+incompatible
Published
Mar 7, 2024
Platform
js/wasm
Imports
7 packages
Last checked
1 minute ago

Tools for package owners.