Skip to content

Add pprof flags to all long-running dmsg services#350

Merged
0pcom merged 4 commits intoskycoin:developfrom
0pcom:feature/pprof-flags
Mar 25, 2026
Merged

Add pprof flags to all long-running dmsg services#350
0pcom merged 4 commits intoskycoin:developfrom
0pcom:feature/pprof-flags

Conversation

@0pcom
Copy link
Collaborator

@0pcom 0pcom commented Mar 25, 2026

Add --pprofmode and --pprofaddr flags matching the skywire visor pattern to dmsg-server, dmsg-discovery, dmsgweb, dmsgpty-host, dmsghttp, and dmsg-socks5. Extract shared pprof utility to pkg/cmdutil/pprof.go to eliminate duplication. Supports cpu, mem, mutex, block, trace, and http profiling modes.

0pcom added 4 commits March 24, 2026 20:33
Add --pprofmode and --pprofaddr flags matching the skywire visor pattern
to dmsg-server, dmsg-discovery, dmsgweb, dmsgpty-host, dmsghttp, and
dmsg-socks5. Extract shared pprof utility to pkg/cmdutil/pprof.go to
eliminate duplication. Supports cpu, mem, mutex, block, trace, and http
profiling modes.
go-toml/v2 v2.2.4 -> v2.3.0
skycoin v0.28.5-alpha1 -> v0.28.5
Fix nakedret and gosec G104 violations by using explicit returns and
handling file close errors.
Update github.com/skycoin/skycoin to f48988877c68c8f92773008b6d73ce7f6f357d1e
@0pcom 0pcom merged commit 740a7b9 into skycoin:develop Mar 25, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant