Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/google/pprof
/ currentConfig
Function
currentConfig
internal/driver/config.go:81–85 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
79
var
currentMu sync.Mutex
80
81
func
currentConfig() config {
82
currentMu.Lock()
83
defer
currentMu.Unlock()
84
return
currentCfg
85
}
86
87
func
setCurrentConfig(cfg config) {
88
currentMu.Lock()
Callers
15
TestFetchWithBase
Function · 0.85
TestHTTPSInsecure
Function · 0.85
TestHTTPSWithServerCertFetch
Function · 0.85
TestShell
Function · 0.85
TestAssign
Function · 0.85
openBrowser
Function · 0.85
makeReport
Method · 0.85
PProf
Function · 0.85
parseFlags
Function · 0.85
greetings
Function · 0.85
printCurrentOptions
Function · 0.85
parseCommandLine
Function · 0.85
Calls
no outgoing calls
Tested by
7
TestFetchWithBase
Function · 0.68
TestHTTPSInsecure
Function · 0.68
TestHTTPSWithServerCertFetch
Function · 0.68
TestShell
Function · 0.68
TestAssign
Function · 0.68
TestParse
Function · 0.68
TestSymbolzAfterMerge
Function · 0.68
Used in the wild
real call sites across dependent graphs
searching dependent graphs…