...

Package dbg

import "k8s.io/klog/v2/internal/dbg"
Overview
Index

Overview ▾

Package dbg provides some helper code for call traces.

Index ▾

Package files

dbg.go

func Stacks

func Stacks(all bool) []byte

Stacks is a wrapper for runtime.Stack that attempts to recover the data for all goroutines or the calling one.