delve/pkg/proc
Sergio Lopez 11accd4d71 proc/proc: Extend GoroutinesInfo to allow specifying a range
Instead of unconditionally returning all present goroutines,
GoroutinesInfo now allows specifying a range (start and count). In
addition to the array of goroutines and the error, it now also returns
the next goroutine to be processed, to be used as 'start' argument on
the next call, or 0 if all present goroutines have already been
processed.

This way clients can avoid eating large amounts of RAM while debugging
core dumps and processes with a exceptionally high amount of goroutines.

Fixes #1403
2018-11-19 10:06:38 -08:00
..
core proc/proc: Extend GoroutinesInfo to allow specifying a range 2018-11-19 10:06:38 -08:00
gdbserial pkg/proc: Refactor process post initialization 2018-11-15 18:16:16 +01:00
linutil proc/native,proc/core: deduplicate linux register handling code 2018-10-22 12:19:09 -07:00
native pkg/proc: Refactor process post initialization 2018-11-15 18:16:16 +01:00
test proc: support position independent executables (PIE) 2018-10-11 11:21:27 -07:00
arch.go proc: support position independent executables (PIE) 2018-10-11 11:21:27 -07:00
bininfo.go pkg/proc: Refactor process post initialization 2018-11-15 18:16:16 +01:00
breakpoints.go pkg/proc: Refactor process post initialization 2018-11-15 18:16:16 +01:00
disasm_amd64.go *: Show return values on CLI trace 2018-10-19 20:32:27 +02:00
disasm.go *: Misc refactors, and doc additions 2018-09-19 20:59:35 +02:00
doc.go Move top-level packages into pkg 2017-02-08 12:17:19 -08:00
dwarf_expr_test.go proc/native,proc/core: deduplicate linux register handling code 2018-10-22 12:19:09 -07:00
eval.go proc: add flag to disable escape checking in function calls 2018-10-15 09:31:35 -07:00
fncall.go proc: Improve performance of loadMap on very large sparse maps 2018-11-09 08:12:45 -08:00
interface.go pkg/proc: Refactor process post initialization 2018-11-15 18:16:16 +01:00
mem.go *: Misc refactors, and doc additions 2018-09-19 20:59:35 +02:00
moduledata.go proc: Improve performance of loadMap on very large sparse maps 2018-11-09 08:12:45 -08:00
proc_general_test.go proc: change memCache to delay reading 2018-04-23 10:13:21 -07:00
proc_linux_test.go pkg/prog: Improve support for external debug info 2018-11-08 10:16:42 -08:00
proc_test.go proc/proc: Extend GoroutinesInfo to allow specifying a range 2018-11-19 10:06:38 -08:00
proc_unix_test.go *: Misc refactors, and doc additions 2018-09-19 20:59:35 +02:00
proc.go proc/proc: Extend GoroutinesInfo to allow specifying a range 2018-11-19 10:06:38 -08:00
registers_amd64.go *: Misc refactors, and doc additions 2018-09-19 20:59:35 +02:00
registers.go proc/native,proc/core: deduplicate linux register handling code 2018-10-22 12:19:09 -07:00
scope_test.go *: Misc refactors, and doc additions 2018-09-19 20:59:35 +02:00
stack.go proc: Improve performance of loadMap on very large sparse maps 2018-11-09 08:12:45 -08:00
threads.go *: Show return values on CLI trace 2018-10-19 20:32:27 +02:00
types.go proc: Improve performance of loadMap on very large sparse maps 2018-11-09 08:12:45 -08:00
variable_test.go proc/proc: Extend GoroutinesInfo to allow specifying a range 2018-11-19 10:06:38 -08:00
variables.go proc: Improve performance of loadMap on very large sparse maps 2018-11-09 08:12:45 -08:00