|
|
@@ -799,15 +799,15 @@ func (t *Tracer) AttachGoTlsUprobes(pid uint32, appInfo *AppInfo, codeType uint1
|
|
|
links = append(links, retLinks...)
|
|
|
}
|
|
|
case goReadContinuedLineSlice:
|
|
|
- if major == 1 && minor >= 24 {
|
|
|
- retLinks, err := attachUprobeWithReturns(exe, s.Name, "", "uprobe_textproto_Reader_readContinuedLineSlice_Returns", t.uprobes, address, s, textSection, textSectionLen, textSectionData, ef.Machine, "failed to attach read_exit uprobe", true)
|
|
|
- if err != nil {
|
|
|
- return nil, err
|
|
|
- }
|
|
|
- if retLinks != nil {
|
|
|
- links = append(links, retLinks...)
|
|
|
- }
|
|
|
+ //if major == 1 && minor >= 24 {
|
|
|
+ retLinks, err := attachUprobeWithReturns(exe, s.Name, "", "uprobe_textproto_Reader_readContinuedLineSlice_Returns", t.uprobes, address, s, textSection, textSectionLen, textSectionData, ef.Machine, "failed to attach read_exit uprobe", true)
|
|
|
+ if err != nil {
|
|
|
+ return nil, err
|
|
|
+ }
|
|
|
+ if retLinks != nil {
|
|
|
+ links = append(links, retLinks...)
|
|
|
}
|
|
|
+ //}
|
|
|
case goGocqlSessionExecuteQuery:
|
|
|
retLinks, err := attachUprobeWithReturns(exe, s.Name, "uprobe_Session_executeQuery", "uprobe_Session_executeQuery_Returns", t.uprobes, address, s, textSection, textSectionLen, textSectionData, ef.Machine, "failed to attach uprobe_Session_executeQuery uprobe", true)
|
|
|
if err != nil {
|