-
type MemberFieldsOffset struct {
Ready uint8
TaskFilesOffset uint32
SockFlagsOffset uint32
TcpSockCopiedSeqOffset uint32
TcpSockWriteSeqOffset uint32
StructFilesStructFdtOffset uint32
StructFilesPrivateDataOffset uint32
StructFileFInodeOffset uint32
StructInodeIModeOffset uint32
StructFileDentryOffset uint32
StructDentryNameOffset uint32
StructSockFamilyOffset uint32
StructSockSaddrOffset uint32
StructSockDaddrOffset uint32
StructSockIp6saddrOffset uint32
StructSockIp6daddrOffset uint32
StructSockDportOffset uint32
StructSockSportOffset uint32
StructSockSkcStateOffset uint32
StructSockCommonIpv6onlyOffset uint32
}
...
if err := m.Update(0, []metadata.MemberFieldsOffset{offset}, ebpf.UpdateAny); err != nil {
return fmt.Errorf("更新偏移量映射失败: %w", err)
}
...
|
Beta Was this translation helpful? Give feedback.
Answered by
Ghostbaby
Oct 19, 2024
Replies: 1 comment 1 reply
-
解决方法: |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
Ghostbaby
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
解决方法:
cen-ngc5139/nfs-trace#89 (comment)