go/src/runtime
Michael Anthony Knyszek 43ffe2a892 runtime: add execution tracer v2 behind GOEXPERIMENT=exectracer2
This change mostly implements the design described in #60773 and
includes a new scalable parser for the new trace format, available in
internal/trace/v2. I'll leave this commit message short because this is
clearly an enormous CL with a lot of detail.

This change does not hook up the new tracer into cmd/trace yet. A
follow-up CL will handle that.

For #60773.

Cq-Include-Trybots: luci.golang.try:gotip-linux-amd64-longtest,gotip-linux-amd64-longtest-race
Change-Id: I5d2aca2cc07580ed3c76a9813ac48ec96b157de0
Reviewed-on: https://go-review.googlesource.com/c/go/+/494187
Reviewed-by: Michael Pratt <mpratt@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
2023-11-10 15:49:59 +00:00
..
asan runtime, cmd/go: enable address sanitizer on linux/loong64 2023-08-29 00:22:11 +00:00
cgo runtime: add available godoc link 2023-11-08 16:59:11 +00:00
coverage all: fix typos 2023-07-18 19:55:29 +00:00
debug runtime: add available godoc link 2023-11-08 16:59:11 +00:00
internal runtime/internal/atomic: add arm/arm64 operators for And/Or 2023-11-07 17:27:06 +00:00
metrics runtime: add available godoc link 2023-11-08 16:59:11 +00:00
msan runtime, cmd/go: enable memory sanitizer on linux/loong64 2023-08-25 20:58:13 +00:00
pprof runtime: add available godoc link 2023-11-08 16:59:11 +00:00
race testing: use monotonic counts to attribute races in subtests 2023-10-25 20:44:25 +00:00
testdata cmd/cgo: disable #cgo noescape/nocallback until Go 1.23 2023-11-02 16:43:23 +00:00
trace runtime: add execution tracer v2 behind GOEXPERIMENT=exectracer2 2023-11-10 15:49:59 +00:00
HACKING.md
Makefile
abi_test.go all: use ^TestName$ regular pattern for invoking a single test 2023-09-05 23:35:29 +00:00
alg.go runtime: improve performance of empty map with interface key type 2023-08-09 16:41:16 +00:00
align_runtime_test.go
align_test.go
arena.go runtime: implement experiment to replace heap bitmap with alloc headers 2023-11-09 19:58:08 +00:00
arena_test.go runtime: use unsafe.{String,StringData} in arena test 2023-07-20 18:02:29 +00:00
asan.go
asan0.go
asan_amd64.s runtime: fix asan asm on amd64 2023-08-10 00:43:30 +00:00
asan_arm64.s
asan_loong64.s runtime, cmd/go: enable address sanitizer on linux/loong64 2023-08-29 00:22:11 +00:00
asan_ppc64le.s
asan_riscv64.s
asm.s runtime: add crash stack support for mips64x 2023-11-06 19:45:59 +00:00
asm_386.s all: fix spelling errors 2023-06-14 00:03:57 +00:00
asm_amd64.h
asm_amd64.s runtime: print a stack trace at "morestack on g0" 2023-10-26 18:46:50 +00:00
asm_arm.s all: fix spelling errors 2023-06-14 00:03:57 +00:00
asm_arm64.s runtime: print a stack trace at "morestack on g0" 2023-10-26 18:46:50 +00:00
asm_loong64.s all: fix spelling errors 2023-06-14 00:03:57 +00:00
asm_mips64x.s runtime: add crash stack support for mips64x 2023-11-06 19:45:59 +00:00
asm_mipsx.s all: fix spelling errors 2023-06-14 00:03:57 +00:00
asm_ppc64x.h
asm_ppc64x.s runtime: support for debugger function calls on linux/ppc64le 2023-09-08 15:08:04 +00:00
asm_riscv64.s all: clean up addition of constants in riscv64 assembly 2023-11-09 13:57:06 +00:00
asm_s390x.s runtime: handle SIGPE exception for p256 crypto package on s390x 2023-08-01 17:36:28 +00:00
asm_wasm.s runtime: fix badmorestackg0 never called on wasm 2023-11-05 19:03:55 +00:00
atomic_arm64.s
atomic_loong64.s
atomic_mips64x.s
atomic_mipsx.s
atomic_pointer.go
atomic_ppc64x.s
atomic_riscv64.s
auxv_none.go
callers_test.go runtime: fix bp restoration in panic recovery for arm64 2023-08-28 21:36:31 +00:00
cgo.go cmd/cgo: add #cgo noescape/nocallback annotations 2023-08-25 17:39:23 +00:00
cgo_mmap.go runtime, cmd/go: enable memory sanitizer on linux/loong64 2023-08-25 20:58:13 +00:00
cgo_ppc64x.go
cgo_sigaction.go
cgocall.go runtime: implement experiment to replace heap bitmap with alloc headers 2023-11-09 19:58:08 +00:00
cgocallback.go
cgocheck.go runtime: implement experiment to replace heap bitmap with alloc headers 2023-11-09 19:58:08 +00:00
chan.go runtime: replace raw traceEv with traceBlockReason in gopark 2023-05-19 20:47:25 +00:00
chan_test.go runtime: make select fairness test less picky 2023-10-31 20:47:35 +00:00
chanbarrier_test.go
checkptr.go
checkptr_test.go
closure_test.go
compiler.go
complex.go
complex_test.go
conv_wasm_test.go
covercounter.go
covermeta.go
cpuflags.go
cpuflags_amd64.go
cpuflags_arm64.go
cpuprof.go runtime: improve tickspersecond 2023-11-09 22:38:24 +00:00
cputicks.go
crash_cgo_test.go runtime: add execution tracer v2 behind GOEXPERIMENT=exectracer2 2023-11-10 15:49:59 +00:00
crash_test.go runtime: skip TestG0StackOverflow on windows/arm64 2023-11-09 19:24:24 +00:00
crash_unix_test.go runtime: don't print "unexpected SPWRITE" when printing traceback 2023-10-12 20:11:47 +00:00
create_file_nounix.go
create_file_unix.go
debug.go runtime: add available godoc link 2023-11-08 16:59:11 +00:00
debug_test.go runtime: support for debugger function calls on linux/ppc64le 2023-09-08 15:08:04 +00:00
debugcall.go runtime: refactor runtime->tracer API to appear more like a lock 2023-11-09 22:34:25 +00:00
debuglog.go
debuglog_off.go
debuglog_on.go
debuglog_test.go
defer_test.go all: stop using fmt.Sprintf in t.Error/t.Fatal 2023-09-20 18:57:24 +00:00
defs1_linux.go
defs1_netbsd_386.go
defs1_netbsd_amd64.go
defs1_netbsd_arm.go
defs1_netbsd_arm64.go
defs1_solaris_amd64.go runtime: remove unused _F_{GET,SET}FL constants on solaris and openbsd 2023-05-23 19:40:51 +00:00
defs2_linux.go
defs3_linux.go
defs_aix.go runtime: consolidate on a single closeonexec definition 2023-05-20 21:27:51 +00:00
defs_aix_ppc64.go runtime: consolidate on a single closeonexec definition 2023-05-20 21:27:51 +00:00
defs_arm_linux.go
defs_darwin.go runtime,runtime/pprof: get memory mappings on darwin. 2023-08-03 16:07:59 +00:00
defs_darwin_amd64.go runtime,runtime/pprof: get memory mappings on darwin. 2023-08-03 16:07:59 +00:00
defs_darwin_arm64.go runtime,runtime/pprof: get memory mappings on darwin. 2023-08-03 16:07:59 +00:00
defs_dragonfly.go runtime: ignore ETIMEDOUT for kevent conservatively 2023-10-23 17:31:23 +00:00
defs_dragonfly_amd64.go runtime: ignore ETIMEDOUT for kevent conservatively 2023-10-23 17:31:23 +00:00
defs_freebsd.go
defs_freebsd_386.go
defs_freebsd_amd64.go
defs_freebsd_arm.go
defs_freebsd_arm64.go
defs_freebsd_riscv64.go
defs_illumos_amd64.go
defs_linux.go
defs_linux_386.go runtime: avoid MADV_HUGEPAGE for heap memory 2023-08-22 19:05:10 +00:00
defs_linux_amd64.go runtime: avoid MADV_HUGEPAGE for heap memory 2023-08-22 19:05:10 +00:00
defs_linux_arm.go runtime: avoid MADV_HUGEPAGE for heap memory 2023-08-22 19:05:10 +00:00
defs_linux_arm64.go runtime: avoid MADV_HUGEPAGE for heap memory 2023-08-22 19:05:10 +00:00
defs_linux_loong64.go runtime: avoid MADV_HUGEPAGE for heap memory 2023-08-22 19:05:10 +00:00
defs_linux_mips64x.go runtime: avoid MADV_HUGEPAGE for heap memory 2023-08-22 19:05:10 +00:00
defs_linux_mipsx.go runtime: avoid MADV_HUGEPAGE for heap memory 2023-08-22 19:05:10 +00:00
defs_linux_ppc64.go runtime: avoid MADV_HUGEPAGE for heap memory 2023-08-22 19:05:10 +00:00
defs_linux_ppc64le.go runtime: avoid MADV_HUGEPAGE for heap memory 2023-08-22 19:05:10 +00:00
defs_linux_riscv64.go runtime: avoid MADV_HUGEPAGE for heap memory 2023-08-22 19:05:10 +00:00
defs_linux_s390x.go runtime: avoid MADV_HUGEPAGE for heap memory 2023-08-22 19:05:10 +00:00
defs_netbsd.go
defs_netbsd_386.go
defs_netbsd_amd64.go
defs_netbsd_arm.go
defs_openbsd.go runtime: ignore ETIMEDOUT for kevent conservatively 2023-10-23 17:31:23 +00:00
defs_openbsd_386.go runtime: ignore ETIMEDOUT for kevent conservatively 2023-10-23 17:31:23 +00:00
defs_openbsd_amd64.go runtime: ignore ETIMEDOUT for kevent conservatively 2023-10-23 17:31:23 +00:00
defs_openbsd_arm.go runtime: ignore ETIMEDOUT for kevent conservatively 2023-10-23 17:31:23 +00:00
defs_openbsd_arm64.go runtime: ignore ETIMEDOUT for kevent conservatively 2023-10-23 17:31:23 +00:00
defs_openbsd_mips64.go runtime: ignore ETIMEDOUT for kevent conservatively 2023-10-23 17:31:23 +00:00
defs_openbsd_ppc64.go runtime: ignore ETIMEDOUT for kevent conservatively 2023-10-23 17:31:23 +00:00
defs_openbsd_riscv64.go runtime: ignore ETIMEDOUT for kevent conservatively 2023-10-23 17:31:23 +00:00
defs_plan9_386.go
defs_plan9_amd64.go
defs_plan9_arm.go
defs_solaris.go runtime: remove unused F_{GET,SET}FL cgo constants on solaris and openbsd 2023-08-24 17:47:39 +00:00
defs_solaris_amd64.go
defs_windows.go runtime: support SetUnhandledExceptionFilter on Windows 2023-10-05 08:26:52 +00:00
defs_windows_386.go runtime: support SetUnhandledExceptionFilter on Windows 2023-10-05 08:26:52 +00:00
defs_windows_amd64.go runtime: support SetUnhandledExceptionFilter on Windows 2023-10-05 08:26:52 +00:00
defs_windows_arm.go runtime: support SetUnhandledExceptionFilter on Windows 2023-10-05 08:26:52 +00:00
defs_windows_arm64.go runtime: support SetUnhandledExceptionFilter on Windows 2023-10-05 08:26:52 +00:00
duff_386.s
duff_amd64.s
duff_arm.s
duff_arm64.s
duff_loong64.s runtime: remove the meaningless offset of 8 for duffzero on loong64 2023-09-01 15:48:45 +00:00
duff_mips64x.s
duff_ppc64x.s
duff_riscv64.s
duff_s390x.s
ehooks_test.go
env_plan9.go
env_posix.go
env_test.go
error.go runtime: add available godoc link 2023-11-08 16:59:11 +00:00
example_test.go
exithook.go all: fix mismatched symbols 2023-06-13 20:02:49 +00:00
export_aix_test.go runtime: consistently define fcntl 2023-05-17 04:58:07 +00:00
export_arm_test.go
export_darwin_test.go runtime: consistently define fcntl 2023-05-17 04:58:07 +00:00
export_debug_amd64_test.go
export_debug_arm64_test.go
export_debug_ppc64le_test.go runtime: support for debugger function calls on linux/ppc64le 2023-09-08 15:08:04 +00:00
export_debug_test.go runtime: support for debugger function calls on linux/ppc64le 2023-09-08 15:08:04 +00:00
export_debuglog_test.go runtime: emit STW events for all pauses, not just those for the GC 2023-05-19 17:06:45 +00:00
export_linux_test.go runtime: remove runtime.Add testing function 2023-08-21 20:20:01 +00:00
export_mmap_test.go
export_pipe2_test.go
export_pipe_test.go
export_test.go runtime: implement experiment to replace heap bitmap with alloc headers 2023-11-09 19:58:08 +00:00
export_unix_test.go runtime: consolidate on a single closeonexec definition 2023-05-20 21:27:51 +00:00
export_windows_test.go runtime: fix TestSehUnwind 2023-05-22 11:50:24 +00:00
extern.go runtime: add execution tracer v2 behind GOEXPERIMENT=exectracer2 2023-11-10 15:49:59 +00:00
fastlog2.go
fastlog2_test.go
fastlog2table.go
fds_nonunix.go runtime: enforce standard file descriptors open on init on unix 2023-07-25 16:33:33 +00:00
fds_test.go runtime: enforce standard file descriptors open on init on unix 2023-07-25 16:33:33 +00:00
fds_unix.go runtime: call miniterrno on m0 on AIX and Solaris 2023-07-27 22:20:25 +00:00
float.go
float_test.go
funcdata.h cmd/internal/obj: tweak implicit {ArgsPointerMaps,ArgInfo} behavior 2023-08-29 18:28:09 +00:00
gc_test.go runtime: implement experiment to replace heap bitmap with alloc headers 2023-11-09 19:58:08 +00:00
gcinfo_test.go runtime: implement experiment to replace heap bitmap with alloc headers 2023-11-09 19:58:08 +00:00
go_tls.h
hash32.go
hash64.go
hash_test.go hash/maphash: weaken avalanche test a bit more 2023-10-31 17:00:31 +00:00
heap_test.go runtime: change heapObjectsCanMove to a func 2023-05-25 18:35:49 +00:00
heapdump.go runtime: implement experiment to replace heap bitmap with alloc headers 2023-11-09 19:58:08 +00:00
histogram.go
histogram_test.go
iface.go cmd/compile: use cache in front of convI2I 2023-10-09 17:28:22 +00:00
iface_test.go
import_test.go runtime: ignore SPWrite on innermost traceback frame 2023-09-06 14:45:46 +00:00
importx_test.go
lfstack.go
lfstack_test.go
libfuzzer.go
libfuzzer_amd64.s runtime: fix misaligned SP for libfuzzer entry 2023-05-10 04:57:07 +00:00
libfuzzer_arm64.s
lock_futex.go
lock_js.go runtime: fix usage of stale "now" value for netpolling Ms 2023-05-23 19:24:33 +00:00
lock_sema.go runtime: don't use atomic store in noteclear on AIX 2023-10-12 14:16:07 +00:00
lock_wasip1.go
lockrank.go runtime: add partial lock order between mspanSpecial and gcBitsArenas 2023-05-23 18:00:50 +00:00
lockrank_off.go
lockrank_on.go runtime: add execution tracer v2 behind GOEXPERIMENT=exectracer2 2023-11-10 15:49:59 +00:00
lockrank_test.go runtime: log stderr in TestLockRankGenerated on failure 2023-08-29 20:57:33 +00:00
malloc.go runtime: make alloc headers footers instead 2023-11-09 19:58:18 +00:00
malloc_test.go all: use ^TestName$ regular pattern for invoking a single test 2023-09-05 23:35:29 +00:00
map.go runtime: implement experiment to replace heap bitmap with alloc headers 2023-11-09 19:58:08 +00:00
map_benchmark_test.go runtime: improve performance of empty map with interface key type 2023-08-09 16:41:16 +00:00
map_fast32.go runtime: move per-type types to internal/abi 2023-05-11 13:45:40 +00:00
map_fast64.go all: fix spelling errors 2023-06-14 00:03:57 +00:00
map_faststr.go runtime: move per-type types to internal/abi 2023-05-11 13:45:40 +00:00
map_test.go runtime: use real type size in map keys and values functions 2023-10-14 21:46:29 +00:00
mbarrier.go cmd/compile,runtime: dedup writeBarrier needed 2023-11-07 17:21:04 +00:00
mbitmap.go runtime: add the allocation headers GOEXPERIMENT and fork files 2023-11-09 19:57:50 +00:00
mbitmap_allocheaders.go runtime: fix user arena heap bits writing on big endian platforms 2023-11-10 04:46:18 +00:00
mbitmap_noallocheaders.go runtime: fix user arena heap bits writing on big endian platforms 2023-11-10 04:46:18 +00:00
mcache.go runtime: use smaller fields for mspan.freeindex and nelems 2023-10-02 20:39:21 +00:00
mcentral.go runtime: refactor runtime->tracer API to appear more like a lock 2023-11-09 22:34:25 +00:00
mcheckmark.go
mem.go runtime: avoid MADV_HUGEPAGE for heap memory 2023-08-22 19:05:10 +00:00
mem_aix.go runtime: avoid MADV_HUGEPAGE for heap memory 2023-08-22 19:05:10 +00:00
mem_bsd.go runtime: avoid MADV_HUGEPAGE for heap memory 2023-08-22 19:05:10 +00:00
mem_darwin.go runtime: avoid MADV_HUGEPAGE for heap memory 2023-08-22 19:05:10 +00:00
mem_js.go
mem_linux.go runtime: avoid MADV_HUGEPAGE for heap memory 2023-08-22 19:05:10 +00:00
mem_plan9.go
mem_sbrk.go runtime: avoid MADV_HUGEPAGE for heap memory 2023-08-22 19:05:10 +00:00
mem_wasip1.go
mem_wasm.go
mem_windows.go runtime: avoid MADV_HUGEPAGE for heap memory 2023-08-22 19:05:10 +00:00
memclr_386.s
memclr_amd64.s
memclr_arm.s
memclr_arm64.s
memclr_loong64.s
memclr_mips64x.s
memclr_mipsx.s
memclr_plan9_386.s
memclr_plan9_amd64.s
memclr_ppc64x.s runtime: improve ppc64x memclr for tail bytes 2023-05-16 17:08:59 +00:00
memclr_riscv64.s all: clean up addition of constants in riscv64 assembly 2023-11-09 13:57:06 +00:00
memclr_s390x.s
memclr_wasm.s
memmove_386.s
memmove_amd64.s
memmove_arm.s
memmove_arm64.s
memmove_linux_amd64_test.go
memmove_loong64.s
memmove_mips64x.s
memmove_mipsx.s
memmove_plan9_386.s
memmove_plan9_amd64.s
memmove_ppc64x.s
memmove_riscv64.s all: clean up addition of constants in riscv64 assembly 2023-11-09 13:57:06 +00:00
memmove_s390x.s
memmove_test.go runtime: use max/min func 2023-10-24 20:28:25 +00:00
memmove_wasm.s
metrics.go runtime: eliminate possible stack movements in ReadMetricsSlow 2023-11-03 16:11:00 +00:00
metrics_test.go runtime/metrics: fix /gc/scan/* metrics 2023-09-06 15:44:45 +00:00
mfinal.go runtime: make alloc headers footers instead 2023-11-09 19:58:18 +00:00
mfinal_test.go
mfixalloc.go runtime: use max/min func 2023-10-24 20:28:25 +00:00
mgc.go runtime: add execution tracer v2 behind GOEXPERIMENT=exectracer2 2023-11-10 15:49:59 +00:00
mgclimit.go runtime: flush idle time to sched.idleTime on limiter event consumption 2023-05-19 16:24:53 +00:00
mgclimit_test.go
mgcmark.go runtime: add execution tracer v2 behind GOEXPERIMENT=exectracer2 2023-11-10 15:49:59 +00:00
mgcpacer.go runtime: refactor runtime->tracer API to appear more like a lock 2023-11-09 22:34:25 +00:00
mgcpacer_test.go runtime: make the memory limit heap goal headroom proportional 2023-05-19 13:53:21 +00:00
mgcscavenge.go runtime: use max/min func 2023-10-24 20:28:25 +00:00
mgcscavenge_test.go
mgcstack.go runtime: drop stack-allocated pcvalueCaches 2023-08-21 21:06:52 +00:00
mgcsweep.go runtime: refactor runtime->tracer API to appear more like a lock 2023-11-09 22:34:25 +00:00
mgcwork.go
mheap.go runtime: refactor runtime->tracer API to appear more like a lock 2023-11-09 22:34:25 +00:00
minmax.go cmd/compile: implement min/max builtins 2023-05-23 18:15:22 +00:00
minmax_test.go cmd/compile: implement min/max builtins 2023-05-23 18:15:22 +00:00
mkduff.go runtime: remove the meaningless offset of 8 for duffzero on loong64 2023-09-01 15:48:45 +00:00
mkfastlog2table.go
mklockrank.go runtime: add partial lock order between mspanSpecial and gcBitsArenas 2023-05-23 18:00:50 +00:00
mkpreempt.go all: clean up addition of constants in riscv64 assembly 2023-11-09 13:57:06 +00:00
mksizeclasses.go runtime: use max/min func 2023-10-24 20:28:25 +00:00
mmap.go runtime, cmd/go: enable memory sanitizer on linux/loong64 2023-08-25 20:58:13 +00:00
mpagealloc.go runtime: use max/min func 2023-10-24 20:28:25 +00:00
mpagealloc_32bit.go
mpagealloc_64bit.go
mpagealloc_test.go
mpagecache.go
mpagecache_test.go
mpallocbits.go runtime: use max/min func 2023-10-24 20:28:25 +00:00
mpallocbits_test.go
mprof.go runtime: improve tickspersecond 2023-11-09 22:38:24 +00:00
mranges.go all: calculate the median uniformly 2023-09-12 20:16:26 +00:00
mranges_test.go
msan.go
msan0.go
msan_amd64.s
msan_arm64.s
msan_loong64.s runtime, cmd/go: enable memory sanitizer on linux/loong64 2023-08-25 20:58:13 +00:00
msize_allocheaders.go runtime: implement experiment to replace heap bitmap with alloc headers 2023-11-09 19:58:08 +00:00
msize_noallocheaders.go runtime: implement experiment to replace heap bitmap with alloc headers 2023-11-09 19:58:08 +00:00
mspanset.go runtime: add available godoc link 2023-11-08 16:59:11 +00:00
mstats.go runtime,runtime/metrics: clarify OS stack metrics 2023-07-05 15:21:49 +00:00
mwbbuf.go
nbpipe_pipe.go
nbpipe_pipe2.go
nbpipe_pipe_test.go
nbpipe_test.go runtime: change fcntl to return two values 2023-05-20 20:32:54 +00:00
net_plan9.go
netpoll.go runtime: adjust netpollWaiters after goroutines are ready 2023-07-20 15:45:57 +00:00
netpoll_aix.go runtime: adjust netpollWaiters after goroutines are ready 2023-07-20 15:45:57 +00:00
netpoll_epoll.go runtime: adjust netpollWaiters after goroutines are ready 2023-07-20 15:45:57 +00:00
netpoll_fake.go runtime: adjust netpollWaiters after goroutines are ready 2023-07-20 15:45:57 +00:00
netpoll_kqueue.go runtime: ignore ETIMEDOUT for kevent conservatively 2023-10-23 17:31:23 +00:00
netpoll_os_test.go
netpoll_solaris.go runtime: adjust netpollWaiters after goroutines are ready 2023-07-20 15:45:57 +00:00
netpoll_stub.go runtime: adjust netpollWaiters after goroutines are ready 2023-07-20 15:45:57 +00:00
netpoll_wasip1.go runtime: adjust netpollWaiters after goroutines are ready 2023-07-20 15:45:57 +00:00
netpoll_windows.go runtime: adjust netpollWaiters after goroutines are ready 2023-07-20 15:45:57 +00:00
nonwindows_stub.go
norace_linux_test.go
norace_test.go
numcpu_freebsd_test.go
os2_aix.go runtime: implement SUID/SGID protections 2023-06-06 18:49:01 +00:00
os2_freebsd.go
os2_openbsd.go
os2_plan9.go
os2_solaris.go
os3_plan9.go
os3_solaris.go runtime: clear procid in unminit 2023-09-06 18:36:02 +00:00
os_aix.go runtime: clear procid in unminit 2023-09-06 18:36:02 +00:00
os_android.go
os_darwin.go runtime: clear procid in unminit 2023-09-06 18:36:02 +00:00
os_darwin_arm64.go
os_dragonfly.go runtime: clear procid in unminit 2023-09-06 18:36:02 +00:00
os_freebsd.go runtime: on arm32, detect whether we have sync instructions 2023-10-31 20:38:55 +00:00
os_freebsd2.go
os_freebsd_amd64.go
os_freebsd_arm.go runtime: on arm32, detect whether we have sync instructions 2023-10-31 20:38:55 +00:00
os_freebsd_arm64.go
os_freebsd_noauxv.go
os_freebsd_riscv64.go
os_illumos.go
os_js.go
os_linux.go runtime: on arm32, detect whether we have sync instructions 2023-10-31 20:38:55 +00:00
os_linux_arm.go runtime: on arm32, detect whether we have sync instructions 2023-10-31 20:38:55 +00:00
os_linux_arm64.go
os_linux_be64.go
os_linux_generic.go
os_linux_loong64.go
os_linux_mips64x.go
os_linux_mipsx.go
os_linux_noauxv.go
os_linux_novdso.go
os_linux_ppc64x.go
os_linux_riscv64.go
os_linux_s390x.go runtime: handle SIGPE exception for p256 crypto package on s390x 2023-08-01 17:36:28 +00:00
os_linux_x86.go
os_netbsd.go runtime: don't clear procid on netbsd 2023-09-11 16:15:14 +00:00
os_netbsd_386.go
os_netbsd_amd64.go
os_netbsd_arm.go
os_netbsd_arm64.go
os_nonopenbsd.go
os_only_solaris.go
os_openbsd.go runtime: remove unused getOSRev on openbsd 2023-11-02 19:37:20 +00:00
os_openbsd_arm.go
os_openbsd_arm64.go
os_openbsd_libc.go
os_openbsd_mips64.go
os_openbsd_syscall.go
os_openbsd_syscall1.go
os_openbsd_syscall2.go runtime: implement SUID/SGID protections 2023-06-06 18:49:01 +00:00
os_plan9.go os, runtime: remove unused implementations of os.sigpipe 2023-05-12 21:33:26 +00:00
os_plan9_arm.go
os_solaris.go runtime: implement SUID/SGID protections 2023-06-06 18:49:01 +00:00
os_unix.go runtime: consolidate on a single closeonexec definition 2023-05-20 21:27:51 +00:00
os_unix_nonlinux.go
os_wasip1.go runtime: implement wasip1 netpoll 2023-05-25 00:12:40 +00:00
os_wasm.go runtime: rename getcallerfp to getfp 2023-05-22 10:04:13 +00:00
os_windows.go crypto/rand,runtime: switch RtlGenRandom for ProcessPrng 2023-10-20 18:35:47 +00:00
os_windows_arm.go
os_windows_arm64.go
pagetrace_off.go
pagetrace_on.go
panic.go runtime: speed up readvarintUnsafe 2023-10-18 16:32:15 +00:00
panic32.go
panic_test.go
panicnil_test.go
pinner.go runtime: add available godoc link 2023-11-08 16:59:11 +00:00
pinner_test.go runtime: silently allow pinning of non-Go pointers in runtime.Pinner.Pin 2023-09-13 18:36:12 +00:00
plugin.go runtime: move per-type types to internal/abi 2023-05-11 13:45:40 +00:00
preempt.go runtime: drop stack-allocated pcvalueCaches 2023-08-21 21:06:52 +00:00
preempt_386.s
preempt_amd64.s
preempt_arm.s
preempt_arm64.s
preempt_loong64.s
preempt_mips64x.s
preempt_mipsx.s
preempt_nonwindows.go
preempt_ppc64x.s
preempt_riscv64.s all: clean up addition of constants in riscv64 assembly 2023-11-09 13:57:06 +00:00
preempt_s390x.s
preempt_wasm.s
print.go
proc.go runtime: add execution tracer v2 behind GOEXPERIMENT=exectracer2 2023-11-10 15:49:59 +00:00
proc_runtime_test.go
proc_test.go all: fix spelling errors 2023-06-14 00:03:57 +00:00
profbuf.go all: clean unnecessary casts 2023-09-18 20:01:34 +00:00
profbuf_test.go runtime: remove an arbitrary timeout in TestProfBuf 2023-09-15 20:04:56 +00:00
proflabel.go
race.go runtime: implement experiment to replace heap bitmap with alloc headers 2023-11-09 19:58:08 +00:00
race0.go
race_amd64.s all: fix Microsoft links 2023-09-12 16:42:41 +00:00
race_arm64.s runtime: use 1-byte load for address checking in racecallatomic 2023-06-16 14:09:02 +00:00
race_ppc64le.s runtime: use 1-byte load for address checking in racecallatomic 2023-06-16 14:09:02 +00:00
race_s390x.s all: drop old +build lines 2023-10-19 23:33:27 +00:00
rand_test.go
rdebug.go
retry.go
rt0_aix_ppc64.s
rt0_android_386.s
rt0_android_amd64.s
rt0_android_arm.s
rt0_android_arm64.s
rt0_darwin_amd64.s
rt0_darwin_arm64.s
rt0_dragonfly_amd64.s
rt0_freebsd_386.s
rt0_freebsd_amd64.s
rt0_freebsd_arm.s
rt0_freebsd_arm64.s
rt0_freebsd_riscv64.s
rt0_illumos_amd64.s
rt0_ios_amd64.s
rt0_ios_arm64.s
rt0_js_wasm.s
rt0_linux_386.s
rt0_linux_amd64.s
rt0_linux_arm.s
rt0_linux_arm64.s
rt0_linux_loong64.s
rt0_linux_mips64x.s
rt0_linux_mipsx.s
rt0_linux_ppc64.s
rt0_linux_ppc64le.s
rt0_linux_riscv64.s
rt0_linux_s390x.s
rt0_netbsd_386.s
rt0_netbsd_amd64.s
rt0_netbsd_arm.s
rt0_netbsd_arm64.s
rt0_openbsd_386.s
rt0_openbsd_amd64.s
rt0_openbsd_arm.s
rt0_openbsd_arm64.s
rt0_openbsd_mips64.s
rt0_openbsd_ppc64.s runtime: add support for openbsd/ppc64 2023-08-22 02:48:11 +00:00
rt0_openbsd_riscv64.s runtime: add runtime support for openbsd/riscv64 port 2023-10-04 02:55:17 +00:00
rt0_plan9_386.s
rt0_plan9_amd64.s
rt0_plan9_arm.s
rt0_solaris_amd64.s
rt0_wasip1_wasm.s
rt0_windows_386.s
rt0_windows_amd64.s runtime: ensure stack is aligned in _rt0_amd64_windows_lib 2023-07-19 11:55:15 +00:00
rt0_windows_arm.s
rt0_windows_arm64.s
runtime-gdb.py all: fix a lot of comments 2023-05-10 12:59:20 +00:00
runtime-gdb_test.go runtime: quote -ex and -iex gdb arguments on Windows 2023-10-10 18:22:05 +00:00
runtime-gdb_unix_test.go runtime: consider core PID in gdb test 2023-07-21 18:42:36 +00:00
runtime-lldb_test.go
runtime-seh_windows_test.go runtime: refactor defer processing 2023-07-31 16:52:06 +00:00
runtime.go runtime: improve tickspersecond 2023-11-09 22:38:24 +00:00
runtime1.go runtime: add execution tracer v2 behind GOEXPERIMENT=exectracer2 2023-11-10 15:49:59 +00:00
runtime2.go runtime: add execution tracer v2 behind GOEXPERIMENT=exectracer2 2023-11-10 15:49:59 +00:00
runtime_boring.go
runtime_linux_test.go runtime: remove runtime.Add testing function 2023-08-21 20:20:01 +00:00
runtime_mmap_test.go
runtime_test.go
runtime_unix_test.go
rwmutex.go
rwmutex_test.go
security_aix.go runtime: implement SUID/SGID protections 2023-06-06 18:49:01 +00:00
security_issetugid.go runtime: implement SUID/SGID protections 2023-06-06 18:49:01 +00:00
security_linux.go runtime: implement SUID/SGID protections 2023-06-06 18:49:01 +00:00
security_nonunix.go runtime: implement SUID/SGID protections 2023-06-06 18:49:01 +00:00
security_test.go runtime: Use doas -n in TestSUID on OpenBSD 2023-06-13 18:10:14 +00:00
security_unix.go runtime: enforce standard file descriptors open on init on unix 2023-07-25 16:33:33 +00:00
select.go runtime: replace raw traceEv with traceBlockReason in gopark 2023-05-19 20:47:25 +00:00
sema.go runtime: change mutex profile to count every blocked goroutine 2023-08-17 01:30:31 +00:00
sema_test.go
semasleep_test.go
sigaction.go
signal_386.go
signal_aix_ppc64.go
signal_amd64.go
signal_arm.go
signal_arm64.go
signal_darwin.go
signal_darwin_amd64.go
signal_darwin_arm64.go
signal_dragonfly.go
signal_dragonfly_amd64.go
signal_freebsd.go
signal_freebsd_386.go
signal_freebsd_amd64.go
signal_freebsd_arm.go
signal_freebsd_arm64.go runtime: unify the method signature for *sigctxt.fault 2023-09-20 18:20:42 +00:00
signal_freebsd_riscv64.go
signal_linux_386.go
signal_linux_amd64.go
signal_linux_arm.go
signal_linux_arm64.go
signal_linux_loong64.go
signal_linux_mips64x.go
signal_linux_mipsx.go
signal_linux_ppc64x.go runtime: support for debugger function calls on linux/ppc64le 2023-09-08 15:08:04 +00:00
signal_linux_riscv64.go
signal_linux_s390x.go
signal_loong64.go
signal_mips64x.go
signal_mipsx.go
signal_netbsd.go
signal_netbsd_386.go
signal_netbsd_amd64.go
signal_netbsd_arm.go
signal_netbsd_arm64.go
signal_openbsd.go
signal_openbsd_386.go
signal_openbsd_amd64.go
signal_openbsd_arm.go
signal_openbsd_arm64.go runtime: unify the method signature for *sigctxt.fault 2023-09-20 18:20:42 +00:00
signal_openbsd_mips64.go
signal_openbsd_ppc64.go runtime: add support for openbsd/ppc64 2023-08-22 02:48:11 +00:00
signal_openbsd_riscv64.go runtime: add runtime support for openbsd/riscv64 port 2023-10-04 02:55:17 +00:00
signal_plan9.go
signal_ppc64x.go runtime: support for debugger function calls on linux/ppc64le 2023-09-08 15:08:04 +00:00
signal_riscv64.go runtime: add runtime support for openbsd/riscv64 port 2023-10-04 02:55:17 +00:00
signal_solaris.go
signal_solaris_amd64.go
signal_unix.go runtime: no need to convert 'c.fault()' to uintptr in sighandler 2023-09-21 16:15:02 +00:00
signal_windows.go runtime: unconditionally load AddVectoredContinueHandler on Windows 2023-10-17 20:32:29 +00:00
signal_windows_test.go runtime: support SetUnhandledExceptionFilter on Windows 2023-10-05 08:26:52 +00:00
sigqueue.go
sigqueue_note.go
sigqueue_plan9.go
sigtab_aix.go
sigtab_linux_generic.go
sigtab_linux_mipsx.go
sizeclasses.go runtime: implement Pinner API for object pinning 2023-05-19 14:59:14 +00:00
sizeof_test.go runtime: add execution tracer v2 behind GOEXPERIMENT=exectracer2 2023-11-10 15:49:59 +00:00
slice.go runtime: implement experiment to replace heap bitmap with alloc headers 2023-11-09 19:58:08 +00:00
slice_test.go
softfloat64.go
softfloat64_test.go
stack.go runtime: drop stack-allocated pcvalueCaches 2023-08-21 21:06:52 +00:00
stack_test.go all: fix spelling errors 2023-06-14 00:03:57 +00:00
start_line_amd64_test.go
start_line_test.go
stkframe.go all: clean unnecessary casts 2023-09-18 20:01:34 +00:00
string.go runtime: implement experiment to replace heap bitmap with alloc headers 2023-11-09 19:58:08 +00:00
string_test.go
stubs.go runtime: implement experiment to replace heap bitmap with alloc headers 2023-11-09 19:58:08 +00:00
stubs2.go
stubs3.go
stubs_386.go runtime: rename getcallerfp to getfp 2023-05-22 10:04:13 +00:00
stubs_amd64.go runtime: support SetUnhandledExceptionFilter on Windows 2023-10-05 08:26:52 +00:00
stubs_arm.go runtime: rename getcallerfp to getfp 2023-05-22 10:04:13 +00:00
stubs_arm64.go runtime: rename getcallerfp to getfp 2023-05-22 10:04:13 +00:00
stubs_linux.go
stubs_loong64.go runtime: rename getcallerfp to getfp 2023-05-22 10:04:13 +00:00
stubs_mips64x.go runtime: rename getcallerfp to getfp 2023-05-22 10:04:13 +00:00
stubs_mipsx.go runtime: rename getcallerfp to getfp 2023-05-22 10:04:13 +00:00
stubs_nonlinux.go
stubs_ppc64.go
stubs_ppc64x.go runtime: add support for openbsd/ppc64 2023-08-22 02:48:11 +00:00
stubs_riscv64.go runtime: add runtime support for openbsd/riscv64 port 2023-10-04 02:55:17 +00:00
stubs_s390x.go runtime: rename getcallerfp to getfp 2023-05-22 10:04:13 +00:00
symtab.go runtime: add available godoc link 2023-11-08 16:59:11 +00:00
symtab_test.go
symtabinl.go runtime: drop stack-allocated pcvalueCaches 2023-08-21 21:06:52 +00:00
symtabinl_test.go runtime: drop stack-allocated pcvalueCaches 2023-08-21 21:06:52 +00:00
sys_aix_ppc64.s
sys_arm.go
sys_arm64.go
sys_darwin.go runtime,runtime/pprof: get memory mappings on darwin. 2023-08-03 16:07:59 +00:00
sys_darwin_amd64.s runtime,runtime/pprof: get memory mappings on darwin. 2023-08-03 16:07:59 +00:00
sys_darwin_arm64.go
sys_darwin_arm64.s runtime,runtime/pprof: get memory mappings on darwin. 2023-08-03 16:07:59 +00:00
sys_dragonfly_amd64.s runtime: implement SUID/SGID protections 2023-06-06 18:49:01 +00:00
sys_freebsd_386.s runtime: implement SUID/SGID protections 2023-06-06 18:49:01 +00:00
sys_freebsd_amd64.s runtime: implement SUID/SGID protections 2023-06-06 18:49:01 +00:00
sys_freebsd_arm.s runtime: implement SUID/SGID protections 2023-06-06 18:49:01 +00:00
sys_freebsd_arm64.s runtime: implement SUID/SGID protections 2023-06-06 18:49:01 +00:00
sys_freebsd_riscv64.s runtime: implement SUID/SGID protections 2023-06-06 18:49:01 +00:00
sys_libc.go
sys_linux_386.s
sys_linux_amd64.s
sys_linux_arm.s
sys_linux_arm64.s
sys_linux_loong64.s runtime, cmd/go: enable memory sanitizer on linux/loong64 2023-08-25 20:58:13 +00:00
sys_linux_mips64x.s
sys_linux_mipsx.s
sys_linux_ppc64x.s
sys_linux_riscv64.s all: clean up addition of constants in riscv64 assembly 2023-11-09 13:57:06 +00:00
sys_linux_s390x.s
sys_loong64.go
sys_mips64x.go
sys_mipsx.go
sys_netbsd_386.s runtime: implement SUID/SGID protections 2023-06-06 18:49:01 +00:00
sys_netbsd_amd64.s runtime: implement SUID/SGID protections 2023-06-06 18:49:01 +00:00
sys_netbsd_arm.s runtime: implement SUID/SGID protections 2023-06-06 18:49:01 +00:00
sys_netbsd_arm64.s runtime: implement SUID/SGID protections 2023-06-06 18:49:01 +00:00
sys_nonppc64x.go
sys_openbsd.go
sys_openbsd1.go
sys_openbsd2.go runtime: implement SUID/SGID protections 2023-06-06 18:49:01 +00:00
sys_openbsd3.go
sys_openbsd_386.s runtime: implement SUID/SGID protections 2023-06-06 18:49:01 +00:00
sys_openbsd_amd64.s runtime: implement SUID/SGID protections 2023-06-06 18:49:01 +00:00
sys_openbsd_arm.s runtime: implement SUID/SGID protections 2023-06-06 18:49:01 +00:00
sys_openbsd_arm64.s runtime: implement SUID/SGID protections 2023-06-06 18:49:01 +00:00
sys_openbsd_mips64.s runtime: implement SUID/SGID protections 2023-06-06 18:49:01 +00:00
sys_openbsd_ppc64.s runtime: add support for openbsd/ppc64 2023-08-22 02:48:11 +00:00
sys_openbsd_riscv64.s runtime: add runtime support for openbsd/riscv64 port 2023-10-04 02:55:17 +00:00
sys_plan9_386.s
sys_plan9_amd64.s
sys_plan9_arm.s
sys_ppc64x.go
sys_riscv64.go
sys_s390x.go
sys_solaris_amd64.s
sys_wasm.go
sys_wasm.s
sys_windows_386.s runtime: implement usleep in Go instead of assembly on Windows 2023-09-21 15:56:43 +00:00
sys_windows_amd64.s runtime: support SetUnhandledExceptionFilter on Windows 2023-10-05 08:26:52 +00:00
sys_windows_arm.s runtime: implement usleep in Go instead of assembly on Windows 2023-09-21 15:56:43 +00:00
sys_windows_arm64.s runtime: implement usleep in Go instead of assembly on Windows 2023-09-21 15:56:43 +00:00
sys_x86.go
syscall2_solaris.go runtime: implement SUID/SGID protections 2023-06-06 18:49:01 +00:00
syscall_aix.go
syscall_solaris.go runtime: implement SUID/SGID protections 2023-06-06 18:49:01 +00:00
syscall_unix_test.go
syscall_windows.go runtime: move per-type types to internal/abi 2023-05-11 13:45:40 +00:00
syscall_windows_test.go runtime: remove unnecessary timeout in TestCallbackInAnotherThread 2023-08-31 16:31:35 +00:00
tagptr.go
tagptr_32bit.go
tagptr_64bit.go
test_amd64.go runtime: ignore SPWrite on innermost traceback frame 2023-09-06 14:45:46 +00:00
test_amd64.s runtime: ignore SPWrite on innermost traceback frame 2023-09-06 14:45:46 +00:00
test_stubs.go runtime: ignore SPWrite on innermost traceback frame 2023-09-06 14:45:46 +00:00
textflag.h
time.go all: clean unnecessary casts 2023-09-18 20:01:34 +00:00
time_fake.go
time_linux_amd64.s
time_nofake.go
time_test.go
time_windows.h
time_windows_386.s runtime: remove slow time compatibility hacks for wine 2023-09-07 17:19:45 +00:00
time_windows_amd64.s runtime: remove slow time compatibility hacks for wine 2023-09-07 17:19:45 +00:00
time_windows_arm.s runtime: remove slow time compatibility hacks for wine 2023-09-07 17:19:45 +00:00
time_windows_arm64.s runtime: remove slow time compatibility hacks for wine 2023-09-07 17:19:45 +00:00
timeasm.go
timestub.go
timestub2.go
tls_arm.s
tls_arm64.h
tls_arm64.s
tls_loong64.s
tls_mips64x.s
tls_mipsx.s
tls_ppc64x.s runtime: add support for openbsd/ppc64 2023-08-22 02:48:11 +00:00
tls_riscv64.s runtime: add runtime support for openbsd/riscv64 port 2023-10-04 02:55:17 +00:00
tls_s390x.s
tls_stub.go
tls_windows_amd64.go
trace.go runtime: add execution tracer v2 behind GOEXPERIMENT=exectracer2 2023-11-10 15:49:59 +00:00
trace2.go runtime: add execution tracer v2 behind GOEXPERIMENT=exectracer2 2023-11-10 15:49:59 +00:00
trace2buf.go runtime: add execution tracer v2 behind GOEXPERIMENT=exectracer2 2023-11-10 15:49:59 +00:00
trace2cpu.go runtime: add execution tracer v2 behind GOEXPERIMENT=exectracer2 2023-11-10 15:49:59 +00:00
trace2event.go runtime: add execution tracer v2 behind GOEXPERIMENT=exectracer2 2023-11-10 15:49:59 +00:00
trace2map.go runtime: add execution tracer v2 behind GOEXPERIMENT=exectracer2 2023-11-10 15:49:59 +00:00
trace2region.go runtime: add execution tracer v2 behind GOEXPERIMENT=exectracer2 2023-11-10 15:49:59 +00:00
trace2runtime.go runtime: add execution tracer v2 behind GOEXPERIMENT=exectracer2 2023-11-10 15:49:59 +00:00
trace2stack.go runtime: add execution tracer v2 behind GOEXPERIMENT=exectracer2 2023-11-10 15:49:59 +00:00
trace2status.go runtime: add execution tracer v2 behind GOEXPERIMENT=exectracer2 2023-11-10 15:49:59 +00:00
trace2string.go runtime: add execution tracer v2 behind GOEXPERIMENT=exectracer2 2023-11-10 15:49:59 +00:00
trace2time.go runtime: add execution tracer v2 behind GOEXPERIMENT=exectracer2 2023-11-10 15:49:59 +00:00
trace_cgo_test.go runtime: add execution tracer v2 behind GOEXPERIMENT=exectracer2 2023-11-10 15:49:59 +00:00
traceback.go runtime: don't print "unexpected SPWRITE" when printing traceback 2023-10-12 20:11:47 +00:00
traceback_test.go runtime: test change to adapt to new inliner 2023-09-08 23:04:18 +00:00
tracebackx_test.go runtime: ignore SPWrite on innermost traceback frame 2023-09-06 14:45:46 +00:00
type.go runtime: move per-type types to internal/abi 2023-05-11 13:45:40 +00:00
typekind.go
unsafe.go
unsafepoint_test.go runtime: test that write barriers are correctly marked unpreemptible 2023-08-11 20:24:56 +00:00
utf8.go
vdso_elf32.go
vdso_elf64.go
vdso_freebsd.go
vdso_freebsd_arm.go
vdso_freebsd_arm64.go
vdso_freebsd_riscv64.go
vdso_freebsd_x86.go
vdso_in_none.go
vdso_linux.go
vdso_linux_386.go
vdso_linux_amd64.go
vdso_linux_arm.go
vdso_linux_arm64.go runtime: correct linux-arm64 vdso hash codes 2023-08-31 00:15:25 +00:00
vdso_linux_loong64.go
vdso_linux_mips64x.go
vdso_linux_ppc64x.go
vdso_linux_riscv64.go
vdso_linux_s390x.go all: drop old +build lines 2023-10-19 23:33:27 +00:00
vdso_test.go all: use ^TestName$ regular pattern for invoking a single test 2023-09-05 23:35:29 +00:00
vlop_386.s
vlop_arm.s
vlop_arm_test.go
vlrt.go
wincallback.go
write_err.go
write_err_android.go
zcallback_windows.go
zcallback_windows.s
zcallback_windows_arm.s
zcallback_windows_arm64.s