MCPcopy Create free account
hub / github.com/google/pprof / setCurrentConfig

Function setCurrentConfig

internal/driver/config.go:87–91  ·  view source on GitHub ↗
(cfg config)

Source from the content-addressed store, hash-verified

85}
86
87func setCurrentConfig(cfg config) {
88 currentMu.Lock()
89 defer currentMu.Unlock()
90 currentCfg = cfg
91}
92
93// configField contains metadata for a single configuration field.
94type configField struct {

Callers 8

TestFetchWithBaseFunction · 0.85
TestHTTPSInsecureFunction · 0.85
TestShellFunction · 0.85
TestAssignFunction · 0.85
parseFlagsFunction · 0.85
TestParseFunction · 0.85
TestSymbolzAfterMergeFunction · 0.85

Calls

no outgoing calls

Tested by 7

TestFetchWithBaseFunction · 0.68
TestHTTPSInsecureFunction · 0.68
TestShellFunction · 0.68
TestAssignFunction · 0.68
TestParseFunction · 0.68
TestSymbolzAfterMergeFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…