go/src/internal
Russ Cox 213495a4a6 internal/godebug: export non-default-behavior counters in runtime/metrics
Allow GODEBUG users to report how many times a setting
resulted in non-default behavior.

Record non-default-behaviors for all existing GODEBUGs.

Also rework tests to ensure that runtime is in sync with runtime/metrics.All,
and generate docs mechanically from metrics.All.

For #56986.

Change-Id: Iefa1213e2a5c3f19ea16cd53298c487952ef05a4
Reviewed-on: https://go-review.googlesource.com/c/go/+/453618
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Russ Cox <rsc@golang.org>
Run-TryBot: Russ Cox <rsc@golang.org>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
2023-01-19 22:26:43 +00:00
..
abi internal/abi, internal/buildcfg: always enable register ABI on riscv64 2022-10-24 03:45:54 +00:00
buildcfg internal/abi, internal/buildcfg: always enable register ABI on riscv64 2022-10-24 03:45:54 +00:00
bytealg internal/bytealg: add PCALIGN to indexbodyp9 function on ppc64x 2022-11-07 19:27:43 +00:00
cfg
coverage internal/coverage: use io.Seek* constants 2022-12-01 18:01:23 +00:00
cpu internal/godebug: define more efficient API 2022-11-14 15:19:57 +00:00
dag runtime: generate the lock ranking from a DAG description 2022-08-04 15:31:44 +00:00
diff
fmtsort all: remove unnecessary allocations from w.WriteString(fmt.Sprint*(...)) by fmt.Fprint*(w, ...) 2022-09-14 16:11:21 +00:00
fuzz all: add missing periods in comments 2022-11-18 17:59:44 +00:00
goarch
godebug internal/godebug: export non-default-behavior counters in runtime/metrics 2023-01-19 22:26:43 +00:00
goexperiment runtime: add page tracer 2022-11-18 03:45:30 +00:00
goos all: add missing copyright header 2022-11-09 14:05:53 +00:00
goroot cmd/go: do not confuse files for standard library packages 2023-01-17 22:30:23 +00:00
goversion internal/goversion: update Version to 1.21 2023-01-17 19:47:10 +00:00
intern internal/godebug: define more efficient API 2022-11-14 15:19:57 +00:00
itoa
lazyregexp
lazytemplate
nettrace
obscuretestdata crypto/x509: allow BoringCrypto to use 4096-bit keys 2022-11-09 14:47:58 +00:00
oserror
pkgbits cmd/compile: make a type-specialized copy of encoding/binary.ReadUvarint 2022-09-27 20:58:46 +00:00
platform cmd/go,internal/platform: enable pie buildmode for windows/arm64 2022-11-21 16:49:48 +00:00
poll syscall, internal/poll: fall back to accept on linux-arm 2022-12-16 03:40:42 +00:00
profile all: add missing periods in comments 2022-11-18 17:59:44 +00:00
race
reflectlite internal/reflectlite: use unsafe.String in name.name and name.tag 2022-11-10 18:42:48 +00:00
safefilepath internal/safefilepath: fix TestFromFS on Plan 9 2022-12-07 23:52:46 +00:00
saferio internal/saferio: handle potential total size overflow in SliceCap 2022-09-26 20:36:02 +00:00
singleflight internal/singleflight: avoid race between multiple Do calls 2022-09-30 20:49:56 +00:00
syscall os/user: fix buffer retry loop on macOS 2022-12-07 16:09:09 +00:00
sysinfo
testenv go/internal/gcimporter: load cached export data for packages individually 2022-12-01 22:04:03 +00:00
testlog
testpty cmd/go: make testterminal18153 a normal test 2022-11-16 19:00:20 +00:00
trace runtime/trace: add missing events for the locked g in extra M. 2022-09-27 16:37:51 +00:00
txtar all: replace package ioutil with os and io in src 2022-09-20 02:13:02 +00:00
types cmd/compile: remove support for old comparable semantics 2023-01-17 19:56:37 +00:00
unsafeheader
xcoff internal/xcoff: better handling of malformed symbol tables 2022-08-22 15:41:53 +00:00