package stack

import "github.com/dotcloud/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
v28.1.1+incompatible (latest)
Published
Apr 18, 2025
Platform
linux/amd64
Imports
7 packages
Last checked
48 minutes ago

Tools for package owners.