HackyMiner
44eb69561a
internal/debug: support color terminal for cygwin/msys2 ( #17740 )
...
- update go-colorable, go-isatty, go-runewidth packages
- use go-isatty instead of log/term and remove log/term package
6 years ago
Kurkó Mihály
a9835c1816
cmd, dashboard, log: log collection and exploration ( #17097 )
...
* cmd, dashboard, internal, log, node: logging feature
* cmd, dashboard, internal, log: requested changes
* dashboard, vendor: gofmt, govendor, use vendored file watcher
* dashboard, log: gofmt -s -w, goimports
* dashboard, log: gosimple
6 years ago
Ryan Schneider
897ea01d5f
internal/debug: use pprof goroutine writer for debug_stacks ( #16892 )
...
* debug: Use pprof goroutine writer in debug.Stacks() to ensure all goroutines are captured.
* Up to 64MB limit, previous code only captured first 1MB of goroutines.
* internal/debug: simplify stacks handler
* fix typo
* fix pointer receiver
6 years ago
Felix Lange
e7067be94f
cmd/geth, mobile: add memsize to pprof server ( #16532 )
...
* cmd/geth, mobile: add memsize to pprof server
This is a temporary change, to be reverted before the next release.
* cmd/geth: fix variable name
7 years ago
Felix Lange
12f4d28411
internal/debug: add support for mutex profiles ( #16230 )
7 years ago
Anton Evangelatov
ae9f97221a
metrics: pull library and introduce ResettingTimer and InfluxDB reporter ( #15910 )
...
* go-metrics: fork library and introduce ResettingTimer and InfluxDB reporter.
* vendor: change nonsense/go-metrics to ethersphere/go-metrics
* go-metrics: add tests. move ResettingTimer logic from reporter to type.
* all, metrics: pull in metrics package in go-ethereum
* metrics/test: make sure metrics are enabled for tests
* metrics: apply gosimple rules
* metrics/exp, internal/debug: init expvar endpoint when starting pprof server
* internal/debug: tiny comment formatting fix
7 years ago
Felix Lange
48705f8aea
internal/debug: add debug_setGCPercent
7 years ago
Felix Lange
5596b664c4
internal/debug: add debug_freeOSMemory ( #15122 )
7 years ago
Péter Szilágyi
e7030c4bf5
all: update light logs (and a few others) to the new model
8 years ago
Felix Lange
d0eba23af3
all: disable log message colors outside of geth
...
Also tweak behaviour so colors are only enabled when stderr is a terminal.
8 years ago
Péter Szilágyi
f89dd62776
internal, log: support debug log prints, displaying log origins
8 years ago
Péter Szilágyi
d4fd06c3dc
all: blidly swap out glog to our log15, logs need rework
8 years ago
Kenji Siu
d85d3c74db
internal/debug, internal/ethapi, rpc, swarm/storage: Ran "go fmt"
8 years ago
Nick Johnson
9e9bfc4e26
metrics, internal/debug: Add --pprofaddr flag, expose metrics via gexp
8 years ago
Bas van Kervel
861add3d72
cmd/geth: codegansta/cli package renamed to urfave/cli
9 years ago
Felix Lange
ae9ed5c420
internal/debug: also rename debug_startTrace to debug_startGoTrace
...
This was missing from the previous change.
9 years ago
Felix Lange
844e911129
internal/debug: rename debug_trace to debug_goTrace
...
Reduces confusion with EVM execution tracing methods.
9 years ago
Felix Lange
bea56d84e5
internal/debug: add memStats and gcStats to API
9 years ago
Felix Lange
c1343c8872
cmd/utils, internal/debug: show all stacks for 10x Ctrl-C induced panic
...
Go 1.6 only prints stacks for the current goroutine by default,
but for this panic we want to see all of them.
9 years ago
Felix Lange
cafdd5931e
internal/debug: don't disable heap profile collection by default
...
Setting runtime.MemProfileRate to 0 through the flag default
value makes it impossible to get an 'in-use' profile.
9 years ago
Felix Lange
3750d835a1
internal/debug: APIs for profiling and tracing
...
The debug package provides an RPC wrapper for glog settings and the
debugging facilities of the Go runtime. They can be triggered through
both command line flags and the IPC listener.
9 years ago