aboutsummaryrefslogtreecommitdiffstats
path: root/internal/debug
Commit message (Collapse)AuthorAgeFilesLines
* cmd, dashboard, log: log collection and exploration (#17097)Kurkó Mihály2018-07-111-3/+18
| | | | | | | | | | | | * 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
* internal/debug: use pprof goroutine writer for debug_stacks (#16892)Ryan Schneider2018-06-141-3/+4
| | | | | | | | | | | | * 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
* cmd/geth, mobile: add memsize to pprof server (#16532)Felix Lange2018-04-231-10/+17
| | | | | | | | * 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
* internal/debug: add support for mutex profiles (#16230)Felix Lange2018-03-031-4/+23
|
* metrics: pull library and introduce ResettingTimer and InfluxDB reporter ↵Anton Evangelatov2018-02-231-0/+6
| | | | | | | | | | | | | | | | | | | | (#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
* internal/debug: add debug_setGCPercentFelix Lange2017-09-111-0/+6
|
* internal/debug: add debug_freeOSMemory (#15122)Felix Lange2017-09-111-0/+5
|
* all: update light logs (and a few others) to the new modelPéter Szilágyi2017-03-033-9/+9
|
* all: disable log message colors outside of gethFelix Lange2017-02-271-4/+13
| | | | Also tweak behaviour so colors are only enabled when stderr is a terminal.
* internal, log: support debug log prints, displaying log originsPéter Szilágyi2017-02-231-3/+11
|
* all: blidly swap out glog to our log15, logs need reworkPéter Szilágyi2017-02-233-31/+34
|
* internal/debug, internal/ethapi, rpc, swarm/storage: Ran "go fmt"Kenji Siu2016-11-011-1/+1
|
* metrics, internal/debug: Add --pprofaddr flag, expose metrics via gexpNick Johnson2016-10-141-2/+7
|
* cmd/geth: codegansta/cli package renamed to urfave/cliBas van Kervel2016-06-091-1/+1
|
* internal/debug: also rename debug_startTrace to debug_startGoTraceFelix Lange2016-05-064-10/+10
| | | | This was missing from the previous change.
* internal/debug: rename debug_trace to debug_goTraceFelix Lange2016-05-061-2/+2
| | | | Reduces confusion with EVM execution tracing methods.
* internal/debug: add memStats and gcStats to APIFelix Lange2016-04-131-0/+15
|
* cmd/utils, internal/debug: show all stacks for 10x Ctrl-C induced panicFelix Lange2016-03-122-0/+51
| | | | | Go 1.6 only prints stacks for the current goroutine by default, but for this panic we want to see all of them.
* internal/debug: don't disable heap profile collection by defaultFelix Lange2016-03-121-0/+1
| | | | | Setting runtime.MemProfileRate to 0 through the flag default value makes it impossible to get an 'in-use' profile.
* internal/debug: APIs for profiling and tracingFelix Lange2016-01-284-0/+404
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.