func test_config() { ini := pkg.GetConfig() //fmt.Println(ini.DumpPath) //fmt.Println(ini.OutputPath) fmt.Println(ini.SymbolPath) fmt.Println(ini.TimeInternal) }
func main() { //pkg.CollectUnitTest() pkg.InitConfig() ini := pkg.GetConfig() ini2 := pkg.ConfigCycleAdjust(ini) //fmt.Println(ini2) util.ReflectPrintln(&ini2) //pkg.OneDirDump2Json(ini2.OneDirDump2JsonInPath, ini2.OneDirDump2JsonOutPath) pkg.CallStackDistributed(ini2.CallStackDistributedInPath, ini2.CallStackDistributedOutPath, ini2.CallStackDistributedMaxLevel, ini2.CallStackDistributedMinNumber) }
func main() { fmt.Println("crash analyze begin to run!") //init pkg.InitConfig() ini := pkg.GetConfig() ini = pkg.ConfigCycleAdjust(ini) //fmt.Println("WorkParams:", ini.WorkParams) util.ReflectPrintln(&ini) //prepare //Prepare(ini) //test //Test(ini) //work Work(ini) }