- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for setCurrentConfig (0.14 sec)
-
src/cmd/vendor/github.com/google/pprof/internal/driver/config.go
// flags and interactive assignments. var currentCfg = defaultConfig() var currentMu sync.Mutex func currentConfig() config { currentMu.Lock() defer currentMu.Unlock() return currentCfg } func setCurrentConfig(cfg config) { currentMu.Lock() defer currentMu.Unlock() currentCfg = cfg } // configField contains metadata for a single configuration field. type configField struct {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 16 15:19:53 UTC 2024 - 10.5K bytes - Viewed (0) -
src/cmd/vendor/github.com/google/pprof/internal/driver/cli.go
return nil, nil, errors.New("must have base profile to normalize by") } source.Normalize = normalize if bu, ok := o.Obj.(*binutils.Binutils); ok { bu.SetTools(*flagTools) } setCurrentConfig(cfg) return source, cmd, nil } // addBaseProfiles adds the list of base profiles or diff base profiles to // the source. This function will return an error if both base and diff base
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 15 16:39:48 UTC 2023 - 12.1K bytes - Viewed (0)