gvisor/runsc/boot
Adin Scannell 253c9e666c Cleanup glog and add real caller information.
In general, we've learned that logging must be avoided at all
costs in the hot path. It's unlikely that the optimizations
here were significant in any case, since buffer would certainly
escape.

This also adds a test to ensure that the caller identification
works as expected, and so that logging can be benchmarked.

Original:
BenchmarkGoogleLogging-6   	 1222255	       949 ns/op

With this change:
BenchmarkGoogleLogging-6   	  517323	      2346 ns/op

Fixes #184

PiperOrigin-RevId: 291815420
2020-01-27 16:08:35 -08:00
..
filter Standardize on tools directory. 2020-01-27 12:21:00 -08:00
platforms Standardize on tools directory. 2020-01-27 12:21:00 -08:00
BUILD Update package locations. 2020-01-27 15:31:32 -08:00
compat.go Cleanup glog and add real caller information. 2020-01-27 16:08:35 -08:00
compat_amd64.go
compat_arm64.go
compat_test.go
config.go Leave minimum CPU number as a constant 2019-12-17 20:41:02 +03:00
controller.go Add runtime tracing. 2019-12-06 17:00:07 -08:00
debug.go
events.go Update canonical repository. 2019-06-13 16:50:15 -07:00
fds.go Update package locations. 2020-01-27 15:31:32 -08:00
fs.go Update package locations. 2020-01-27 15:31:32 -08:00
fs_test.go
limits.go New sync package. 2020-01-09 22:02:24 -08:00
loader.go New sync package. 2020-01-09 22:02:24 -08:00
loader_amd64.go
loader_arm64.go
loader_test.go Update package locations. 2020-01-27 15:31:32 -08:00
network.go Combine various Create*NIC methods into CreateNICWithOptions. 2020-01-08 14:50:49 -08:00
pprof.go
strace.go
user.go Update package locations. 2020-01-27 15:31:32 -08:00
user_test.go Update package locations. 2020-01-27 15:31:32 -08:00