MCPcopy Create free account
hub / github.com/SeeFlowerX/stackplz / NewModuleConfig

Function NewModuleConfig

user/config/config_module.go:794–800  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

792}
793
794func NewModuleConfig() *ModuleConfig {
795 config := &ModuleConfig{}
796 config.SelfPid = uint32(os.Getpid())
797 config.TraceGroup = util.GROUP_NONE
798 // 虽然会通过全局配置进程覆盖 但是还是做好在初始化时就进行默认赋值
799 return config
800}
801
802func (this *ModuleConfig) DefaultThreadBlacklist() []string {
803 // 通常情况下不希望追踪下面这些线程

Callers 2

BrkItFunction · 0.92
root.goFile · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected