https://github.com/cirocosta/stacksearch
discover callstacks in which functions of interest are called.
https://github.com/cirocosta/stacksearch
golang pprof
Last synced: about 1 year ago
JSON representation
discover callstacks in which functions of interest are called.
- Host: GitHub
- URL: https://github.com/cirocosta/stacksearch
- Owner: cirocosta
- Created: 2019-11-08T16:04:59.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-11-11T00:14:52.000Z (over 6 years ago)
- Last Synced: 2024-04-14T23:20:01.618Z (about 2 years ago)
- Topics: golang, pprof
- Language: Go
- Homepage:
- Size: 18.6 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# stacksearch
discover callstacks in which functions of interest are called.
## usage
1. collect a profile
```console
$ curl localhost:1337/debug/pprof/heap > ./heap.1.pprof
```
2. search for your function of interest
```console
$ stacksearch -p './heap.1.pprof' time.After
time.NewTimer
time.After
github.com/concourse/dex/server.(*Server).newHealthChecker.func1
time.NewTimer
time.After
github.com/concourse/dex/server.(*Server).startKeyRotation.func1
time.NewTimer
time.After
github.com/concourse/concourse/atc/scheduler.(*Runner).Run
github.com/tedsuo/ifrit.(*process).run
```