@@ -1504,8 +1504,8 @@ func (c *Container) attachJavaAotUprobes(tracer *ebpftracer.Tracer, pid uint32)
return nil
}
codeType := c.GetCodeTypeFromCache(pid)
- if !p.jvmUprobesChecked {
- p.jvmUprobesChecked = true
+ if !p.jvmAttachOnce {
+ p.jvmAttachOnce = true
rootfs := c.getRootfs()
tracer.InitKProcInfo(pid, &c.AppInfo)