Update BUILD files reflecting code move to staging

Kubernetes-commit: dc743f7edd1b0104f09ef7dcc1e31c712f850843
This commit is contained in:
Sean Sullivan 2019-08-01 13:12:31 -07:00 committed by Kubernetes Publisher
parent 5b48717f2d
commit d35a876e3f
1 changed files with 3 additions and 3 deletions

View File

@ -30,12 +30,12 @@ var (
profileOutput string
)
func addProfilingFlags(flags *pflag.FlagSet) {
func AddProfilingFlags(flags *pflag.FlagSet) {
flags.StringVar(&profileName, "profile", "none", "Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)")
flags.StringVar(&profileOutput, "profile-output", "profile.pprof", "Name of the file to write the profile to")
}
func initProfiling() error {
func InitProfiling() error {
switch profileName {
case "none":
return nil
@ -63,7 +63,7 @@ func initProfiling() error {
return nil
}
func flushProfiling() error {
func FlushProfiling() error {
switch profileName {
case "none":
return nil