Revise the gccgo version of memory/block/mutex profiling to reduce
runtime overhead. The main change is to collect raw stack traces while
the profile is on line, then post-process the stacks just prior to the
point where we are ready to use the final product. Memory profiling
(at a very low sampling rate) is enabled by default, and the overhead
of the symbolization / DWARF-reading from backtrace_full was slowing
things down relative to the main Go runtime.
Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/171497
From-SVN: r271172
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| aeshash.c | Loading commit data... | |
| arch.h | Loading commit data... | |
| array.h | Loading commit data... | |
| defs.h | Loading commit data... | |
| env_posix.c | Loading commit data... | |
| getncpu-aix.c | Loading commit data... | |
| getncpu-bsd.c | Loading commit data... | |
| getncpu-hurd.c | Loading commit data... | |
| getncpu-irix.c | Loading commit data... | |
| getncpu-linux.c | Loading commit data... | |
| getncpu-none.c | Loading commit data... | |
| getncpu-solaris.c | Loading commit data... | |
| go-assert.c | Loading commit data... | |
| go-assert.h | Loading commit data... | |
| go-caller.c | Loading commit data... | |
| go-callers.c | Loading commit data... | |
| go-cdiv.c | Loading commit data... | |
| go-cgo.c | Loading commit data... | |
| go-construct-map.c | Loading commit data... | |
| go-ffi.c | Loading commit data... | |
| go-fieldtrack.c | Loading commit data... | |
| go-libmain.c | Loading commit data... | |
| go-main.c | Loading commit data... | |
| go-matherr.c | Loading commit data... | |
| go-memclr.c | Loading commit data... | |
| go-memcmp.c | Loading commit data... | |
| go-memequal.c | Loading commit data... | |
| go-nanotime.c | Loading commit data... | |
| go-nosys.c | Loading commit data... | |
| go-now.c | Loading commit data... | |
| go-reflect-call.c | Loading commit data... | |
| go-runtime-error.c | Loading commit data... | |
| go-setenv.c | Loading commit data... | |
| go-signal.c | Loading commit data... | |
| go-string.h | Loading commit data... | |
| go-strslice.c | Loading commit data... | |
| go-type.h | Loading commit data... | |
| go-typedesc-equal.c | Loading commit data... | |
| go-unsafe-pointer.c | Loading commit data... | |
| go-unsetenv.c | Loading commit data... | |
| go-unwind.c | Loading commit data... | |
| go-varargs.c | Loading commit data... | |
| panic.c | Loading commit data... | |
| print.c | Loading commit data... | |
| proc.c | Loading commit data... | |
| rtems-task-variable-add.c | Loading commit data... | |
| runtime.h | Loading commit data... | |
| runtime_c.c | Loading commit data... | |
| stack.c | Loading commit data... | |
| yield.c | Loading commit data... |