gvisor/runsc
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
..
boot Cleanup glog and add real caller information. 2020-01-27 16:08:35 -08:00
cgroup Standardize on tools directory. 2020-01-27 12:21:00 -08:00
cmd Fix licenses. 2020-01-27 13:23:57 -08:00
console Standardize on tools directory. 2020-01-27 12:21:00 -08:00
container Standardize on tools directory. 2020-01-27 12:21:00 -08:00
criutil Standardize on tools directory. 2020-01-27 12:21:00 -08:00
debian Fix repository build scripts. 2019-11-05 15:16:04 -08:00
dockerutil Standardize on tools directory. 2020-01-27 12:21:00 -08:00
fsgofer Standardize on tools directory. 2020-01-27 12:21:00 -08:00
sandbox Standardize on tools directory. 2020-01-27 12:21:00 -08:00
specutils Standardize on tools directory. 2020-01-27 12:21:00 -08:00
testutil Standardize on tools directory. 2020-01-27 12:21:00 -08:00
BUILD Standardize on tools directory. 2020-01-27 12:21:00 -08:00
main.go Cleanup glog and add real caller information. 2020-01-27 16:08:35 -08:00
version.go Fix `runsc --version` and add a test. 2019-09-10 15:41:47 -07:00
version_test.sh Standardize on tools directory. 2020-01-27 12:21:00 -08:00