|
@@ -426,6 +426,9 @@ func (r *Registry) handleEvents(ch <-chan ebpftracer.Event) {
|
|
|
}
|
|
}
|
|
|
if common.IsOpenFilter() && common.IsFilterPid(e.Pid) {
|
|
if common.IsOpenFilter() && common.IsFilterPid(e.Pid) {
|
|
|
c.WhiteSettingInfo.AppName = enums.TestApp
|
|
c.WhiteSettingInfo.AppName = enums.TestApp
|
|
|
|
|
+ if os.Getenv("APP_NAME") != "" {
|
|
|
|
|
+ c.WhiteSettingInfo.AppName = os.Getenv("APP_NAME")
|
|
|
|
|
+ }
|
|
|
c.WhiteSettingInfo.WhiteStackSettingInfo.WhiteList = os.Getenv("WHITE_LIST")
|
|
c.WhiteSettingInfo.WhiteStackSettingInfo.WhiteList = os.Getenv("WHITE_LIST")
|
|
|
err := c.RegisterAppInfo(r, e.Pid)
|
|
err := c.RegisterAppInfo(r, e.Pid)
|
|
|
if err != nil {
|
|
if err != nil {
|