Skip to content

Commit bae626a

Browse files
committed
Makefile: use the correct -trim_path at pprof-cpu
It shouldn't end with @. The `PPROF_FILE=/path/to/cpu.pprof make pprof-cpu` is good for investigating profiles received from production builds.
1 parent 5552580 commit bae626a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ release-vlutils-windows-goarch: \
271271
vlogscli-windows-$(GOARCH)-prod.exe
272272

273273
pprof-cpu:
274-
go tool pprof -trim_path=github.com/VictoriaMetrics/VictoriaLogs@ $(PPROF_FILE)
274+
go tool pprof -trim_path=github.com/VictoriaMetrics/VictoriaLogs $(PPROF_FILE)
275275

276276
fmt:
277277
gofmt -l -w -s ./lib

0 commit comments

Comments
 (0)