INNER CODE UNIT · Go

execName

deepflowio/deepflow · server/cmd/server/main.go:45

func execName() string {
	splitted := strings.Split(os.Args[0], "/")
	return splitted[len(splitted)-1]
}

var log = logging.MustGetLogger(execName())

const (
	PROFILER_PORT = 9526
)

var flagSet = flag.NewFlagSet(os.Args[0], flag.ExitOnError)
var configPath = flagSet.String("f", "/etc/server.yaml", "Specify config file location")
var version = flagSet.Bool("v", false, "Display the version")

var Branch, RevCount, Revision, CommitDate, goVersion, CompileTime string

func main() {

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…