mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-12 12:46:23 +01:00
Makefile: add pprof-cpu
rule for inspecting CPU profiles with PPROF_FILE=/path/to/cpu.pprof make pprof-cpu
This commit is contained in:
parent
2a38d30f93
commit
a72b22a8b1
3
Makefile
3
Makefile
@ -42,6 +42,9 @@ release: \
|
||||
vmstorage-prod
|
||||
cd bin && tar czf victoria-metrics-$(PKG_TAG).tar.gz vminsert-prod vmselect-prod vmstorage-prod
|
||||
|
||||
pprof-cpu:
|
||||
go tool pprof -trim_path=github.com/VictoriaMetrics/VictoriaMetrics@ $(PPROF_FILE)
|
||||
|
||||
fmt:
|
||||
GO111MODULE=on gofmt -l -w -s ./lib
|
||||
GO111MODULE=on gofmt -l -w -s ./app
|
||||
|
Loading…
Reference in New Issue
Block a user