OXIESEC PANEL
- Current Dir:
/
/
opt
/
golang
/
1.19.4
/
src
/
runtime
Server IP: 2a02:4780:11:1084:0:327f:3464:10
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
12/01/2022 06:13:58 PM
rwxr-xr-x
📄
HACKING.md
15.29 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
Makefile
178 bytes
12/01/2022 06:12:59 PM
rw-r--r--
📄
abi_test.go
2.83 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
alg.go
9.45 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
align_runtime_test.go
2.73 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
align_test.go
5.26 KB
12/01/2022 06:12:59 PM
rw-r--r--
📁
asan
-
12/01/2022 06:13:56 PM
rwxr-xr-x
📄
asan.go
1.55 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
asan0.go
761 bytes
12/01/2022 06:12:59 PM
rw-r--r--
📄
asan_amd64.s
2.46 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
asan_arm64.s
2.15 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
asan_riscv64.s
1.92 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
asm.s
278 bytes
12/01/2022 06:12:59 PM
rw-r--r--
📄
asm_386.s
40.43 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
asm_amd64.h
411 bytes
12/01/2022 06:12:59 PM
rw-r--r--
📄
asm_amd64.s
57.44 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
asm_arm.s
30.2 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
asm_arm64.s
41.41 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
asm_loong64.s
21.79 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
asm_mips64x.s
22.43 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
asm_mipsx.s
24.41 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
asm_ppc64x.h
1023 bytes
12/01/2022 06:12:59 PM
rw-r--r--
📄
asm_ppc64x.s
35.21 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
asm_riscv64.s
26.43 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
asm_s390x.s
26.08 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
asm_wasm.s
9.38 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
atomic_arm64.s
259 bytes
12/01/2022 06:12:59 PM
rw-r--r--
📄
atomic_loong64.s
245 bytes
12/01/2022 06:12:59 PM
rw-r--r--
📄
atomic_mips64x.s
300 bytes
12/01/2022 06:12:59 PM
rw-r--r--
📄
atomic_mipsx.s
262 bytes
12/01/2022 06:12:59 PM
rw-r--r--
📄
atomic_pointer.go
2.62 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
atomic_ppc64x.s
437 bytes
12/01/2022 06:12:59 PM
rw-r--r--
📄
atomic_riscv64.s
275 bytes
12/01/2022 06:12:59 PM
rw-r--r--
📄
auxv_none.go
298 bytes
12/01/2022 06:12:59 PM
rw-r--r--
📄
callers_test.go
8.44 KB
12/01/2022 06:12:59 PM
rw-r--r--
📁
cgo
-
12/01/2022 06:13:56 PM
rwxr-xr-x
📄
cgo.go
2 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
cgo_mmap.go
2.4 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
cgo_ppc64x.go
418 bytes
12/01/2022 06:12:59 PM
rw-r--r--
📄
cgo_sigaction.go
3.28 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
cgocall.go
19.12 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
cgocallback.go
317 bytes
12/01/2022 06:12:59 PM
rw-r--r--
📄
cgocheck.go
6.86 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
chan.go
23.73 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
chan_test.go
23.37 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
chanbarrier_test.go
1.4 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
checkptr.go
3.29 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
checkptr_test.go
2.73 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
closure_test.go
937 bytes
12/01/2022 06:12:59 PM
rw-r--r--
📄
compiler.go
410 bytes
12/01/2022 06:12:59 PM
rw-r--r--
📄
complex.go
1.59 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
complex_test.go
1.05 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
conv_wasm_test.go
2.96 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
cpuflags.go
810 bytes
12/01/2022 06:12:59 PM
rw-r--r--
📄
cpuflags_amd64.go
533 bytes
12/01/2022 06:12:59 PM
rw-r--r--
📄
cpuflags_arm64.go
334 bytes
12/01/2022 06:12:59 PM
rw-r--r--
📄
cpuprof.go
7.78 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
cputicks.go
449 bytes
12/01/2022 06:12:59 PM
rw-r--r--
📄
crash_cgo_test.go
18.14 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
crash_test.go
21.77 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
crash_unix_test.go
8.39 KB
12/01/2022 06:12:59 PM
rw-r--r--
📁
debug
-
12/01/2022 06:13:56 PM
rwxr-xr-x
📄
debug.go
3.23 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
debug_test.go
7.98 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
debugcall.go
6.19 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
debuglog.go
17.87 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
debuglog_off.go
357 bytes
12/01/2022 06:12:59 PM
rw-r--r--
📄
debuglog_on.go
1.09 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
debuglog_test.go
4.56 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
defer_test.go
11.56 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
defs1_linux.go
845 bytes
12/01/2022 06:12:59 PM
rw-r--r--
📄
defs1_netbsd_386.go
2.83 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
defs1_netbsd_amd64.go
3.06 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
defs1_netbsd_arm.go
2.94 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
defs1_netbsd_arm64.go
3.17 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
defs1_solaris_amd64.go
4 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
defs2_linux.go
3.51 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
defs3_linux.go
1.09 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
defs_aix.go
4.16 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
defs_aix_ppc64.go
3.61 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
defs_arm_linux.go
2.67 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
defs_darwin.go
3.78 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
defs_darwin_amd64.go
6.07 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
defs_darwin_arm64.go
3.89 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
defs_dragonfly.go
2.59 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
defs_dragonfly_amd64.go
3.29 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
defs_freebsd.go
3.82 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
defs_freebsd_386.go
4.36 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
defs_freebsd_amd64.go
4.63 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
defs_freebsd_arm.go
3.69 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
defs_freebsd_arm64.go
4.01 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
defs_illumos_amd64.go
285 bytes
12/01/2022 06:12:59 PM
rw-r--r--
📄
defs_linux.go
3.25 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
defs_linux_386.go
4.42 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
defs_linux_amd64.go
4.93 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
defs_linux_arm.go
4.11 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
defs_linux_arm64.go
3.86 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
defs_linux_loong64.go
3.68 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
defs_linux_mips64x.go
3.85 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
defs_linux_mipsx.go
3.83 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
defs_linux_ppc64.go
3.93 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
defs_linux_ppc64le.go
3.93 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
defs_linux_riscv64.go
4.06 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
defs_linux_s390x.go
3.41 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
defs_netbsd.go
2.72 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
defs_netbsd_386.go
855 bytes
12/01/2022 06:12:59 PM
rw-r--r--
📄
defs_netbsd_amd64.go
1.01 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
defs_netbsd_arm.go
764 bytes
12/01/2022 06:12:59 PM
rw-r--r--
📄
defs_openbsd.go
3.09 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
defs_openbsd_386.go
2.87 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
defs_openbsd_amd64.go
3.07 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
defs_openbsd_arm.go
2.99 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
defs_openbsd_arm64.go
2.74 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
defs_openbsd_mips64.go
2.64 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
defs_plan9_386.go
1.63 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
defs_plan9_amd64.go
1.82 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
defs_plan9_arm.go
1.73 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
defs_solaris.go
3.31 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
defs_solaris_amd64.go
1004 bytes
12/01/2022 06:12:59 PM
rw-r--r--
📄
defs_windows.go
2.09 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
defs_windows_386.go
1.98 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
defs_windows_amd64.go
2.71 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
defs_windows_arm.go
2.11 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
defs_windows_arm64.go
2.63 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
duff_386.s
8.24 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
duff_amd64.s
5.62 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
duff_arm.s
7.11 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
duff_arm64.s
5.27 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
duff_loong64.s
12 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
duff_mips64x.s
11.28 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
duff_ppc64x.s
7.06 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
duff_riscv64.s
11.4 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
duff_s390x.s
507 bytes
12/01/2022 06:12:59 PM
rw-r--r--
📄
env_plan9.go
3 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
env_posix.go
1.79 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
env_test.go
1.16 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
error.go
9.21 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
example_test.go
1.55 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
export_aix_test.go
234 bytes
12/01/2022 06:12:59 PM
rw-r--r--
📄
export_arm_test.go
226 bytes
12/01/2022 06:12:59 PM
rw-r--r--
📄
export_darwin_test.go
382 bytes
12/01/2022 06:12:59 PM
rw-r--r--
📄
export_debug_amd64_test.go
3.6 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
export_debug_arm64_test.go
3.49 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
export_debug_test.go
5.05 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
export_debuglog_test.go
1.24 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
export_linux_test.go
550 bytes
12/01/2022 06:12:59 PM
rw-r--r--
📄
export_mmap_test.go
429 bytes
12/01/2022 06:12:59 PM
rw-r--r--
📄
export_pipe2_test.go
310 bytes
12/01/2022 06:12:59 PM
rw-r--r--
📄
export_pipe_test.go
219 bytes
12/01/2022 06:12:59 PM
rw-r--r--
📄
export_solaris_test.go
282 bytes
12/01/2022 06:12:59 PM
rw-r--r--
📄
export_test.go
38.87 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
export_unix_test.go
2.18 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
export_windows_test.go
677 bytes
12/01/2022 06:12:59 PM
rw-r--r--
📄
extern.go
13.62 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
fastlog2.go
1.22 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
fastlog2_test.go
784 bytes
12/01/2022 06:12:59 PM
rw-r--r--
📄
fastlog2table.go
904 bytes
12/01/2022 06:12:59 PM
rw-r--r--
📄
float.go
1.35 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
float_test.go
699 bytes
12/01/2022 06:12:59 PM
rw-r--r--
📄
funcdata.h
2.55 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
gc_test.go
20.04 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
gcinfo_test.go
5.59 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
go_tls.h
366 bytes
12/01/2022 06:12:59 PM
rw-r--r--
📄
hash32.go
1.58 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
hash64.go
1.95 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
hash_test.go
16.77 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
heapdump.go
17.65 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
histogram.go
6.19 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
histogram_test.go
3.42 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
iface.go
15.66 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
iface_test.go
7.45 KB
12/01/2022 06:12:59 PM
rw-r--r--
📁
internal
-
12/01/2022 06:13:56 PM
rwxr-xr-x
📄
lfstack.go
1.77 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
lfstack_32bit.go
532 bytes
12/01/2022 06:12:59 PM
rw-r--r--
📄
lfstack_64bit.go
2.18 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
lfstack_test.go
2.77 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
libfuzzer.go
6.5 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
libfuzzer_amd64.s
5.01 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
libfuzzer_arm64.s
3.15 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
lock_futex.go
5.19 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
lock_js.go
6.14 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
lock_sema.go
6.74 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
lockrank.go
13.26 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
lockrank_off.go
1.14 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
lockrank_on.go
9.83 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
lockrank_test.go
1.15 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
malloc.go
51.01 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
malloc_test.go
10.78 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
map.go
43.52 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
map_benchmark_test.go
10.48 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
map_fast32.go
12.72 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
map_fast64.go
12.91 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
map_faststr.go
14.3 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
map_test.go
27.44 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
mbarrier.go
12.43 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
mbitmap.go
66.08 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
mcache.go
10 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
mcentral.go
7.9 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
mcheckmark.go
2.81 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
mem.go
6.23 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
mem_aix.go
1.9 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
mem_bsd.go
2.03 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
mem_darwin.go
1.84 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
mem_js.go
2.25 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
mem_linux.go
6.15 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
mem_plan9.go
4.32 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
mem_windows.go
3.76 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
memclr_386.s
2.38 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
memclr_amd64.s
4.91 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
memclr_arm.s
2.6 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
memclr_arm64.s
3.62 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
memclr_loong64.s
778 bytes
12/01/2022 06:12:59 PM
rw-r--r--
📄
memclr_mips64x.s
1.72 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
memclr_mipsx.s
1.32 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
memclr_plan9_386.s
983 bytes
12/01/2022 06:12:59 PM
rw-r--r--
📄
memclr_plan9_amd64.s
511 bytes
12/01/2022 06:12:59 PM
rw-r--r--
📄
memclr_ppc64x.s
4.23 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
memclr_riscv64.s
978 bytes
12/01/2022 06:12:59 PM
rw-r--r--
📄
memclr_s390x.s
1.96 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
memclr_wasm.s
622 bytes
12/01/2022 06:12:59 PM
rw-r--r--
📄
memmove_386.s
4.42 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
memmove_amd64.s
12.48 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
memmove_arm.s
5.9 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
memmove_arm64.s
5.96 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
memmove_linux_amd64_test.go
1.6 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
memmove_loong64.s
1.8 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
memmove_mips64x.s
1.83 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
memmove_mipsx.s
4.4 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
memmove_plan9_386.s
3.06 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
memmove_plan9_amd64.s
3.04 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
memmove_ppc64x.s
4.58 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
memmove_riscv64.s
1.86 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
memmove_s390x.s
2.92 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
memmove_test.go
14.03 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
memmove_wasm.s
1.74 KB
12/01/2022 06:12:59 PM
rw-r--r--
📁
metrics
-
12/01/2022 06:13:56 PM
rwxr-xr-x
📄
metrics.go
18.71 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
metrics_test.go
14.74 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
mfinal.go
16.34 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
mfinal_test.go
6.19 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
mfixalloc.go
3.07 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
mgc.go
56.37 KB
12/01/2022 06:12:59 PM
rw-r--r--
📄
mgclimit.go
17.26 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
mgclimit_test.go
9.02 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
mgcmark.go
47.47 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
mgcpacer.go
60.12 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
mgcpacer_test.go
40.43 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
mgcscavenge.go
41.29 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
mgcscavenge_test.go
20.33 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
mgcstack.go
10.58 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
mgcsweep.go
27.89 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
mgcwork.go
12.86 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
mheap.go
69.14 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
mkduff.go
8.01 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
mkfastlog2table.go
3.08 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
mkpreempt.go
15.12 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
mksizeclasses.go
9.3 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
mmap.go
821 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
mpagealloc.go
36.84 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
mpagealloc_32bit.go
3.81 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
mpagealloc_64bit.go
9.44 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
mpagealloc_test.go
32.59 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
mpagecache.go
5.46 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
mpagecache_test.go
10.79 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
mpallocbits.go
12.6 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
mpallocbits_test.go
13.69 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
mprof.go
38.51 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
mranges.go
13.64 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
mranges_test.go
5.68 KB
12/01/2022 06:13:00 PM
rw-r--r--
📁
msan
-
12/01/2022 06:13:56 PM
rwxr-xr-x
📄
msan.go
1.5 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
msan0.go
725 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
msan_amd64.s
2.31 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
msan_arm64.s
1.99 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
msize.go
777 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
mspanset.go
12.21 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
mstats.go
30.07 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
mwbbuf.go
9.28 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
nbpipe_fcntl_libc_test.go
470 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
nbpipe_fcntl_unix_test.go
458 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
nbpipe_pipe.go
405 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
nbpipe_pipe2.go
344 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
nbpipe_pipe_test.go
706 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
nbpipe_test.go
1.68 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
net_plan9.go
645 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
netpoll.go
18.27 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
netpoll_aix.go
4.83 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
netpoll_epoll.go
4.16 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
netpoll_fake.go
652 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
netpoll_kqueue.go
4.56 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
netpoll_os_test.go
360 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
netpoll_solaris.go
10.76 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
netpoll_stub.go
1.41 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
netpoll_windows.go
3.75 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
norace_linux_test.go
915 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
norace_test.go
983 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
numcpu_freebsd_test.go
381 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
os2_aix.go
20.45 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
os2_freebsd.go
302 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
os2_openbsd.go
296 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
os2_plan9.go
1.48 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
os2_solaris.go
320 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
os3_plan9.go
3.93 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
os3_solaris.go
17.22 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
os_aix.go
8.61 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
os_android.go
463 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
os_darwin.go
12 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
os_darwin_arm64.go
416 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
os_dragonfly.go
6.96 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
os_freebsd.go
11.61 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
os_freebsd2.go
603 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
os_freebsd_amd64.go
658 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
os_freebsd_arm.go
1.32 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
os_freebsd_arm64.go
398 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
os_freebsd_noauxv.go
241 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
os_illumos.go
3.93 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
os_js.go
3.28 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
os_linux.go
26.14 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
os_linux_arm.go
1.35 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
os_linux_arm64.go
556 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
os_linux_be64.go
824 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
os_linux_generic.go
888 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
os_linux_loong64.go
485 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
os_linux_mips64x.go
1.07 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
os_linux_mipsx.go
1.06 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
os_linux_noauxv.go
337 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
os_linux_novdso.go
347 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
os_linux_ppc64x.go
526 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
os_linux_riscv64.go
198 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
os_linux_s390x.go
316 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
os_linux_x86.go
234 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
os_netbsd.go
9.8 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
os_netbsd_386.go
617 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
os_netbsd_amd64.go
614 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
os_netbsd_arm.go
1.16 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
os_netbsd_arm64.go
856 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
os_nonopenbsd.go
437 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
os_only_solaris.go
357 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
os_openbsd.go
6.55 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
os_openbsd_arm.go
749 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
os_openbsd_arm64.go
416 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
os_openbsd_libc.go
1.71 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
os_openbsd_mips64.go
416 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
os_openbsd_syscall.go
1.27 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
os_openbsd_syscall1.go
441 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
os_openbsd_syscall2.go
2.46 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
os_plan9.go
10.3 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
os_plan9_arm.go
462 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
os_solaris.go
6.55 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
os_windows.go
44.43 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
os_windows_arm.go
511 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
os_windows_arm64.go
339 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
panic.go
40.25 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
panic32.go
4.8 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
panic_test.go
1.71 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
plugin.go
4.26 KB
12/01/2022 06:13:00 PM
rw-r--r--
📁
pprof
-
12/01/2022 06:13:56 PM
rwxr-xr-x
📄
preempt.go
15.21 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
preempt_386.s
824 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
preempt_amd64.s
1.62 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
preempt_arm.s
1.48 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
preempt_arm64.s
1.97 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
preempt_loong64.s
2.35 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
preempt_mips64x.s
2.72 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
preempt_mipsx.s
2.68 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
preempt_nonwindows.go
290 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
preempt_ppc64x.s
2.72 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
preempt_riscv64.s
2.26 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
preempt_s390x.s
1.01 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
preempt_wasm.s
176 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
print.go
5.95 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
proc.go
176.84 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
proc_runtime_test.go
1.38 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
proc_test.go
25.66 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
profbuf.go
18.26 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
profbuf_test.go
8.65 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
proflabel.go
1.52 KB
12/01/2022 06:13:00 PM
rw-r--r--
📁
race
-
12/01/2022 06:13:56 PM
rwxr-xr-x
📄
race.go
18.58 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
race0.go
2.79 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
race_amd64.s
13.82 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
race_arm64.s
14.21 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
race_ppc64le.s
17.89 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
race_s390x.s
12 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
rand_test.go
907 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
rdebug.go
553 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
relax_stub.go
598 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
rt0_aix_ppc64.s
4.33 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
rt0_android_386.s
822 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
rt0_android_amd64.s
754 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
rt0_android_arm.s
843 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
rt0_android_arm64.s
941 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
rt0_darwin_amd64.s
399 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
rt0_darwin_arm64.s
1.69 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
rt0_dragonfly_amd64.s
448 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
rt0_freebsd_386.s
454 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
rt0_freebsd_amd64.s
442 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
rt0_freebsd_arm.s
298 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
rt0_freebsd_arm64.s
1.88 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
rt0_illumos_amd64.s
311 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
rt0_ios_amd64.s
425 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
rt0_ios_arm64.s
425 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
rt0_js_wasm.s
2.3 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
rt0_linux_386.s
450 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
rt0_linux_amd64.s
307 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
rt0_linux_arm.s
1007 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
rt0_linux_arm64.s
1.81 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
rt0_linux_loong64.s
716 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
rt0_linux_mips64x.s
1014 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
rt0_linux_mipsx.s
797 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
rt0_linux_ppc64.s
928 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
rt0_linux_ppc64le.s
4.35 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
rt0_linux_riscv64.s
2.65 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
rt0_linux_s390x.s
676 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
rt0_netbsd_386.s
452 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
rt0_netbsd_amd64.s
309 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
rt0_netbsd_arm.s
296 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
rt0_netbsd_arm64.s
1.8 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
rt0_openbsd_386.s
454 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
rt0_openbsd_amd64.s
311 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
rt0_openbsd_arm.s
298 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
rt0_openbsd_arm64.s
1.96 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
rt0_openbsd_mips64.s
976 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
rt0_plan9_386.s
523 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
rt0_plan9_amd64.s
481 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
rt0_plan9_arm.s
397 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
rt0_solaris_amd64.s
311 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
rt0_windows_386.s
1.28 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
rt0_windows_amd64.s
986 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
rt0_windows_arm.s
386 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
rt0_windows_arm64.s
725 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
runtime-gdb.py
15.33 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
runtime-gdb_test.go
20.93 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
runtime-lldb_test.go
4.95 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
runtime.go
1.45 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
runtime1.go
13.06 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
runtime2.go
43.07 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
runtime_boring.go
606 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
runtime_linux_test.go
1.95 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
runtime_mmap_test.go
1.77 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
runtime_test.go
11.79 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
runtime_unix_test.go
1.22 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
rwmutex.go
3.53 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
rwmutex_test.go
4.19 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
select.go
14.84 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
sema.go
16.16 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
sema_test.go
4.21 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
semasleep_test.go
3.05 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
sigaction.go
489 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
signal_386.go
1.72 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
signal_aix_ppc64.go
3.55 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
signal_amd64.go
2.73 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
signal_arm.go
2.54 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
signal_arm64.go
3.21 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
signal_darwin.go
2.13 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
signal_darwin_amd64.go
4 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
signal_darwin_arm64.go
3.6 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
signal_dragonfly.go
2.17 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
signal_dragonfly_amd64.go
2.01 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
signal_freebsd.go
2.2 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
signal_freebsd_386.go
1.55 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
signal_freebsd_amd64.go
2.03 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
signal_freebsd_arm.go
2.18 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
signal_freebsd_arm64.go
3.23 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
signal_linux_386.go
1.59 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
signal_linux_amd64.go
2.05 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
signal_linux_arm.go
2.12 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
signal_linux_arm64.go
2.95 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
signal_linux_loong64.go
3.22 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
signal_linux_mips64x.go
3.35 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
signal_linux_mipsx.go
3.67 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
signal_linux_ppc64x.go
3.42 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
signal_linux_riscv64.go
2.92 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
signal_linux_s390x.go
4.49 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
signal_loong64.go
3.09 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
signal_mips64x.go
3.18 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
signal_mipsx.go
3.06 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
signal_netbsd.go
2.18 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
signal_netbsd_386.go
1.76 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
signal_netbsd_amd64.go
2.33 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
signal_netbsd_arm.go
2.3 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
signal_netbsd_arm64.go
3.4 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
signal_openbsd.go
2.18 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
signal_openbsd_386.go
1.58 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
signal_openbsd_amd64.go
2.04 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
signal_openbsd_arm.go
2.12 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
signal_openbsd_arm64.go
3.38 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
signal_openbsd_mips64.go
3.28 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
signal_plan9.go
1.93 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
signal_ppc64x.go
3.64 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
signal_riscv64.go
2.89 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
signal_solaris.go
4.5 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
signal_solaris_amd64.go
2.47 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
signal_unix.go
41.88 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
signal_windows.go
9.27 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
signal_windows_test.go
5.29 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
sigqueue.go
7.66 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
sigqueue_note.go
648 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
sigqueue_plan9.go
3.25 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
sigtab_aix.go
11.3 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
sigtab_linux_generic.go
3.52 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
sigtab_linux_mipsx.go
5.95 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
sizeclasses.go
9.14 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
sizeof_test.go
893 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
slice.go
9.87 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
slice_test.go
10.32 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
softfloat64.go
11.54 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
softfloat64_test.go
4.04 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
stack.go
45.05 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
stack_test.go
22.39 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
string.go
13.18 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
string_test.go
12.61 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
stubs.go
19.37 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
stubs2.go
1.13 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
stubs3.go
274 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
stubs_386.go
550 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
stubs_amd64.go
1.2 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
stubs_arm.go
531 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
stubs_arm64.go
555 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
stubs_linux.go
650 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
stubs_loong64.go
276 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
stubs_mips64x.go
364 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
stubs_mipsx.go
283 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
stubs_nonlinux.go
298 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
stubs_ppc64.go
301 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
stubs_ppc64x.go
453 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
stubs_riscv64.go
460 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
stubs_s390x.go
256 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
symtab.go
35.81 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
symtab_test.go
7.48 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
sys_aix_ppc64.s
7.42 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
sys_arm.go
521 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
sys_arm64.go
469 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
sys_darwin.go
17.92 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
sys_darwin_amd64.s
19.12 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
sys_darwin_arm64.go
1.74 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
sys_darwin_arm64.s
15.95 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
sys_dragonfly_amd64.s
8.03 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
sys_freebsd_386.s
8.41 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
sys_freebsd_amd64.s
10.7 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
sys_freebsd_arm.s
10.12 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
sys_freebsd_arm64.s
9.4 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
sys_libc.go
1.84 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
sys_linux_386.s
18.31 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
sys_linux_amd64.s
16.57 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
sys_linux_arm.s
16.12 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
sys_linux_arm64.s
18.09 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
sys_linux_loong64.s
12.15 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
sys_linux_mips64x.s
13.5 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
sys_linux_mipsx.s
11.09 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
sys_linux_ppc64x.s
22.1 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
sys_linux_riscv64.s
12.59 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
sys_linux_s390x.s
13.78 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
sys_loong64.go
489 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
sys_mips64x.go
500 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
sys_mipsx.go
496 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
sys_netbsd_386.s
9.55 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
sys_netbsd_amd64.s
9.51 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
sys_netbsd_arm.s
10.41 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
sys_netbsd_arm64.s
9.38 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
sys_nonppc64x.go
245 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
sys_openbsd.go
2.59 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
sys_openbsd1.go
1.23 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
sys_openbsd2.go
8.36 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
sys_openbsd3.go
3.37 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
sys_openbsd_386.s
20.03 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
sys_openbsd_amd64.s
16.64 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
sys_openbsd_arm.s
18.15 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
sys_openbsd_arm64.s
14.84 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
sys_openbsd_mips64.s
8.6 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
sys_plan9_386.s
4.48 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
sys_plan9_amd64.s
4.55 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
sys_plan9_arm.s
7.03 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
sys_ppc64x.go
532 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
sys_riscv64.go
469 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
sys_s390x.go
469 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
sys_solaris_amd64.s
6.42 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
sys_wasm.go
754 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
sys_wasm.s
2.65 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
sys_windows_386.s
7.65 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
sys_windows_amd64.s
8.88 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
sys_windows_arm.s
11.97 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
sys_windows_arm64.s
11.45 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
sys_x86.go
552 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
syscall2_solaris.go
1.65 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
syscall_aix.go
6 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
syscall_solaris.go
8.01 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
syscall_windows.go
16.95 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
syscall_windows_test.go
32.96 KB
12/01/2022 06:13:00 PM
rw-r--r--
📁
testdata
-
12/01/2022 06:13:56 PM
rwxr-xr-x
📄
textflag.h
1.52 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
time.go
30.75 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
time_fake.go
2.5 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
time_linux_amd64.s
2.02 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
time_nofake.go
709 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
time_test.go
2.03 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
time_windows.h
753 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
time_windows_386.s
1.79 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
time_windows_amd64.s
871 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
time_windows_arm.s
2.1 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
time_windows_arm64.s
1021 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
timeasm.go
418 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
timestub.go
532 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
timestub2.go
314 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
tls_arm.s
3.45 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
tls_arm64.h
1.1 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
tls_arm64.s
1.2 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
tls_loong64.s
589 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
tls_mips64x.s
733 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
tls_mipsx.s
709 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
tls_ppc64x.s
1.5 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
tls_riscv64.s
726 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
tls_s390x.s
1.55 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
tls_stub.go
260 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
tls_windows_amd64.go
294 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📁
trace
-
12/01/2022 06:13:56 PM
rwxr-xr-x
📄
trace.go
45.8 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
traceback.go
48.18 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
traceback_test.go
11.64 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
type.go
17.43 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
typekind.go
742 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
utf8.go
3.39 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
vdso_elf32.go
2.76 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
vdso_elf64.go
2.84 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
vdso_freebsd.go
2.44 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
vdso_freebsd_arm.go
454 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
vdso_freebsd_arm64.go
443 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
vdso_freebsd_x86.go
1.85 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
vdso_in_none.go
443 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
vdso_linux.go
7.77 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
vdso_linux_386.go
669 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
vdso_linux_amd64.go
685 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
vdso_linux_arm.go
669 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
vdso_linux_arm64.go
670 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
vdso_linux_loong64.go
793 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
vdso_linux_mips64x.go
850 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
vdso_linux_ppc64x.go
672 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
vdso_linux_riscv64.go
666 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
vdso_linux_s390x.go
681 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
vlop_386.s
2.02 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
vlop_arm.s
7.06 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
vlop_arm_test.go
3.75 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
vlrt.go
6.71 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
wincallback.go
3.45 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
write_err.go
291 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
write_err_android.go
4.65 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
zcallback_windows.go
155 bytes
12/01/2022 06:13:00 PM
rw-r--r--
📄
zcallback_windows.s
63.02 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
zcallback_windows_arm.s
89.32 KB
12/01/2022 06:13:00 PM
rw-r--r--
📄
zcallback_windows_arm64.s
89.32 KB
12/01/2022 06:13:00 PM
rw-r--r--
Editing: os_linux.go
Close
// Copyright 2009 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package runtime import ( "internal/abi" "internal/goarch" "runtime/internal/atomic" "runtime/internal/syscall" "unsafe" ) // sigPerThreadSyscall is the same signal (SIGSETXID) used by glibc for // per-thread syscalls on Linux. We use it for the same purpose in non-cgo // binaries. const sigPerThreadSyscall = _SIGRTMIN + 1 type mOS struct { // profileTimer holds the ID of the POSIX interval timer for profiling CPU // usage on this thread. // // It is valid when the profileTimerValid field is non-zero. A thread // creates and manages its own timer, and these fields are read and written // only by this thread. But because some of the reads on profileTimerValid // are in signal handling code, access to that field uses atomic operations. profileTimer int32 profileTimerValid uint32 // needPerThreadSyscall indicates that a per-thread syscall is required // for doAllThreadsSyscall. needPerThreadSyscall atomic.Uint8 } //go:noescape func futex(addr unsafe.Pointer, op int32, val uint32, ts, addr2 unsafe.Pointer, val3 uint32) int32 // Linux futex. // // futexsleep(uint32 *addr, uint32 val) // futexwakeup(uint32 *addr) // // Futexsleep atomically checks if *addr == val and if so, sleeps on addr. // Futexwakeup wakes up threads sleeping on addr. // Futexsleep is allowed to wake up spuriously. const ( _FUTEX_PRIVATE_FLAG = 128 _FUTEX_WAIT_PRIVATE = 0 | _FUTEX_PRIVATE_FLAG _FUTEX_WAKE_PRIVATE = 1 | _FUTEX_PRIVATE_FLAG ) // Atomically, // // if(*addr == val) sleep // // Might be woken up spuriously; that's allowed. // Don't sleep longer than ns; ns < 0 means forever. // //go:nosplit func futexsleep(addr *uint32, val uint32, ns int64) { // Some Linux kernels have a bug where futex of // FUTEX_WAIT returns an internal error code // as an errno. Libpthread ignores the return value // here, and so can we: as it says a few lines up, // spurious wakeups are allowed. if ns < 0 { futex(unsafe.Pointer(addr), _FUTEX_WAIT_PRIVATE, val, nil, nil, 0) return } var ts timespec ts.setNsec(ns) futex(unsafe.Pointer(addr), _FUTEX_WAIT_PRIVATE, val, unsafe.Pointer(&ts), nil, 0) } // If any procs are sleeping on addr, wake up at most cnt. // //go:nosplit func futexwakeup(addr *uint32, cnt uint32) { ret := futex(unsafe.Pointer(addr), _FUTEX_WAKE_PRIVATE, cnt, nil, nil, 0) if ret >= 0 { return } // I don't know that futex wakeup can return // EAGAIN or EINTR, but if it does, it would be // safe to loop and call futex again. systemstack(func() { print("futexwakeup addr=", addr, " returned ", ret, "\n") }) *(*int32)(unsafe.Pointer(uintptr(0x1006))) = 0x1006 } func getproccount() int32 { // This buffer is huge (8 kB) but we are on the system stack // and there should be plenty of space (64 kB). // Also this is a leaf, so we're not holding up the memory for long. // See golang.org/issue/11823. // The suggested behavior here is to keep trying with ever-larger // buffers, but we don't have a dynamic memory allocator at the // moment, so that's a bit tricky and seems like overkill. const maxCPUs = 64 * 1024 var buf [maxCPUs / 8]byte r := sched_getaffinity(0, unsafe.Sizeof(buf), &buf[0]) if r < 0 { return 1 } n := int32(0) for _, v := range buf[:r] { for v != 0 { n += int32(v & 1) v >>= 1 } } if n == 0 { n = 1 } return n } // Clone, the Linux rfork. const ( _CLONE_VM = 0x100 _CLONE_FS = 0x200 _CLONE_FILES = 0x400 _CLONE_SIGHAND = 0x800 _CLONE_PTRACE = 0x2000 _CLONE_VFORK = 0x4000 _CLONE_PARENT = 0x8000 _CLONE_THREAD = 0x10000 _CLONE_NEWNS = 0x20000 _CLONE_SYSVSEM = 0x40000 _CLONE_SETTLS = 0x80000 _CLONE_PARENT_SETTID = 0x100000 _CLONE_CHILD_CLEARTID = 0x200000 _CLONE_UNTRACED = 0x800000 _CLONE_CHILD_SETTID = 0x1000000 _CLONE_STOPPED = 0x2000000 _CLONE_NEWUTS = 0x4000000 _CLONE_NEWIPC = 0x8000000 // As of QEMU 2.8.0 (5ea2fc84d), user emulation requires all six of these // flags to be set when creating a thread; attempts to share the other // five but leave SYSVSEM unshared will fail with -EINVAL. // // In non-QEMU environments CLONE_SYSVSEM is inconsequential as we do not // use System V semaphores. cloneFlags = _CLONE_VM | /* share memory */ _CLONE_FS | /* share cwd, etc */ _CLONE_FILES | /* share fd table */ _CLONE_SIGHAND | /* share sig handler table */ _CLONE_SYSVSEM | /* share SysV semaphore undo lists (see issue #20763) */ _CLONE_THREAD /* revisit - okay for now */ ) //go:noescape func clone(flags int32, stk, mp, gp, fn unsafe.Pointer) int32 // May run with m.p==nil, so write barriers are not allowed. // //go:nowritebarrier func newosproc(mp *m) { stk := unsafe.Pointer(mp.g0.stack.hi) /* * note: strace gets confused if we use CLONE_PTRACE here. */ if false { print("newosproc stk=", stk, " m=", mp, " g=", mp.g0, " clone=", abi.FuncPCABI0(clone), " id=", mp.id, " ostk=", &mp, "\n") } // Disable signals during clone, so that the new thread starts // with signals disabled. It will enable them in minit. var oset sigset sigprocmask(_SIG_SETMASK, &sigset_all, &oset) ret := clone(cloneFlags, stk, unsafe.Pointer(mp), unsafe.Pointer(mp.g0), unsafe.Pointer(abi.FuncPCABI0(mstart))) sigprocmask(_SIG_SETMASK, &oset, nil) if ret < 0 { print("runtime: failed to create new OS thread (have ", mcount(), " already; errno=", -ret, ")\n") if ret == -_EAGAIN { println("runtime: may need to increase max user processes (ulimit -u)") } throw("newosproc") } } // Version of newosproc that doesn't require a valid G. // //go:nosplit func newosproc0(stacksize uintptr, fn unsafe.Pointer) { stack := sysAlloc(stacksize, &memstats.stacks_sys) if stack == nil { write(2, unsafe.Pointer(&failallocatestack[0]), int32(len(failallocatestack))) exit(1) } ret := clone(cloneFlags, unsafe.Pointer(uintptr(stack)+stacksize), nil, nil, fn) if ret < 0 { write(2, unsafe.Pointer(&failthreadcreate[0]), int32(len(failthreadcreate))) exit(1) } } var failallocatestack = []byte("runtime: failed to allocate stack for the new OS thread\n") var failthreadcreate = []byte("runtime: failed to create new OS thread\n") const ( _AT_NULL = 0 // End of vector _AT_PAGESZ = 6 // System physical page size _AT_HWCAP = 16 // hardware capability bit vector _AT_RANDOM = 25 // introduced in 2.6.29 _AT_HWCAP2 = 26 // hardware capability bit vector 2 ) var procAuxv = []byte("/proc/self/auxv\x00") var addrspace_vec [1]byte func mincore(addr unsafe.Pointer, n uintptr, dst *byte) int32 func sysargs(argc int32, argv **byte) { n := argc + 1 // skip over argv, envp to get to auxv for argv_index(argv, n) != nil { n++ } // skip NULL separator n++ // now argv+n is auxv auxv := (*[1 << 28]uintptr)(add(unsafe.Pointer(argv), uintptr(n)*goarch.PtrSize)) if sysauxv(auxv[:]) != 0 { return } // In some situations we don't get a loader-provided // auxv, such as when loaded as a library on Android. // Fall back to /proc/self/auxv. fd := open(&procAuxv[0], 0 /* O_RDONLY */, 0) if fd < 0 { // On Android, /proc/self/auxv might be unreadable (issue 9229), so we fallback to // try using mincore to detect the physical page size. // mincore should return EINVAL when address is not a multiple of system page size. const size = 256 << 10 // size of memory region to allocate p, err := mmap(nil, size, _PROT_READ|_PROT_WRITE, _MAP_ANON|_MAP_PRIVATE, -1, 0) if err != 0 { return } var n uintptr for n = 4 << 10; n < size; n <<= 1 { err := mincore(unsafe.Pointer(uintptr(p)+n), 1, &addrspace_vec[0]) if err == 0 { physPageSize = n break } } if physPageSize == 0 { physPageSize = size } munmap(p, size) return } var buf [128]uintptr n = read(fd, noescape(unsafe.Pointer(&buf[0])), int32(unsafe.Sizeof(buf))) closefd(fd) if n < 0 { return } // Make sure buf is terminated, even if we didn't read // the whole file. buf[len(buf)-2] = _AT_NULL sysauxv(buf[:]) } // startupRandomData holds random bytes initialized at startup. These come from // the ELF AT_RANDOM auxiliary vector. var startupRandomData []byte func sysauxv(auxv []uintptr) int { var i int for ; auxv[i] != _AT_NULL; i += 2 { tag, val := auxv[i], auxv[i+1] switch tag { case _AT_RANDOM: // The kernel provides a pointer to 16-bytes // worth of random data. startupRandomData = (*[16]byte)(unsafe.Pointer(val))[:] case _AT_PAGESZ: physPageSize = val } archauxv(tag, val) vdsoauxv(tag, val) } return i / 2 } var sysTHPSizePath = []byte("/sys/kernel/mm/transparent_hugepage/hpage_pmd_size\x00") func getHugePageSize() uintptr { var numbuf [20]byte fd := open(&sysTHPSizePath[0], 0 /* O_RDONLY */, 0) if fd < 0 { return 0 } ptr := noescape(unsafe.Pointer(&numbuf[0])) n := read(fd, ptr, int32(len(numbuf))) closefd(fd) if n <= 0 { return 0 } n-- // remove trailing newline v, ok := atoi(slicebytetostringtmp((*byte)(ptr), int(n))) if !ok || v < 0 { v = 0 } if v&(v-1) != 0 { // v is not a power of 2 return 0 } return uintptr(v) } func osinit() { ncpu = getproccount() physHugePageSize = getHugePageSize() if iscgo { // #42494 glibc and musl reserve some signals for // internal use and require they not be blocked by // the rest of a normal C runtime. When the go runtime // blocks...unblocks signals, temporarily, the blocked // interval of time is generally very short. As such, // these expectations of *libc code are mostly met by // the combined go+cgo system of threads. However, // when go causes a thread to exit, via a return from // mstart(), the combined runtime can deadlock if // these signals are blocked. Thus, don't block these // signals when exiting threads. // - glibc: SIGCANCEL (32), SIGSETXID (33) // - musl: SIGTIMER (32), SIGCANCEL (33), SIGSYNCCALL (34) sigdelset(&sigsetAllExiting, 32) sigdelset(&sigsetAllExiting, 33) sigdelset(&sigsetAllExiting, 34) } osArchInit() } var urandom_dev = []byte("/dev/urandom\x00") func getRandomData(r []byte) { if startupRandomData != nil { n := copy(r, startupRandomData) extendRandom(r, n) return } fd := open(&urandom_dev[0], 0 /* O_RDONLY */, 0) n := read(fd, unsafe.Pointer(&r[0]), int32(len(r))) closefd(fd) extendRandom(r, int(n)) } func goenvs() { goenvs_unix() } // Called to do synchronous initialization of Go code built with // -buildmode=c-archive or -buildmode=c-shared. // None of the Go runtime is initialized. // //go:nosplit //go:nowritebarrierrec func libpreinit() { initsig(true) } // Called to initialize a new m (including the bootstrap m). // Called on the parent thread (main thread in case of bootstrap), can allocate memory. func mpreinit(mp *m) { mp.gsignal = malg(32 * 1024) // Linux wants >= 2K mp.gsignal.m = mp } func gettid() uint32 // Called to initialize a new m (including the bootstrap m). // Called on the new thread, cannot allocate memory. func minit() { minitSignals() // Cgo-created threads and the bootstrap m are missing a // procid. We need this for asynchronous preemption and it's // useful in debuggers. getg().m.procid = uint64(gettid()) } // Called from dropm to undo the effect of an minit. // //go:nosplit func unminit() { unminitSignals() } // Called from exitm, but not from drop, to undo the effect of thread-owned // resources in minit, semacreate, or elsewhere. Do not take locks after calling this. func mdestroy(mp *m) { } //#ifdef GOARCH_386 //#define sa_handler k_sa_handler //#endif func sigreturn() func sigtramp() // Called via C ABI func cgoSigtramp() //go:noescape func sigaltstack(new, old *stackt) //go:noescape func setitimer(mode int32, new, old *itimerval) //go:noescape func timer_create(clockid int32, sevp *sigevent, timerid *int32) int32 //go:noescape func timer_settime(timerid int32, flags int32, new, old *itimerspec) int32 //go:noescape func timer_delete(timerid int32) int32 //go:noescape func rtsigprocmask(how int32, new, old *sigset, size int32) //go:nosplit //go:nowritebarrierrec func sigprocmask(how int32, new, old *sigset) { rtsigprocmask(how, new, old, int32(unsafe.Sizeof(*new))) } func raise(sig uint32) func raiseproc(sig uint32) //go:noescape func sched_getaffinity(pid, len uintptr, buf *byte) int32 func osyield() //go:nosplit func osyield_no_g() { osyield() } func pipe2(flags int32) (r, w int32, errno int32) const ( _si_max_size = 128 _sigev_max_size = 64 ) //go:nosplit //go:nowritebarrierrec func setsig(i uint32, fn uintptr) { var sa sigactiont sa.sa_flags = _SA_SIGINFO | _SA_ONSTACK | _SA_RESTORER | _SA_RESTART sigfillset(&sa.sa_mask) // Although Linux manpage says "sa_restorer element is obsolete and // should not be used". x86_64 kernel requires it. Only use it on // x86. if GOARCH == "386" || GOARCH == "amd64" { sa.sa_restorer = abi.FuncPCABI0(sigreturn) } if fn == abi.FuncPCABIInternal(sighandler) { // abi.FuncPCABIInternal(sighandler) matches the callers in signal_unix.go if iscgo { fn = abi.FuncPCABI0(cgoSigtramp) } else { fn = abi.FuncPCABI0(sigtramp) } } sa.sa_handler = fn sigaction(i, &sa, nil) } //go:nosplit //go:nowritebarrierrec func setsigstack(i uint32) { var sa sigactiont sigaction(i, nil, &sa) if sa.sa_flags&_SA_ONSTACK != 0 { return } sa.sa_flags |= _SA_ONSTACK sigaction(i, &sa, nil) } //go:nosplit //go:nowritebarrierrec func getsig(i uint32) uintptr { var sa sigactiont sigaction(i, nil, &sa) return sa.sa_handler } // setSignaltstackSP sets the ss_sp field of a stackt. // //go:nosplit func setSignalstackSP(s *stackt, sp uintptr) { *(*uintptr)(unsafe.Pointer(&s.ss_sp)) = sp } //go:nosplit func (c *sigctxt) fixsigcode(sig uint32) { } // sysSigaction calls the rt_sigaction system call. // //go:nosplit func sysSigaction(sig uint32, new, old *sigactiont) { if rt_sigaction(uintptr(sig), new, old, unsafe.Sizeof(sigactiont{}.sa_mask)) != 0 { // Workaround for bugs in QEMU user mode emulation. // // QEMU turns calls to the sigaction system call into // calls to the C library sigaction call; the C // library call rejects attempts to call sigaction for // SIGCANCEL (32) or SIGSETXID (33). // // QEMU rejects calling sigaction on SIGRTMAX (64). // // Just ignore the error in these case. There isn't // anything we can do about it anyhow. if sig != 32 && sig != 33 && sig != 64 { // Use system stack to avoid split stack overflow on ppc64/ppc64le. systemstack(func() { throw("sigaction failed") }) } } } // rt_sigaction is implemented in assembly. // //go:noescape func rt_sigaction(sig uintptr, new, old *sigactiont, size uintptr) int32 func getpid() int func tgkill(tgid, tid, sig int) // signalM sends a signal to mp. func signalM(mp *m, sig int) { tgkill(getpid(), int(mp.procid), sig) } // go118UseTimerCreateProfiler enables the per-thread CPU profiler. const go118UseTimerCreateProfiler = true // validSIGPROF compares this signal delivery's code against the signal sources // that the profiler uses, returning whether the delivery should be processed. // To be processed, a signal delivery from a known profiling mechanism should // correspond to the best profiling mechanism available to this thread. Signals // from other sources are always considered valid. // //go:nosplit func validSIGPROF(mp *m, c *sigctxt) bool { code := int32(c.sigcode()) setitimer := code == _SI_KERNEL timer_create := code == _SI_TIMER if !(setitimer || timer_create) { // The signal doesn't correspond to a profiling mechanism that the // runtime enables itself. There's no reason to process it, but there's // no reason to ignore it either. return true } if mp == nil { // Since we don't have an M, we can't check if there's an active // per-thread timer for this thread. We don't know how long this thread // has been around, and if it happened to interact with the Go scheduler // at a time when profiling was active (causing it to have a per-thread // timer). But it may have never interacted with the Go scheduler, or // never while profiling was active. To avoid double-counting, process // only signals from setitimer. // // When a custom cgo traceback function has been registered (on // platforms that support runtime.SetCgoTraceback), SIGPROF signals // delivered to a thread that cannot find a matching M do this check in // the assembly implementations of runtime.cgoSigtramp. return setitimer } // Having an M means the thread interacts with the Go scheduler, and we can // check whether there's an active per-thread timer for this thread. if atomic.Load(&mp.profileTimerValid) != 0 { // If this M has its own per-thread CPU profiling interval timer, we // should track the SIGPROF signals that come from that timer (for // accurate reporting of its CPU usage; see issue 35057) and ignore any // that it gets from the process-wide setitimer (to not over-count its // CPU consumption). return timer_create } // No active per-thread timer means the only valid profiler is setitimer. return setitimer } func setProcessCPUProfiler(hz int32) { setProcessCPUProfilerTimer(hz) } func setThreadCPUProfiler(hz int32) { mp := getg().m mp.profilehz = hz if !go118UseTimerCreateProfiler { return } // destroy any active timer if atomic.Load(&mp.profileTimerValid) != 0 { timerid := mp.profileTimer atomic.Store(&mp.profileTimerValid, 0) mp.profileTimer = 0 ret := timer_delete(timerid) if ret != 0 { print("runtime: failed to disable profiling timer; timer_delete(", timerid, ") errno=", -ret, "\n") throw("timer_delete") } } if hz == 0 { // If the goal was to disable profiling for this thread, then the job's done. return } // The period of the timer should be 1/Hz. For every "1/Hz" of additional // work, the user should expect one additional sample in the profile. // // But to scale down to very small amounts of application work, to observe // even CPU usage of "one tenth" of the requested period, set the initial // timing delay in a different way: So that "one tenth" of a period of CPU // spend shows up as a 10% chance of one sample (for an expected value of // 0.1 samples), and so that "two and six tenths" periods of CPU spend show // up as a 60% chance of 3 samples and a 40% chance of 2 samples (for an // expected value of 2.6). Set the initial delay to a value in the unifom // random distribution between 0 and the desired period. And because "0" // means "disable timer", add 1 so the half-open interval [0,period) turns // into (0,period]. // // Otherwise, this would show up as a bias away from short-lived threads and // from threads that are only occasionally active: for example, when the // garbage collector runs on a mostly-idle system, the additional threads it // activates may do a couple milliseconds of GC-related work and nothing // else in the few seconds that the profiler observes. spec := new(itimerspec) spec.it_value.setNsec(1 + int64(fastrandn(uint32(1e9/hz)))) spec.it_interval.setNsec(1e9 / int64(hz)) var timerid int32 var sevp sigevent sevp.notify = _SIGEV_THREAD_ID sevp.signo = _SIGPROF sevp.sigev_notify_thread_id = int32(mp.procid) ret := timer_create(_CLOCK_THREAD_CPUTIME_ID, &sevp, &timerid) if ret != 0 { // If we cannot create a timer for this M, leave profileTimerValid false // to fall back to the process-wide setitimer profiler. return } ret = timer_settime(timerid, 0, spec, nil) if ret != 0 { print("runtime: failed to configure profiling timer; timer_settime(", timerid, ", 0, {interval: {", spec.it_interval.tv_sec, "s + ", spec.it_interval.tv_nsec, "ns} value: {", spec.it_value.tv_sec, "s + ", spec.it_value.tv_nsec, "ns}}, nil) errno=", -ret, "\n") throw("timer_settime") } mp.profileTimer = timerid atomic.Store(&mp.profileTimerValid, 1) } // perThreadSyscallArgs contains the system call number, arguments, and // expected return values for a system call to be executed on all threads. type perThreadSyscallArgs struct { trap uintptr a1 uintptr a2 uintptr a3 uintptr a4 uintptr a5 uintptr a6 uintptr r1 uintptr r2 uintptr } // perThreadSyscall is the system call to execute for the ongoing // doAllThreadsSyscall. // // perThreadSyscall may only be written while mp.needPerThreadSyscall == 0 on // all Ms. var perThreadSyscall perThreadSyscallArgs // syscall_runtime_doAllThreadsSyscall and executes a specified system call on // all Ms. // // The system call is expected to succeed and return the same value on every // thread. If any threads do not match, the runtime throws. // //go:linkname syscall_runtime_doAllThreadsSyscall syscall.runtime_doAllThreadsSyscall //go:uintptrescapes func syscall_runtime_doAllThreadsSyscall(trap, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2, err uintptr) { if iscgo { // In cgo, we are not aware of threads created in C, so this approach will not work. panic("doAllThreadsSyscall not supported with cgo enabled") } // STW to guarantee that user goroutines see an atomic change to thread // state. Without STW, goroutines could migrate Ms while change is in // progress and e.g., see state old -> new -> old -> new. // // N.B. Internally, this function does not depend on STW to // successfully change every thread. It is only needed for user // expectations, per above. stopTheWorld("doAllThreadsSyscall") // This function depends on several properties: // // 1. All OS threads that already exist are associated with an M in // allm. i.e., we won't miss any pre-existing threads. // 2. All Ms listed in allm will eventually have an OS thread exist. // i.e., they will set procid and be able to receive signals. // 3. OS threads created after we read allm will clone from a thread // that has executed the system call. i.e., they inherit the // modified state. // // We achieve these through different mechanisms: // // 1. Addition of new Ms to allm in allocm happens before clone of its // OS thread later in newm. // 2. newm does acquirem to avoid being preempted, ensuring that new Ms // created in allocm will eventually reach OS thread clone later in // newm. // 3. We take allocmLock for write here to prevent allocation of new Ms // while this function runs. Per (1), this prevents clone of OS // threads that are not yet in allm. allocmLock.lock() // Disable preemption, preventing us from changing Ms, as we handle // this M specially. // // N.B. STW and lock() above do this as well, this is added for extra // clarity. acquirem() // N.B. allocmLock also prevents concurrent execution of this function, // serializing use of perThreadSyscall, mp.needPerThreadSyscall, and // ensuring all threads execute system calls from multiple calls in the // same order. r1, r2, errno := syscall.Syscall6(trap, a1, a2, a3, a4, a5, a6) if GOARCH == "ppc64" || GOARCH == "ppc64le" { // TODO(https://go.dev/issue/51192 ): ppc64 doesn't use r2. r2 = 0 } if errno != 0 { releasem(getg().m) allocmLock.unlock() startTheWorld() return r1, r2, errno } perThreadSyscall = perThreadSyscallArgs{ trap: trap, a1: a1, a2: a2, a3: a3, a4: a4, a5: a5, a6: a6, r1: r1, r2: r2, } // Wait for all threads to start. // // As described above, some Ms have been added to allm prior to // allocmLock, but not yet completed OS clone and set procid. // // At minimum we must wait for a thread to set procid before we can // send it a signal. // // We take this one step further and wait for all threads to start // before sending any signals. This prevents system calls from getting // applied twice: once in the parent and once in the child, like so: // // A B C // add C to allm // doAllThreadsSyscall // allocmLock.lock() // signal B // <receive signal> // execute syscall // <signal return> // clone C // <thread start> // set procid // signal C // <receive signal> // execute syscall // <signal return> // // In this case, thread C inherited the syscall-modified state from // thread B and did not need to execute the syscall, but did anyway // because doAllThreadsSyscall could not be sure whether it was // required. // // Some system calls may not be idempotent, so we ensure each thread // executes the system call exactly once. for mp := allm; mp != nil; mp = mp.alllink { for atomic.Load64(&mp.procid) == 0 { // Thread is starting. osyield() } } // Signal every other thread, where they will execute perThreadSyscall // from the signal handler. gp := getg() tid := gp.m.procid for mp := allm; mp != nil; mp = mp.alllink { if atomic.Load64(&mp.procid) == tid { // Our thread already performed the syscall. continue } mp.needPerThreadSyscall.Store(1) signalM(mp, sigPerThreadSyscall) } // Wait for all threads to complete. for mp := allm; mp != nil; mp = mp.alllink { if mp.procid == tid { continue } for mp.needPerThreadSyscall.Load() != 0 { osyield() } } perThreadSyscall = perThreadSyscallArgs{} releasem(getg().m) allocmLock.unlock() startTheWorld() return r1, r2, errno } // runPerThreadSyscall runs perThreadSyscall for this M if required. // // This function throws if the system call returns with anything other than the // expected values. // //go:nosplit func runPerThreadSyscall() { gp := getg() if gp.m.needPerThreadSyscall.Load() == 0 { return } args := perThreadSyscall r1, r2, errno := syscall.Syscall6(args.trap, args.a1, args.a2, args.a3, args.a4, args.a5, args.a6) if GOARCH == "ppc64" || GOARCH == "ppc64le" { // TODO(https://go.dev/issue/51192 ): ppc64 doesn't use r2. r2 = 0 } if errno != 0 || r1 != args.r1 || r2 != args.r2 { print("trap:", args.trap, ", a123456=[", args.a1, ",", args.a2, ",", args.a3, ",", args.a4, ",", args.a5, ",", args.a6, "]\n") print("results: got {r1=", r1, ",r2=", r2, ",errno=", errno, "}, want {r1=", args.r1, ",r2=", args.r2, ",errno=0\n") fatal("AllThreadsSyscall6 results differ between threads; runtime corrupted") } gp.m.needPerThreadSyscall.Store(0) }