flatten toc

This commit is contained in:
Felix Geisendörfer 2021-02-08 15:14:05 +01:00
parent 65984f8050
commit b23d073868
2 changed files with 31 additions and 33 deletions

View file

@ -4,7 +4,6 @@ This document was last updated for `go1.15.7` but probably still applies to olde
<!-- https://ecotrust-canada.github.io/markdown-toc/ --> <!-- https://ecotrust-canada.github.io/markdown-toc/ -->
- [Block Profiling in Go](#block-profiling-in-go)
* [Description](#description) * [Description](#description)
* [Usage](#usage) * [Usage](#usage)
* [Overhead](#overhead) * [Overhead](#overhead)

View file

@ -2,18 +2,17 @@ This document was last updated for `go1.15.6` but probably still applies to olde
# Goroutine Profiling in Go # Goroutine Profiling in Go
- [Goroutine Profiling in Go](#goroutine-profiling-in-go)
* [Description](#description) * [Description](#description)
* [Overhead](#overhead) - [Overhead](#overhead)
* [Goroutine Properties](#goroutine-properties) - [Goroutine Properties](#goroutine-properties)
* [APIs](#apis) - [APIs](#apis)
+ [[`runtime.Stack()`](https://golang.org/pkg/runtime/#Stack) / [`pprof.Lookup(debug=2)`](https://golang.org/pkg/runtime/pprof/#Lookup)](#--runtimestack-----https---golangorg-pkg-runtime--stack-------pproflookup-debug-2----https---golangorg-pkg-runtime-pprof--lookup-) + [[`runtime.Stack()`](https://golang.org/pkg/runtime/#Stack) / [`pprof.Lookup(debug=2)`](https://golang.org/pkg/runtime/pprof/#Lookup)](#--runtimestack-----https---golangorg-pkg-runtime--stack-------pproflookup-debug-2----https---golangorg-pkg-runtime-pprof--lookup-)
+ [[`pprof.Lookup(debug=1)`](https://golang.org/pkg/runtime/pprof/#Lookup)](#--pproflookup-debug-1----https---golangorg-pkg-runtime-pprof--lookup-) + [[`pprof.Lookup(debug=1)`](https://golang.org/pkg/runtime/pprof/#Lookup)](#--pproflookup-debug-1----https---golangorg-pkg-runtime-pprof--lookup-)
+ [[`pprof.Lookup(debug=0)`](https://golang.org/pkg/runtime/pprof/#Lookup)](#--pproflookup-debug-0----https---golangorg-pkg-runtime-pprof--lookup-) + [[`pprof.Lookup(debug=0)`](https://golang.org/pkg/runtime/pprof/#Lookup)](#--pproflookup-debug-0----https---golangorg-pkg-runtime-pprof--lookup-)
+ [[`runtime.GoroutineProfile()`](https://golang.org/pkg/runtime/#GoroutineProfile)](#--runtimegoroutineprofile-----https---golangorg-pkg-runtime--goroutineprofile-) + [[`runtime.GoroutineProfile()`](https://golang.org/pkg/runtime/#GoroutineProfile)](#--runtimegoroutineprofile-----https---golangorg-pkg-runtime--goroutineprofile-)
+ [[`net/http/pprof`](https://golang.org/pkg/net/http/pprof/)](#--net-http-pprof---https---golangorg-pkg-net-http-pprof--) + [[`net/http/pprof`](https://golang.org/pkg/net/http/pprof/)](#--net-http-pprof---https---golangorg-pkg-net-http-pprof--)
* [History](#history) - [History](#history)
* [Disclaimers](#disclaimers) - [Disclaimers](#disclaimers)
## Description ## Description