Add pprof trace support

Add pprof trace support and --enable-contention-profiling to those
components that don't already have it.
This commit is contained in:
Andy Goldstein
2017-02-28 13:43:08 -05:00
parent 302aab9ba2
commit b011529d8a
16 changed files with 47 additions and 9 deletions

View File

@@ -240,6 +240,7 @@ func newServerTest() *serverTestFramework {
stats.NewResourceAnalyzer(fw.fakeKubelet, time.Minute, &kubecontainertesting.FakeRuntime{}),
fw.fakeAuth,
true,
false,
&kubecontainertesting.Mock{},
fw.criHandler)
fw.serverUnderTest = &server