SYMBOL INDEX (5111 symbols across 425 files) FILE: asm/alu.go type Source (line 11) | type Source constant sourceMask (line 13) | sourceMask OpCode = 0x0008 constant InvalidSource (line 19) | InvalidSource Source = 0xffff constant ImmSource (line 21) | ImmSource Source = 0x0000 constant RegSource (line 23) | RegSource Source = 0x0008 type Endianness (line 27) | type Endianness constant endianMask (line 29) | endianMask = sourceMask constant InvalidEndian (line 33) | InvalidEndian Endianness = 0xff constant LE (line 35) | LE Endianness = 0x00 constant BE (line 37) | BE Endianness = 0x08 type ALUOp (line 46) | type ALUOp method Op (line 137) | func (op ALUOp) Op(source Source) OpCode { method Reg (line 142) | func (op ALUOp) Reg(dst, src Register) Instruction { method Imm (line 151) | func (op ALUOp) Imm(dst Register, value int32) Instruction { method Op32 (line 160) | func (op ALUOp) Op32(source Source) OpCode { method Reg32 (line 165) | func (op ALUOp) Reg32(dst, src Register) Instruction { method Imm32 (line 174) | func (op ALUOp) Imm32(dst Register, value int32) Instruction { constant aluMask (line 48) | aluMask OpCode = 0x3ff0 constant InvalidALUOp (line 53) | InvalidALUOp ALUOp = 0xffff constant Add (line 55) | Add ALUOp = 0x0000 constant Sub (line 57) | Sub ALUOp = 0x0010 constant Mul (line 59) | Mul ALUOp = 0x0020 constant Div (line 61) | Div ALUOp = 0x0030 constant SDiv (line 63) | SDiv ALUOp = Div + 0x0100 constant Or (line 65) | Or ALUOp = 0x0040 constant And (line 67) | And ALUOp = 0x0050 constant LSh (line 69) | LSh ALUOp = 0x0060 constant RSh (line 71) | RSh ALUOp = 0x0070 constant Neg (line 73) | Neg ALUOp = 0x0080 constant Mod (line 75) | Mod ALUOp = 0x0090 constant SMod (line 77) | SMod ALUOp = Mod + 0x0100 constant Xor (line 79) | Xor ALUOp = 0x00a0 constant Mov (line 81) | Mov ALUOp = 0x00b0 constant MovSX8 (line 83) | MovSX8 ALUOp = Mov + 0x0100 constant MovSX16 (line 85) | MovSX16 ALUOp = Mov + 0x0200 constant MovSX32 (line 87) | MovSX32 ALUOp = Mov + 0x0300 constant ArSh (line 89) | ArSh ALUOp = 0x00c0 constant Swap (line 91) | Swap ALUOp = 0x00d0 function HostTo (line 95) | func HostTo(endian Endianness, dst Register, size Size) Instruction { function BSwap (line 116) | func BSwap(dst Register, size Size) Instruction { FILE: asm/alu_string.go function _ (line 7) | func _() { constant _Source_name_0 (line 17) | _Source_name_0 = "ImmSource" constant _Source_name_1 (line 18) | _Source_name_1 = "RegSource" constant _Source_name_2 (line 19) | _Source_name_2 = "InvalidSource" method String (line 22) | func (i Source) String() string { function _ (line 34) | func _() { constant _Endianness_name_0 (line 44) | _Endianness_name_0 = "LE" constant _Endianness_name_1 (line 45) | _Endianness_name_1 = "BE" constant _Endianness_name_2 (line 46) | _Endianness_name_2 = "InvalidEndian" method String (line 49) | func (i Endianness) String() string { function _ (line 61) | func _() { constant _ALUOp_name (line 87) | _ALUOp_name = "AddSubMulDivOrAndLShRShNegModXorMovArShSwapSDivSModMovSX8... method String (line 112) | func (i ALUOp) String() string { FILE: asm/dsl_test.go function TestDSL (line 7) | func TestDSL(t *testing.T) { FILE: asm/func.go type BuiltinFunc (line 8) | type BuiltinFunc method Call (line 18) | func (fn BuiltinFunc) Call() Instruction { function BuiltinFuncForPlatform (line 13) | func BuiltinFuncForPlatform(plat string, value uint32) (BuiltinFunc, err... FILE: asm/func_lin.go constant FnUnspec (line 11) | FnUnspec = BuiltinFunc(platform.LinuxTag | 0) constant FnMapLookupElem (line 12) | FnMapLookupElem = BuiltinFunc(platform.LinuxTag | 1) constant FnMapUpdateElem (line 13) | FnMapUpdateElem = BuiltinFunc(platform.LinuxTag | 2) constant FnMapDeleteElem (line 14) | FnMapDeleteElem = BuiltinFunc(platform.LinuxTag | 3) constant FnProbeRead (line 15) | FnProbeRead = BuiltinFunc(platform.LinuxTag | 4) constant FnKtimeGetNs (line 16) | FnKtimeGetNs = BuiltinFunc(platform.LinuxTag | 5) constant FnTracePrintk (line 17) | FnTracePrintk = BuiltinFunc(platform.LinuxTag | 6) constant FnGetPrandomU32 (line 18) | FnGetPrandomU32 = BuiltinFunc(platform.LinuxTag | 7) constant FnGetSmpProcessorId (line 19) | FnGetSmpProcessorId = BuiltinFunc(platform.LinuxTag | 8) constant FnSkbStoreBytes (line 20) | FnSkbStoreBytes = BuiltinFunc(platform.LinuxTag | 9) constant FnL3CsumReplace (line 21) | FnL3CsumReplace = BuiltinFunc(platform.LinuxTag | 10) constant FnL4CsumReplace (line 22) | FnL4CsumReplace = BuiltinFunc(platform.LinuxTag | 11) constant FnTailCall (line 23) | FnTailCall = BuiltinFunc(platform.LinuxTag | 12) constant FnCloneRedirect (line 24) | FnCloneRedirect = BuiltinFunc(platform.LinuxTag | 13) constant FnGetCurrentPidTgid (line 25) | FnGetCurrentPidTgid = BuiltinFunc(platform.LinuxTag | 14) constant FnGetCurrentUidGid (line 26) | FnGetCurrentUidGid = BuiltinFunc(platform.LinuxTag | 15) constant FnGetCurrentComm (line 27) | FnGetCurrentComm = BuiltinFunc(platform.LinuxTag | 16) constant FnGetCgroupClassid (line 28) | FnGetCgroupClassid = BuiltinFunc(platform.LinuxTag | 17) constant FnSkbVlanPush (line 29) | FnSkbVlanPush = BuiltinFunc(platform.LinuxTag | 18) constant FnSkbVlanPop (line 30) | FnSkbVlanPop = BuiltinFunc(platform.LinuxTag | 19) constant FnSkbGetTunnelKey (line 31) | FnSkbGetTunnelKey = BuiltinFunc(platform.LinuxTag | 20) constant FnSkbSetTunnelKey (line 32) | FnSkbSetTunnelKey = BuiltinFunc(platform.LinuxTag | 21) constant FnPerfEventRead (line 33) | FnPerfEventRead = BuiltinFunc(platform.LinuxTag | 22) constant FnRedirect (line 34) | FnRedirect = BuiltinFunc(platform.LinuxTag | 23) constant FnGetRouteRealm (line 35) | FnGetRouteRealm = BuiltinFunc(platform.LinuxTag | 24) constant FnPerfEventOutput (line 36) | FnPerfEventOutput = BuiltinFunc(platform.LinuxTag | 25) constant FnSkbLoadBytes (line 37) | FnSkbLoadBytes = BuiltinFunc(platform.LinuxTag | 26) constant FnGetStackid (line 38) | FnGetStackid = BuiltinFunc(platform.LinuxTag | 27) constant FnCsumDiff (line 39) | FnCsumDiff = BuiltinFunc(platform.LinuxTag | 28) constant FnSkbGetTunnelOpt (line 40) | FnSkbGetTunnelOpt = BuiltinFunc(platform.LinuxTag | 29) constant FnSkbSetTunnelOpt (line 41) | FnSkbSetTunnelOpt = BuiltinFunc(platform.LinuxTag | 30) constant FnSkbChangeProto (line 42) | FnSkbChangeProto = BuiltinFunc(platform.LinuxTag | 31) constant FnSkbChangeType (line 43) | FnSkbChangeType = BuiltinFunc(platform.LinuxTag | 32) constant FnSkbUnderCgroup (line 44) | FnSkbUnderCgroup = BuiltinFunc(platform.LinuxTag | 33) constant FnGetHashRecalc (line 45) | FnGetHashRecalc = BuiltinFunc(platform.LinuxTag | 34) constant FnGetCurrentTask (line 46) | FnGetCurrentTask = BuiltinFunc(platform.LinuxTag | 35) constant FnProbeWriteUser (line 47) | FnProbeWriteUser = BuiltinFunc(platform.LinuxTag | 36) constant FnCurrentTaskUnderCgroup (line 48) | FnCurrentTaskUnderCgroup = BuiltinFunc(platform.LinuxTag | 37) constant FnSkbChangeTail (line 49) | FnSkbChangeTail = BuiltinFunc(platform.LinuxTag | 38) constant FnSkbPullData (line 50) | FnSkbPullData = BuiltinFunc(platform.LinuxTag | 39) constant FnCsumUpdate (line 51) | FnCsumUpdate = BuiltinFunc(platform.LinuxTag | 40) constant FnSetHashInvalid (line 52) | FnSetHashInvalid = BuiltinFunc(platform.LinuxTag | 41) constant FnGetNumaNodeId (line 53) | FnGetNumaNodeId = BuiltinFunc(platform.LinuxTag | 42) constant FnSkbChangeHead (line 54) | FnSkbChangeHead = BuiltinFunc(platform.LinuxTag | 43) constant FnXdpAdjustHead (line 55) | FnXdpAdjustHead = BuiltinFunc(platform.LinuxTag | 44) constant FnProbeReadStr (line 56) | FnProbeReadStr = BuiltinFunc(platform.LinuxTag | 45) constant FnGetSocketCookie (line 57) | FnGetSocketCookie = BuiltinFunc(platform.LinuxTag | 46) constant FnGetSocketUid (line 58) | FnGetSocketUid = BuiltinFunc(platform.LinuxTag | 47) constant FnSetHash (line 59) | FnSetHash = BuiltinFunc(platform.LinuxTag | 48) constant FnSetsockopt (line 60) | FnSetsockopt = BuiltinFunc(platform.LinuxTag | 49) constant FnSkbAdjustRoom (line 61) | FnSkbAdjustRoom = BuiltinFunc(platform.LinuxTag | 50) constant FnRedirectMap (line 62) | FnRedirectMap = BuiltinFunc(platform.LinuxTag | 51) constant FnSkRedirectMap (line 63) | FnSkRedirectMap = BuiltinFunc(platform.LinuxTag | 52) constant FnSockMapUpdate (line 64) | FnSockMapUpdate = BuiltinFunc(platform.LinuxTag | 53) constant FnXdpAdjustMeta (line 65) | FnXdpAdjustMeta = BuiltinFunc(platform.LinuxTag | 54) constant FnPerfEventReadValue (line 66) | FnPerfEventReadValue = BuiltinFunc(platform.LinuxTag | 55) constant FnPerfProgReadValue (line 67) | FnPerfProgReadValue = BuiltinFunc(platform.LinuxTag | 56) constant FnGetsockopt (line 68) | FnGetsockopt = BuiltinFunc(platform.LinuxTag | 57) constant FnOverrideReturn (line 69) | FnOverrideReturn = BuiltinFunc(platform.LinuxTag | 58) constant FnSockOpsCbFlagsSet (line 70) | FnSockOpsCbFlagsSet = BuiltinFunc(platform.LinuxTag | 59) constant FnMsgRedirectMap (line 71) | FnMsgRedirectMap = BuiltinFunc(platform.LinuxTag | 60) constant FnMsgApplyBytes (line 72) | FnMsgApplyBytes = BuiltinFunc(platform.LinuxTag | 61) constant FnMsgCorkBytes (line 73) | FnMsgCorkBytes = BuiltinFunc(platform.LinuxTag | 62) constant FnMsgPullData (line 74) | FnMsgPullData = BuiltinFunc(platform.LinuxTag | 63) constant FnBind (line 75) | FnBind = BuiltinFunc(platform.LinuxTag | 64) constant FnXdpAdjustTail (line 76) | FnXdpAdjustTail = BuiltinFunc(platform.LinuxTag | 65) constant FnSkbGetXfrmState (line 77) | FnSkbGetXfrmState = BuiltinFunc(platform.LinuxTag | 66) constant FnGetStack (line 78) | FnGetStack = BuiltinFunc(platform.LinuxTag | 67) constant FnSkbLoadBytesRelative (line 79) | FnSkbLoadBytesRelative = BuiltinFunc(platform.LinuxTag | 68) constant FnFibLookup (line 80) | FnFibLookup = BuiltinFunc(platform.LinuxTag | 69) constant FnSockHashUpdate (line 81) | FnSockHashUpdate = BuiltinFunc(platform.LinuxTag | 70) constant FnMsgRedirectHash (line 82) | FnMsgRedirectHash = BuiltinFunc(platform.LinuxTag | 71) constant FnSkRedirectHash (line 83) | FnSkRedirectHash = BuiltinFunc(platform.LinuxTag | 72) constant FnLwtPushEncap (line 84) | FnLwtPushEncap = BuiltinFunc(platform.LinuxTag | 73) constant FnLwtSeg6StoreBytes (line 85) | FnLwtSeg6StoreBytes = BuiltinFunc(platform.LinuxTag | 74) constant FnLwtSeg6AdjustSrh (line 86) | FnLwtSeg6AdjustSrh = BuiltinFunc(platform.LinuxTag | 75) constant FnLwtSeg6Action (line 87) | FnLwtSeg6Action = BuiltinFunc(platform.LinuxTag | 76) constant FnRcRepeat (line 88) | FnRcRepeat = BuiltinFunc(platform.LinuxTag | 77) constant FnRcKeydown (line 89) | FnRcKeydown = BuiltinFunc(platform.LinuxTag | 78) constant FnSkbCgroupId (line 90) | FnSkbCgroupId = BuiltinFunc(platform.LinuxTag | 79) constant FnGetCurrentCgroupId (line 91) | FnGetCurrentCgroupId = BuiltinFunc(platform.LinuxTag | 80) constant FnGetLocalStorage (line 92) | FnGetLocalStorage = BuiltinFunc(platform.LinuxTag | 81) constant FnSkSelectReuseport (line 93) | FnSkSelectReuseport = BuiltinFunc(platform.LinuxTag | 82) constant FnSkbAncestorCgroupId (line 94) | FnSkbAncestorCgroupId = BuiltinFunc(platform.LinuxTag | 83) constant FnSkLookupTcp (line 95) | FnSkLookupTcp = BuiltinFunc(platform.LinuxTag | 84) constant FnSkLookupUdp (line 96) | FnSkLookupUdp = BuiltinFunc(platform.LinuxTag | 85) constant FnSkRelease (line 97) | FnSkRelease = BuiltinFunc(platform.LinuxTag | 86) constant FnMapPushElem (line 98) | FnMapPushElem = BuiltinFunc(platform.LinuxTag | 87) constant FnMapPopElem (line 99) | FnMapPopElem = BuiltinFunc(platform.LinuxTag | 88) constant FnMapPeekElem (line 100) | FnMapPeekElem = BuiltinFunc(platform.LinuxTag | 89) constant FnMsgPushData (line 101) | FnMsgPushData = BuiltinFunc(platform.LinuxTag | 90) constant FnMsgPopData (line 102) | FnMsgPopData = BuiltinFunc(platform.LinuxTag | 91) constant FnRcPointerRel (line 103) | FnRcPointerRel = BuiltinFunc(platform.LinuxTag | 92) constant FnSpinLock (line 104) | FnSpinLock = BuiltinFunc(platform.LinuxTag | 93) constant FnSpinUnlock (line 105) | FnSpinUnlock = BuiltinFunc(platform.LinuxTag | 94) constant FnSkFullsock (line 106) | FnSkFullsock = BuiltinFunc(platform.LinuxTag | 95) constant FnTcpSock (line 107) | FnTcpSock = BuiltinFunc(platform.LinuxTag | 96) constant FnSkbEcnSetCe (line 108) | FnSkbEcnSetCe = BuiltinFunc(platform.LinuxTag | 97) constant FnGetListenerSock (line 109) | FnGetListenerSock = BuiltinFunc(platform.LinuxTag | 98) constant FnSkcLookupTcp (line 110) | FnSkcLookupTcp = BuiltinFunc(platform.LinuxTag | 99) constant FnTcpCheckSyncookie (line 111) | FnTcpCheckSyncookie = BuiltinFunc(platform.LinuxTag | 100) constant FnSysctlGetName (line 112) | FnSysctlGetName = BuiltinFunc(platform.LinuxTag | 101) constant FnSysctlGetCurrentValue (line 113) | FnSysctlGetCurrentValue = BuiltinFunc(platform.LinuxTag | 102) constant FnSysctlGetNewValue (line 114) | FnSysctlGetNewValue = BuiltinFunc(platform.LinuxTag | 103) constant FnSysctlSetNewValue (line 115) | FnSysctlSetNewValue = BuiltinFunc(platform.LinuxTag | 104) constant FnStrtol (line 116) | FnStrtol = BuiltinFunc(platform.LinuxTag | 105) constant FnStrtoul (line 117) | FnStrtoul = BuiltinFunc(platform.LinuxTag | 106) constant FnSkStorageGet (line 118) | FnSkStorageGet = BuiltinFunc(platform.LinuxTag | 107) constant FnSkStorageDelete (line 119) | FnSkStorageDelete = BuiltinFunc(platform.LinuxTag | 108) constant FnSendSignal (line 120) | FnSendSignal = BuiltinFunc(platform.LinuxTag | 109) constant FnTcpGenSyncookie (line 121) | FnTcpGenSyncookie = BuiltinFunc(platform.LinuxTag | 110) constant FnSkbOutput (line 122) | FnSkbOutput = BuiltinFunc(platform.LinuxTag | 111) constant FnProbeReadUser (line 123) | FnProbeReadUser = BuiltinFunc(platform.LinuxTag | 112) constant FnProbeReadKernel (line 124) | FnProbeReadKernel = BuiltinFunc(platform.LinuxTag | 113) constant FnProbeReadUserStr (line 125) | FnProbeReadUserStr = BuiltinFunc(platform.LinuxTag | 114) constant FnProbeReadKernelStr (line 126) | FnProbeReadKernelStr = BuiltinFunc(platform.LinuxTag | 115) constant FnTcpSendAck (line 127) | FnTcpSendAck = BuiltinFunc(platform.LinuxTag | 116) constant FnSendSignalThread (line 128) | FnSendSignalThread = BuiltinFunc(platform.LinuxTag | 117) constant FnJiffies64 (line 129) | FnJiffies64 = BuiltinFunc(platform.LinuxTag | 118) constant FnReadBranchRecords (line 130) | FnReadBranchRecords = BuiltinFunc(platform.LinuxTag | 119) constant FnGetNsCurrentPidTgid (line 131) | FnGetNsCurrentPidTgid = BuiltinFunc(platform.LinuxTag | 120) constant FnXdpOutput (line 132) | FnXdpOutput = BuiltinFunc(platform.LinuxTag | 121) constant FnGetNetnsCookie (line 133) | FnGetNetnsCookie = BuiltinFunc(platform.LinuxTag | 122) constant FnGetCurrentAncestorCgroupId (line 134) | FnGetCurrentAncestorCgroupId = BuiltinFunc(platform.LinuxTag | 123) constant FnSkAssign (line 135) | FnSkAssign = BuiltinFunc(platform.LinuxTag | 124) constant FnKtimeGetBootNs (line 136) | FnKtimeGetBootNs = BuiltinFunc(platform.LinuxTag | 125) constant FnSeqPrintf (line 137) | FnSeqPrintf = BuiltinFunc(platform.LinuxTag | 126) constant FnSeqWrite (line 138) | FnSeqWrite = BuiltinFunc(platform.LinuxTag | 127) constant FnSkCgroupId (line 139) | FnSkCgroupId = BuiltinFunc(platform.LinuxTag | 128) constant FnSkAncestorCgroupId (line 140) | FnSkAncestorCgroupId = BuiltinFunc(platform.LinuxTag | 129) constant FnRingbufOutput (line 141) | FnRingbufOutput = BuiltinFunc(platform.LinuxTag | 130) constant FnRingbufReserve (line 142) | FnRingbufReserve = BuiltinFunc(platform.LinuxTag | 131) constant FnRingbufSubmit (line 143) | FnRingbufSubmit = BuiltinFunc(platform.LinuxTag | 132) constant FnRingbufDiscard (line 144) | FnRingbufDiscard = BuiltinFunc(platform.LinuxTag | 133) constant FnRingbufQuery (line 145) | FnRingbufQuery = BuiltinFunc(platform.LinuxTag | 134) constant FnCsumLevel (line 146) | FnCsumLevel = BuiltinFunc(platform.LinuxTag | 135) constant FnSkcToTcp6Sock (line 147) | FnSkcToTcp6Sock = BuiltinFunc(platform.LinuxTag | 136) constant FnSkcToTcpSock (line 148) | FnSkcToTcpSock = BuiltinFunc(platform.LinuxTag | 137) constant FnSkcToTcpTimewaitSock (line 149) | FnSkcToTcpTimewaitSock = BuiltinFunc(platform.LinuxTag | 138) constant FnSkcToTcpRequestSock (line 150) | FnSkcToTcpRequestSock = BuiltinFunc(platform.LinuxTag | 139) constant FnSkcToUdp6Sock (line 151) | FnSkcToUdp6Sock = BuiltinFunc(platform.LinuxTag | 140) constant FnGetTaskStack (line 152) | FnGetTaskStack = BuiltinFunc(platform.LinuxTag | 141) constant FnLoadHdrOpt (line 153) | FnLoadHdrOpt = BuiltinFunc(platform.LinuxTag | 142) constant FnStoreHdrOpt (line 154) | FnStoreHdrOpt = BuiltinFunc(platform.LinuxTag | 143) constant FnReserveHdrOpt (line 155) | FnReserveHdrOpt = BuiltinFunc(platform.LinuxTag | 144) constant FnInodeStorageGet (line 156) | FnInodeStorageGet = BuiltinFunc(platform.LinuxTag | 145) constant FnInodeStorageDelete (line 157) | FnInodeStorageDelete = BuiltinFunc(platform.LinuxTag | 146) constant FnDPath (line 158) | FnDPath = BuiltinFunc(platform.LinuxTag | 147) constant FnCopyFromUser (line 159) | FnCopyFromUser = BuiltinFunc(platform.LinuxTag | 148) constant FnSnprintfBtf (line 160) | FnSnprintfBtf = BuiltinFunc(platform.LinuxTag | 149) constant FnSeqPrintfBtf (line 161) | FnSeqPrintfBtf = BuiltinFunc(platform.LinuxTag | 150) constant FnSkbCgroupClassid (line 162) | FnSkbCgroupClassid = BuiltinFunc(platform.LinuxTag | 151) constant FnRedirectNeigh (line 163) | FnRedirectNeigh = BuiltinFunc(platform.LinuxTag | 152) constant FnPerCpuPtr (line 164) | FnPerCpuPtr = BuiltinFunc(platform.LinuxTag | 153) constant FnThisCpuPtr (line 165) | FnThisCpuPtr = BuiltinFunc(platform.LinuxTag | 154) constant FnRedirectPeer (line 166) | FnRedirectPeer = BuiltinFunc(platform.LinuxTag | 155) constant FnTaskStorageGet (line 167) | FnTaskStorageGet = BuiltinFunc(platform.LinuxTag | 156) constant FnTaskStorageDelete (line 168) | FnTaskStorageDelete = BuiltinFunc(platform.LinuxTag | 157) constant FnGetCurrentTaskBtf (line 169) | FnGetCurrentTaskBtf = BuiltinFunc(platform.LinuxTag | 158) constant FnBprmOptsSet (line 170) | FnBprmOptsSet = BuiltinFunc(platform.LinuxTag | 159) constant FnKtimeGetCoarseNs (line 171) | FnKtimeGetCoarseNs = BuiltinFunc(platform.LinuxTag | 160) constant FnImaInodeHash (line 172) | FnImaInodeHash = BuiltinFunc(platform.LinuxTag | 161) constant FnSockFromFile (line 173) | FnSockFromFile = BuiltinFunc(platform.LinuxTag | 162) constant FnCheckMtu (line 174) | FnCheckMtu = BuiltinFunc(platform.LinuxTag | 163) constant FnForEachMapElem (line 175) | FnForEachMapElem = BuiltinFunc(platform.LinuxTag | 164) constant FnSnprintf (line 176) | FnSnprintf = BuiltinFunc(platform.LinuxTag | 165) constant FnSysBpf (line 177) | FnSysBpf = BuiltinFunc(platform.LinuxTag | 166) constant FnBtfFindByNameKind (line 178) | FnBtfFindByNameKind = BuiltinFunc(platform.LinuxTag | 167) constant FnSysClose (line 179) | FnSysClose = BuiltinFunc(platform.LinuxTag | 168) constant FnTimerInit (line 180) | FnTimerInit = BuiltinFunc(platform.LinuxTag | 169) constant FnTimerSetCallback (line 181) | FnTimerSetCallback = BuiltinFunc(platform.LinuxTag | 170) constant FnTimerStart (line 182) | FnTimerStart = BuiltinFunc(platform.LinuxTag | 171) constant FnTimerCancel (line 183) | FnTimerCancel = BuiltinFunc(platform.LinuxTag | 172) constant FnGetFuncIp (line 184) | FnGetFuncIp = BuiltinFunc(platform.LinuxTag | 173) constant FnGetAttachCookie (line 185) | FnGetAttachCookie = BuiltinFunc(platform.LinuxTag | 174) constant FnTaskPtRegs (line 186) | FnTaskPtRegs = BuiltinFunc(platform.LinuxTag | 175) constant FnGetBranchSnapshot (line 187) | FnGetBranchSnapshot = BuiltinFunc(platform.LinuxTag | 176) constant FnTraceVprintk (line 188) | FnTraceVprintk = BuiltinFunc(platform.LinuxTag | 177) constant FnSkcToUnixSock (line 189) | FnSkcToUnixSock = BuiltinFunc(platform.LinuxTag | 178) constant FnKallsymsLookupName (line 190) | FnKallsymsLookupName = BuiltinFunc(platform.LinuxTag | 179) constant FnFindVma (line 191) | FnFindVma = BuiltinFunc(platform.LinuxTag | 180) constant FnLoop (line 192) | FnLoop = BuiltinFunc(platform.LinuxTag | 181) constant FnStrncmp (line 193) | FnStrncmp = BuiltinFunc(platform.LinuxTag | 182) constant FnGetFuncArg (line 194) | FnGetFuncArg = BuiltinFunc(platform.LinuxTag | 183) constant FnGetFuncRet (line 195) | FnGetFuncRet = BuiltinFunc(platform.LinuxTag | 184) constant FnGetFuncArgCnt (line 196) | FnGetFuncArgCnt = BuiltinFunc(platform.LinuxTag | 185) constant FnGetRetval (line 197) | FnGetRetval = BuiltinFunc(platform.LinuxTag | 186) constant FnSetRetval (line 198) | FnSetRetval = BuiltinFunc(platform.LinuxTag | 187) constant FnXdpGetBuffLen (line 199) | FnXdpGetBuffLen = BuiltinFunc(platform.LinuxTag | 188) constant FnXdpLoadBytes (line 200) | FnXdpLoadBytes = BuiltinFunc(platform.LinuxTag | 189) constant FnXdpStoreBytes (line 201) | FnXdpStoreBytes = BuiltinFunc(platform.LinuxTag | 190) constant FnCopyFromUserTask (line 202) | FnCopyFromUserTask = BuiltinFunc(platform.LinuxTag | 191) constant FnSkbSetTstamp (line 203) | FnSkbSetTstamp = BuiltinFunc(platform.LinuxTag | 192) constant FnImaFileHash (line 204) | FnImaFileHash = BuiltinFunc(platform.LinuxTag | 193) constant FnKptrXchg (line 205) | FnKptrXchg = BuiltinFunc(platform.LinuxTag | 194) constant FnMapLookupPercpuElem (line 206) | FnMapLookupPercpuElem = BuiltinFunc(platform.LinuxTag | 195) constant FnSkcToMptcpSock (line 207) | FnSkcToMptcpSock = BuiltinFunc(platform.LinuxTag | 196) constant FnDynptrFromMem (line 208) | FnDynptrFromMem = BuiltinFunc(platform.LinuxTag | 197) constant FnRingbufReserveDynptr (line 209) | FnRingbufReserveDynptr = BuiltinFunc(platform.LinuxTag | 198) constant FnRingbufSubmitDynptr (line 210) | FnRingbufSubmitDynptr = BuiltinFunc(platform.LinuxTag | 199) constant FnRingbufDiscardDynptr (line 211) | FnRingbufDiscardDynptr = BuiltinFunc(platform.LinuxTag | 200) constant FnDynptrRead (line 212) | FnDynptrRead = BuiltinFunc(platform.LinuxTag | 201) constant FnDynptrWrite (line 213) | FnDynptrWrite = BuiltinFunc(platform.LinuxTag | 202) constant FnDynptrData (line 214) | FnDynptrData = BuiltinFunc(platform.LinuxTag | 203) constant FnTcpRawGenSyncookieIpv4 (line 215) | FnTcpRawGenSyncookieIpv4 = BuiltinFunc(platform.LinuxTag | 204) constant FnTcpRawGenSyncookieIpv6 (line 216) | FnTcpRawGenSyncookieIpv6 = BuiltinFunc(platform.LinuxTag | 205) constant FnTcpRawCheckSyncookieIpv4 (line 217) | FnTcpRawCheckSyncookieIpv4 = BuiltinFunc(platform.LinuxTag | 206) constant FnTcpRawCheckSyncookieIpv6 (line 218) | FnTcpRawCheckSyncookieIpv6 = BuiltinFunc(platform.LinuxTag | 207) constant FnKtimeGetTaiNs (line 219) | FnKtimeGetTaiNs = BuiltinFunc(platform.LinuxTag | 208) constant FnUserRingbufDrain (line 220) | FnUserRingbufDrain = BuiltinFunc(platform.LinuxTag | 209) constant FnCgrpStorageGet (line 221) | FnCgrpStorageGet = BuiltinFunc(platform.LinuxTag | 210) constant FnCgrpStorageDelete (line 222) | FnCgrpStorageDelete = BuiltinFunc(platform.LinuxTag | 211) FILE: asm/func_string.go function _ (line 7) | func _() { constant _BuiltinFunc_name_0 (line 260) | _BuiltinFunc_name_0 = "FnUnspecFnMapLookupElemFnMapUpdateElemFnMapDelete... constant _BuiltinFunc_name_1 (line 261) | _BuiltinFunc_name_1 = "WindowsFnMapLookupElemWindowsFnMapUpdateElemWindo... method String (line 269) | func (i BuiltinFunc) String() string { FILE: asm/func_win.go constant WindowsFnMapLookupElem (line 11) | WindowsFnMapLookupElem = BuiltinFunc(platform.WindowsTag | 1) constant WindowsFnMapUpdateElem (line 12) | WindowsFnMapUpdateElem = BuiltinFunc(platform.WindowsTag | 2) constant WindowsFnMapDeleteElem (line 13) | WindowsFnMapDeleteElem = BuiltinFunc(platform.WindowsTag | 3) constant WindowsFnMapLookupAndDeleteElem (line 14) | WindowsFnMapLookupAndDeleteElem = BuiltinFunc(platform.WindowsTag | 4) constant WindowsFnTailCall (line 15) | WindowsFnTailCall = BuiltinFunc(platform.WindowsTag | 5) constant WindowsFnGetPrandomU32 (line 16) | WindowsFnGetPrandomU32 = BuiltinFunc(platform.WindowsTag | 6) constant WindowsFnKtimeGetBootNs (line 17) | WindowsFnKtimeGetBootNs = BuiltinFunc(platform.WindowsTag | 7) constant WindowsFnGetSmpProcessorId (line 18) | WindowsFnGetSmpProcessorId = BuiltinFunc(platform.WindowsTag | 8) constant WindowsFnKtimeGetNs (line 19) | WindowsFnKtimeGetNs = BuiltinFunc(platform.WindowsTag | 9) constant WindowsFnCsumDiff (line 20) | WindowsFnCsumDiff = BuiltinFunc(platform.WindowsTag | 10) constant WindowsFnRingbufOutput (line 21) | WindowsFnRingbufOutput = BuiltinFunc(platform.WindowsTag | 11) constant WindowsFnTracePrintk2 (line 22) | WindowsFnTracePrintk2 = BuiltinFunc(platform.WindowsTag | 12) constant WindowsFnTracePrintk3 (line 23) | WindowsFnTracePrintk3 = BuiltinFunc(platform.WindowsTag | 13) constant WindowsFnTracePrintk4 (line 24) | WindowsFnTracePrintk4 = BuiltinFunc(platform.WindowsTag | 14) constant WindowsFnTracePrintk5 (line 25) | WindowsFnTracePrintk5 = BuiltinFunc(platform.WindowsTag | 15) constant WindowsFnMapPushElem (line 26) | WindowsFnMapPushElem = BuiltinFunc(platform.WindowsTag | 16) constant WindowsFnMapPopElem (line 27) | WindowsFnMapPopElem = BuiltinFunc(platform.WindowsTag | 17) constant WindowsFnMapPeekElem (line 28) | WindowsFnMapPeekElem = BuiltinFunc(platform.WindowsTag | 18) constant WindowsFnGetCurrentPidTgid (line 29) | WindowsFnGetCurrentPidTgid = BuiltinFunc(platform.WindowsTag | 19) constant WindowsFnGetCurrentLogonId (line 30) | WindowsFnGetCurrentLogonId = BuiltinFunc(platform.WindowsTag | 20) constant WindowsFnIsCurrentAdmin (line 31) | WindowsFnIsCurrentAdmin = BuiltinFunc(platform.WindowsTag | 21) constant WindowsFnMemcpyS (line 32) | WindowsFnMemcpyS = BuiltinFunc(platform.WindowsTag | 22) constant WindowsFnMemcmpS (line 33) | WindowsFnMemcmpS = BuiltinFunc(platform.WindowsTag | 23) constant WindowsFnMemset (line 34) | WindowsFnMemset = BuiltinFunc(platform.WindowsTag | 24) constant WindowsFnMemmoveS (line 35) | WindowsFnMemmoveS = BuiltinFunc(platform.WindowsTag | 25) constant WindowsFnGetSocketCookie (line 36) | WindowsFnGetSocketCookie = BuiltinFunc(platform.WindowsTag | 26) constant WindowsFnStrncpyS (line 37) | WindowsFnStrncpyS = BuiltinFunc(platform.WindowsTag | 27) constant WindowsFnStrncatS (line 38) | WindowsFnStrncatS = BuiltinFunc(platform.WindowsTag | 28) constant WindowsFnStrnlenS (line 39) | WindowsFnStrnlenS = BuiltinFunc(platform.WindowsTag | 29) constant WindowsFnKtimeGetBootMs (line 40) | WindowsFnKtimeGetBootMs = BuiltinFunc(platform.WindowsTag | 30) constant WindowsFnKtimeGetMs (line 41) | WindowsFnKtimeGetMs = BuiltinFunc(platform.WindowsTag | 31) constant WindowsFnPerfEventOutput (line 42) | WindowsFnPerfEventOutput = BuiltinFunc(platform.WindowsTag | 32) constant WindowsFnGetCurrentProcessStartKey (line 43) | WindowsFnGetCurrentProcessStartKey = BuiltinFunc(platform.WindowsTag | 33) constant WindowsFnGetCurrentThreadCreateTime (line 44) | WindowsFnGetCurrentThreadCreateTime = BuiltinFunc(platform.WindowsTag | 34) FILE: asm/instruction.go constant InstructionSize (line 22) | InstructionSize = 8 type RawInstructionOffset (line 25) | type RawInstructionOffset method Bytes (line 32) | func (rio RawInstructionOffset) Bytes() uint64 { type Instruction (line 37) | type Instruction struct method Width (line 52) | func (ins *Instruction) Width() RawInstructionOffset { method Unmarshal (line 57) | func (ins *Instruction) Unmarshal(r io.Reader, bo binary.ByteOrder, pl... method Marshal (line 148) | func (ins Instruction) Marshal(w io.Writer, bo binary.ByteOrder) (uint... method AssociateMap (line 235) | func (ins *Instruction) AssociateMap(m FDer) error { method encodeMapFD (line 246) | func (ins *Instruction) encodeMapFD(fd int) { method mapFd (line 255) | func (ins *Instruction) mapFd() int { method RewriteMapOffset (line 262) | func (ins *Instruction) RewriteMapOffset(offset uint32) error { method mapOffset (line 276) | func (ins *Instruction) mapOffset() uint32 { method IsLoadFromMap (line 283) | func (ins *Instruction) IsLoadFromMap() bool { method IsFunctionCall (line 290) | func (ins *Instruction) IsFunctionCall() bool { method IsKfuncCall (line 297) | func (ins *Instruction) IsKfuncCall() bool { method IsLoadOfFunctionPointer (line 302) | func (ins *Instruction) IsLoadOfFunctionPointer() bool { method IsFunctionReference (line 309) | func (ins *Instruction) IsFunctionReference() bool { method IsBuiltinCall (line 314) | func (ins *Instruction) IsBuiltinCall() bool { method IsConstantLoad (line 320) | func (ins *Instruction) IsConstantLoad(size Size) bool { method Format (line 325) | func (ins Instruction) Format(f fmt.State, c rune) { method equal (line 438) | func (ins Instruction) equal(other Instruction) bool { method Size (line 447) | func (ins Instruction) Size() uint64 { method WithMetadata (line 453) | func (ins Instruction) WithMetadata(meta Metadata) Instruction { method WithSymbol (line 462) | func (ins Instruction) WithSymbol(name string) Instruction { method Symbol (line 470) | func (ins Instruction) Symbol() string { method WithReference (line 478) | func (ins Instruction) WithReference(ref string) Instruction { method Reference (line 484) | func (ins Instruction) Reference() string { method Map (line 494) | func (ins Instruction) Map() FDer { method WithSource (line 502) | func (ins Instruction) WithSource(src fmt.Stringer) Instruction { method Source (line 510) | func (ins Instruction) Source() fmt.Stringer { type symbolMeta (line 458) | type symbolMeta struct type referenceMeta (line 475) | type referenceMeta struct type mapMeta (line 489) | type mapMeta struct type sourceMeta (line 499) | type sourceMeta struct type Comment (line 517) | type Comment method String (line 519) | func (s Comment) String() string { type FDer (line 526) | type FDer interface type Instructions (line 531) | type Instructions method Name (line 554) | func (insns Instructions) Name() string { method String (line 561) | func (insns Instructions) String() string { method Size (line 566) | func (insns Instructions) Size() uint64 { method AssociateMap (line 580) | func (insns Instructions) AssociateMap(symbol string, m FDer) error { method SymbolOffsets (line 608) | func (insns Instructions) SymbolOffsets() (map[string]int, error) { method FunctionReferences (line 628) | func (insns Instructions) FunctionReferences() []string { method ReferenceOffsets (line 658) | func (insns Instructions) ReferenceOffsets() map[string][]int { method Format (line 679) | func (insns Instructions) Format(f fmt.State, c rune) { method Marshal (line 736) | func (insns Instructions) Marshal(w io.Writer, bo binary.ByteOrder) er... method Tag (line 761) | func (insns Instructions) Tag(bo binary.ByteOrder) (string, error) { method HasTag (line 768) | func (insns Instructions) HasTag(tag string, bo binary.ByteOrder) (boo... method tagSha1 (line 789) | func (insns Instructions) tagSha1(bo binary.ByteOrder) (string, error) { method tagSha256 (line 801) | func (insns Instructions) tagSha256(bo binary.ByteOrder) (string, erro... method hash (line 813) | func (insns Instructions) hash(h hash.Hash, bo binary.ByteOrder) error { method encodeFunctionReferences (line 835) | func (insns Instructions) encodeFunctionReferences() error { method encodeMapPointers (line 891) | func (insns Instructions) encodeMapPointers() error { method Iterate (line 920) | func (insns Instructions) Iterate() *InstructionIterator { function AppendInstructions (line 534) | func AppendInstructions(insns Instructions, r io.Reader, bo binary.ByteO... type InstructionIterator (line 925) | type InstructionIterator struct method Next (line 937) | func (iter *InstructionIterator) Next() bool { type bpfRegisters (line 951) | type bpfRegisters function newBPFRegisters (line 953) | func newBPFRegisters(dst, src Register, bo binary.ByteOrder) (bpfRegiste... FILE: asm/instruction_test.go function TestRead64bitImmediate (line 23) | func TestRead64bitImmediate(t *testing.T) { function BenchmarkRead64bitImmediate (line 35) | func BenchmarkRead64bitImmediate(b *testing.B) { function TestWrite64bitImmediate (line 47) | func TestWrite64bitImmediate(t *testing.T) { function BenchmarkWrite64BitImmediate (line 62) | func BenchmarkWrite64BitImmediate(b *testing.B) { function TestAppendInstructions (line 75) | func TestAppendInstructions(t *testing.T) { function TestSignedJump (line 86) | func TestSignedJump(t *testing.T) { function TestInstructionLoadMapValue (line 99) | func TestInstructionLoadMapValue(t *testing.T) { function TestInstructionWithMetadata (line 112) | func TestInstructionWithMetadata(t *testing.T) { function TestReadCallToNegativeOne (line 125) | func TestReadCallToNegativeOne(t *testing.T) { function ExampleInstructions_Format (line 137) | func ExampleInstructions_Format() { function TestReadSrcDst (line 190) | func TestReadSrcDst(t *testing.T) { function TestInstructionIterator (line 222) | func TestInstructionIterator(t *testing.T) { function TestMetadataCopyOnWrite (line 248) | func TestMetadataCopyOnWrite(t *testing.T) { type testFDer (line 277) | type testFDer method FD (line 279) | func (t testFDer) FD() int { function TestAtomics (line 283) | func TestAtomics(t *testing.T) { function TestISAv4 (line 359) | func TestISAv4(t *testing.T) { function TestLongJumpPatching (line 451) | func TestLongJumpPatching(t *testing.T) { FILE: asm/jump.go type JumpOp (line 11) | type JumpOp method Op (line 59) | func (op JumpOp) Op(source Source) OpCode { method Imm (line 64) | func (op JumpOp) Imm(dst Register, value int32, label string) Instruct... method Imm32 (line 75) | func (op JumpOp) Imm32(dst Register, value int32, label string) Instru... method Reg (line 85) | func (op JumpOp) Reg(dst, src Register, label string) Instruction { method Reg32 (line 96) | func (op JumpOp) Reg32(dst, src Register, label string) Instruction { method opCode (line 105) | func (op JumpOp) opCode(class Class, source Source) OpCode { method Label (line 122) | func (op JumpOp) Label(label string) Instruction { constant jumpMask (line 13) | jumpMask OpCode = 0xf0 constant InvalidJumpOp (line 18) | InvalidJumpOp JumpOp = 0xff constant Ja (line 20) | Ja JumpOp = 0x00 constant JEq (line 22) | JEq JumpOp = 0x10 constant JGT (line 24) | JGT JumpOp = 0x20 constant JGE (line 26) | JGE JumpOp = 0x30 constant JSet (line 28) | JSet JumpOp = 0x40 constant JNE (line 30) | JNE JumpOp = 0x50 constant JSGT (line 32) | JSGT JumpOp = 0x60 constant JSGE (line 34) | JSGE JumpOp = 0x70 constant Call (line 36) | Call JumpOp = 0x80 constant Exit (line 38) | Exit JumpOp = 0x90 constant JLT (line 40) | JLT JumpOp = 0xa0 constant JLE (line 42) | JLE JumpOp = 0xb0 constant JSLT (line 44) | JSLT JumpOp = 0xc0 constant JSLE (line 46) | JSLE JumpOp = 0xd0 function Return (line 52) | func Return() Instruction { function LongJump (line 114) | func LongJump(label string) Instruction { FILE: asm/jump_string.go function _ (line 7) | func _() { constant _JumpOp_name (line 28) | _JumpOp_name = "JaJEqJGTJGEJSetJNEJSGTJSGECallExitJLTJLEJSLTJSLEInvalidJ... method String (line 48) | func (i JumpOp) String() string { FILE: asm/load_store.go type Mode (line 13) | type Mode constant modeMask (line 15) | modeMask OpCode = 0xe0 constant InvalidMode (line 20) | InvalidMode Mode = 0xff constant ImmMode (line 22) | ImmMode Mode = 0x00 constant AbsMode (line 24) | AbsMode Mode = 0x20 constant IndMode (line 26) | IndMode Mode = 0x40 constant MemMode (line 28) | MemMode Mode = 0x60 constant MemSXMode (line 30) | MemSXMode Mode = 0x80 constant AtomicMode (line 32) | AtomicMode Mode = 0xc0 constant atomicMask (line 35) | atomicMask OpCode = 0x0001_ff00 type AtomicOp (line 37) | type AtomicOp method String (line 77) | func (op AtomicOp) String() string { method OpCode (line 99) | func (op AtomicOp) OpCode(size Size) OpCode { method Mem (line 115) | func (op AtomicOp) Mem(dst, src Register, size Size, offset int16) Ins... constant InvalidAtomic (line 40) | InvalidAtomic AtomicOp = 0xffff_ffff constant AddAtomic (line 43) | AddAtomic AtomicOp = AtomicOp(Add) << 8 constant FetchAdd (line 45) | FetchAdd AtomicOp = AddAtomic | fetch constant AndAtomic (line 47) | AndAtomic AtomicOp = AtomicOp(And) << 8 constant FetchAnd (line 49) | FetchAnd AtomicOp = AndAtomic | fetch constant OrAtomic (line 51) | OrAtomic AtomicOp = AtomicOp(Or) << 8 constant FetchOr (line 53) | FetchOr AtomicOp = OrAtomic | fetch constant XorAtomic (line 55) | XorAtomic AtomicOp = AtomicOp(Xor) << 8 constant FetchXor (line 57) | FetchXor AtomicOp = XorAtomic | fetch constant Xchg (line 62) | Xchg AtomicOp = 0x0000_e000 | fetch constant CmpXchg (line 67) | CmpXchg AtomicOp = 0x0000_f000 | fetch constant fetch (line 70) | fetch AtomicOp = 0x0000_0100 constant loadAcquire (line 72) | loadAcquire AtomicOp = 0x0001_0000 constant storeRelease (line 74) | storeRelease AtomicOp = 0x0001_1000 function LoadAcquire (line 125) | func LoadAcquire(dst, src Register, size Size, offset int16) Instruction { function StoreRelease (line 135) | func StoreRelease(dst, src Register, size Size, offset int16) Instruction { type Size (line 150) | type Size method Sizeof (line 169) | func (s Size) Sizeof() int { constant sizeMask (line 152) | sizeMask OpCode = 0x18 constant InvalidSize (line 157) | InvalidSize Size = 0xff constant DWord (line 159) | DWord Size = 0x18 constant Word (line 161) | Word Size = 0x00 constant Half (line 163) | Half Size = 0x08 constant Byte (line 165) | Byte Size = 0x10 function LoadMemOp (line 185) | func LoadMemOp(size Size) OpCode { function LoadMemSXOp (line 190) | func LoadMemSXOp(size Size) OpCode { function LoadMem (line 195) | func LoadMem(dst, src Register, offset int16, size Size) Instruction { function LoadMemSX (line 205) | func LoadMemSX(dst, src Register, offset int16, size Size) Instruction { function LoadImmOp (line 221) | func LoadImmOp(size Size) OpCode { function LoadImm (line 228) | func LoadImm(dst Register, value int64, size Size) Instruction { function LoadMapPtr (line 237) | func LoadMapPtr(dst Register, fd int) Instruction { function LoadMapValue (line 251) | func LoadMapValue(dst Register, fd int, offset uint32) Instruction { function LoadIndOp (line 266) | func LoadIndOp(size Size) OpCode { function LoadInd (line 271) | func LoadInd(dst, src Register, offset int32, size Size) Instruction { function LoadAbsOp (line 281) | func LoadAbsOp(size Size) OpCode { function LoadAbs (line 286) | func LoadAbs(offset int32, size Size) Instruction { function StoreMemOp (line 295) | func StoreMemOp(size Size) OpCode { function StoreMem (line 300) | func StoreMem(dst Register, offset int16, src Register, size Size) Instr... function StoreImmOp (line 310) | func StoreImmOp(size Size) OpCode { function StoreImm (line 315) | func StoreImm(dst Register, offset int16, value int64, size Size) Instru... function StoreXAddOp (line 329) | func StoreXAddOp(size Size) OpCode { function StoreXAdd (line 334) | func StoreXAdd(dst, src Register, size Size) Instruction { FILE: asm/load_store_string.go function _ (line 7) | func _() { constant _Mode_name_0 (line 21) | _Mode_name_0 = "ImmMode" constant _Mode_name_1 (line 22) | _Mode_name_1 = "AbsMode" constant _Mode_name_2 (line 23) | _Mode_name_2 = "IndMode" constant _Mode_name_3 (line 24) | _Mode_name_3 = "MemMode" constant _Mode_name_4 (line 25) | _Mode_name_4 = "MemSXMode" constant _Mode_name_5 (line 26) | _Mode_name_5 = "AtomicMode" constant _Mode_name_6 (line 27) | _Mode_name_6 = "InvalidMode" method String (line 30) | func (i Mode) String() string { function _ (line 50) | func _() { constant _Size_name_0 (line 62) | _Size_name_0 = "Word" constant _Size_name_1 (line 63) | _Size_name_1 = "Half" constant _Size_name_2 (line 64) | _Size_name_2 = "Byte" constant _Size_name_3 (line 65) | _Size_name_3 = "DWord" constant _Size_name_4 (line 66) | _Size_name_4 = "InvalidSize" method String (line 69) | func (i Size) String() string { FILE: asm/metadata.go type Metadata (line 4) | type Metadata struct method find (line 16) | func (m *Metadata) find(key interface{}) *metaElement { method remove (line 29) | func (m *Metadata) remove(r *metaElement) { method Set (line 52) | func (m *Metadata) Set(key, value interface{}) { method Get (line 75) | func (m *Metadata) Get(key interface{}) interface{} { type metaElement (line 8) | type metaElement struct FILE: asm/metadata_test.go function TestMetadata (line 10) | func TestMetadata(t *testing.T) { function BenchmarkMetadata (line 47) | func BenchmarkMetadata(b *testing.B) { FILE: asm/opcode.go type Class (line 16) | type Class method IsLoad (line 42) | func (cls Class) IsLoad() bool { method IsStore (line 47) | func (cls Class) IsStore() bool { method isLoadOrStore (line 51) | func (cls Class) isLoadOrStore() bool { method IsALU (line 56) | func (cls Class) IsALU() bool { method IsJump (line 61) | func (cls Class) IsJump() bool { method isJumpOrALU (line 65) | func (cls Class) isJumpOrALU() bool { constant classMask (line 18) | classMask OpCode = 0x07 constant LdClass (line 23) | LdClass Class = 0x00 constant LdXClass (line 25) | LdXClass Class = 0x01 constant StClass (line 27) | StClass Class = 0x02 constant StXClass (line 29) | StXClass Class = 0x03 constant ALUClass (line 31) | ALUClass Class = 0x04 constant JumpClass (line 33) | JumpClass Class = 0x05 constant Jump32Class (line 36) | Jump32Class Class = 0x06 constant ALU64Class (line 38) | ALU64Class Class = 0x07 type OpCode (line 96) | type OpCode method bpfOpCode (line 102) | func (op OpCode) bpfOpCode() (byte, error) { method rawInstructions (line 114) | func (op OpCode) rawInstructions() int { method IsDWordLoad (line 121) | func (op OpCode) IsDWordLoad() bool { method Class (line 126) | func (op OpCode) Class() Class { method Mode (line 131) | func (op OpCode) Mode() Mode { method Size (line 139) | func (op OpCode) Size() Size { method AtomicOp (line 147) | func (op OpCode) AtomicOp() AtomicOp { method Source (line 155) | func (op OpCode) Source() Source { method ALUOp (line 163) | func (op OpCode) ALUOp() ALUOp { method Endianness (line 171) | func (op OpCode) Endianness() Endianness { method JumpOp (line 180) | func (op OpCode) JumpOp() JumpOp { method SetMode (line 198) | func (op OpCode) SetMode(mode Mode) OpCode { method SetSize (line 208) | func (op OpCode) SetSize(size Size) OpCode { method SetAtomicOp (line 215) | func (op OpCode) SetAtomicOp(atomic AtomicOp) OpCode { method SetSource (line 225) | func (op OpCode) SetSource(source Source) OpCode { method SetALUOp (line 235) | func (op OpCode) SetALUOp(alu ALUOp) OpCode { method SetJumpOp (line 245) | func (op OpCode) SetJumpOp(jump JumpOp) OpCode { method String (line 260) | func (op OpCode) String() string { constant InvalidOpCode (line 99) | InvalidOpCode OpCode = 0xffff function valid (line 325) | func valid(value, mask OpCode) bool { FILE: asm/opcode_string.go function _ (line 7) | func _() { constant _Class_name (line 21) | _Class_name = "LdClassLdXClassStClassStXClassALUClassJumpClassJump32Clas... method String (line 25) | func (i Class) String() string { FILE: asm/opcode_test.go function TestGetSetJumpOp (line 10) | func TestGetSetJumpOp(t *testing.T) { FILE: asm/register.go type Register (line 8) | type Register method String (line 45) | func (r Register) String() string { constant R0 (line 11) | R0 Register = 0 constant R1 (line 15) | R1 Register = R0 + 1 + iota constant R2 (line 16) | R2 constant R3 (line 17) | R3 constant R4 (line 18) | R4 constant R5 (line 19) | R5 constant R6 (line 24) | R6 Register = R5 + 1 + iota constant R7 (line 25) | R7 constant R8 (line 26) | R8 constant R9 (line 27) | R9 constant R10 (line 32) | R10 Register = R9 + 1 constant RFP (line 33) | RFP = R10 constant PseudoMapFD (line 38) | PseudoMapFD = R1 constant PseudoMapValue (line 39) | PseudoMapValue = R2 constant PseudoCall (line 40) | PseudoCall = R1 constant PseudoFunc (line 41) | PseudoFunc = R4 constant PseudoKfuncCall (line 42) | PseudoKfuncCall = R2 FILE: attachtype_string.go function _ (line 7) | func _() { constant _AttachType_name_0 (line 81) | _AttachType_name_0 = "NoneCGroupInetEgressCGroupInetSockCreateCGroupSock... constant _AttachType_name_1 (line 82) | _AttachType_name_1 = "WindowsXDPWindowsBindWindowsCGroupInet4ConnectWind... method String (line 90) | func (i AttachType) String() string { FILE: btf/btf.go constant btfMagic (line 19) | btfMagic = 0xeB9F type elfData (line 32) | type elfData struct method fixupDatasec (line 242) | func (elf *elfData) fixupDatasec(typ Type) error { type elfSymbol (line 38) | type elfSymbol struct type Spec (line 45) | type Spec struct method Copy (line 349) | func (s *Spec) Copy() *Spec { method TypeByID (line 374) | func (s *Spec) TypeByID(id TypeID) (Type, error) { method TypeID (line 390) | func (s *Spec) TypeID(typ Type) (TypeID, error) { method AnyTypesByName (line 401) | func (s *Spec) AnyTypesByName(name string) ([]Type, error) { method AnyTypeByName (line 426) | func (s *Spec) AnyTypeByName(name string) (Type, error) { method TypeByName (line 448) | func (s *Spec) TypeByName(name string, typ interface{}) error { method All (line 527) | func (s *Spec) All() iter.Seq2[Type, error] { function LoadSpec (line 53) | func LoadSpec(file string) (*Spec, error) { function LoadSpecFromReader (line 67) | func LoadSpecFromReader(rd io.ReaderAt) (*Spec, error) { function LoadSpecAndExtInfosFromReader (line 85) | func LoadSpecAndExtInfosFromReader(rd io.ReaderAt) (*Spec, *ExtInfos, er... function symbolOffsets (line 111) | func symbolOffsets(file *internal.SafeELFFile) (map[elfSymbol]uint32, er... function loadSpecFromELF (line 140) | func loadSpecFromELF(file *internal.SafeELFFile) (*Spec, error) { function loadRawSpec (line 195) | func loadRawSpec(btf []byte, base *Spec) (*Spec, error) { function fixupDatasecLayout (line 313) | func fixupDatasecLayout(ds *Datasec) error { function LoadSplitSpec (line 503) | func LoadSplitSpec(file string, base *Spec) (*Spec, error) { function LoadSplitSpecFromReader (line 517) | func LoadSplitSpecFromReader(r io.ReaderAt, base *Spec) (*Spec, error) { FILE: btf/btf_test.go function vmlinuxSpec (line 21) | func vmlinuxSpec(tb testing.TB) *Spec { type specAndRawBTF (line 37) | type specAndRawBTF struct function vmlinuxTestdataSpec (line 56) | func vmlinuxTestdataSpec(tb testing.TB) *Spec { function vmlinuxTestdataBytes (line 67) | func vmlinuxTestdataBytes(tb testing.TB) []byte { function parseELFBTF (line 78) | func parseELFBTF(tb testing.TB, file string) *Spec { function TestAnyTypesByName (line 89) | func TestAnyTypesByName(t *testing.T) { function TestTypeByNameAmbiguous (line 113) | func TestTypeByNameAmbiguous(t *testing.T) { function TestTypeByName (line 136) | func TestTypeByName(t *testing.T) { function BenchmarkParseVmlinux (line 212) | func BenchmarkParseVmlinux(b *testing.B) { function BenchmarkIterateVmlinux (line 223) | func BenchmarkIterateVmlinux(b *testing.B) { function TestParseCurrentKernelBTF (line 238) | func TestParseCurrentKernelBTF(t *testing.T) { function TestFindVMLinux (line 246) | func TestFindVMLinux(t *testing.T) { function TestLoadSpecFromElf (line 264) | func TestLoadSpecFromElf(t *testing.T) { function TestVerifierError (line 306) | func TestVerifierError(t *testing.T) { function TestSpecCopy (line 317) | func TestSpecCopy(t *testing.T) { function TestSpecCopyModifications (line 343) | func TestSpecCopyModifications(t *testing.T) { function TestSpecTypeByID (line 365) | func TestSpecTypeByID(t *testing.T) { function ExampleSpec_TypeByName (line 375) | func ExampleSpec_TypeByName() { function TestTypesIterator (line 391) | func TestTypesIterator(t *testing.T) { function TestLoadSplitSpec (line 418) | func TestLoadSplitSpec(t *testing.T) { function TestFixupDatasecLayout (line 481) | func TestFixupDatasecLayout(t *testing.T) { function TestSpecConcurrentAccess (line 505) | func TestSpecConcurrentAccess(t *testing.T) { function TestLoadEmptyRawSpec (line 538) | func TestLoadEmptyRawSpec(t *testing.T) { function BenchmarkSpecCopy (line 555) | func BenchmarkSpecCopy(b *testing.B) { function BenchmarkSpecTypeByID (line 563) | func BenchmarkSpecTypeByID(b *testing.B) { function BenchmarkInspektorGadget (line 575) | func BenchmarkInspektorGadget(b *testing.B) { FILE: btf/btf_types.go type btfKind (line 13) | type btfKind constant kindUnknown (line 17) | kindUnknown btfKind = iota constant kindInt (line 18) | kindInt constant kindPointer (line 19) | kindPointer constant kindArray (line 20) | kindArray constant kindStruct (line 21) | kindStruct constant kindUnion (line 22) | kindUnion constant kindEnum (line 23) | kindEnum constant kindForward (line 24) | kindForward constant kindTypedef (line 25) | kindTypedef constant kindVolatile (line 26) | kindVolatile constant kindConst (line 27) | kindConst constant kindRestrict (line 28) | kindRestrict constant kindFunc (line 30) | kindFunc constant kindFuncProto (line 31) | kindFuncProto constant kindVar (line 33) | kindVar constant kindDatasec (line 34) | kindDatasec constant kindFloat (line 36) | kindFloat constant kindDeclTag (line 38) | kindDeclTag constant kindTypeTag (line 40) | kindTypeTag constant kindEnum64 (line 42) | kindEnum64 type FuncLinkage (line 46) | type FuncLinkage constant StaticFunc (line 50) | StaticFunc FuncLinkage = iota constant GlobalFunc (line 51) | GlobalFunc constant ExternFunc (line 52) | ExternFunc type VarLinkage (line 56) | type VarLinkage constant StaticVar (line 59) | StaticVar VarLinkage = iota constant GlobalVar (line 60) | GlobalVar constant ExternVar (line 61) | ExternVar constant btfTypeKindShift (line 65) | btfTypeKindShift = 24 constant btfTypeKindLen (line 66) | btfTypeKindLen = 5 constant btfTypeVlenShift (line 67) | btfTypeVlenShift = 0 constant btfTypeVlenMask (line 68) | btfTypeVlenMask = 16 constant btfTypeKindFlagShift (line 69) | btfTypeKindFlagShift = 31 constant btfTypeKindFlagMask (line 70) | btfTypeKindFlagMask = 1 type btfHeader (line 75) | type btfHeader struct function parseBTFHeader (line 88) | func parseBTFHeader(buf []byte) (*btfHeader, binary.ByteOrder, error) { type btfType (line 133) | type btfType struct method info (line 181) | func (bt *btfType) info(len, shift uint32) uint32 { method setInfo (line 185) | func (bt *btfType) setInfo(value, len, shift uint32) { method Kind (line 189) | func (bt *btfType) Kind() btfKind { method SetKind (line 193) | func (bt *btfType) SetKind(kind btfKind) { method Vlen (line 197) | func (bt *btfType) Vlen() int { method SetVlen (line 201) | func (bt *btfType) SetVlen(vlen int) { method kindFlagBool (line 205) | func (bt *btfType) kindFlagBool() bool { method setKindFlagBool (line 209) | func (bt *btfType) setKindFlagBool(set bool) { method Bitfield (line 218) | func (bt *btfType) Bitfield() bool { method SetBitfield (line 222) | func (bt *btfType) SetBitfield(isBitfield bool) { method FwdKind (line 226) | func (bt *btfType) FwdKind() FwdKind { method SetFwdKind (line 230) | func (bt *btfType) SetFwdKind(kind FwdKind) { method Signed (line 234) | func (bt *btfType) Signed() bool { method SetSigned (line 238) | func (bt *btfType) SetSigned(signed bool) { method Linkage (line 242) | func (bt *btfType) Linkage() FuncLinkage { method SetLinkage (line 246) | func (bt *btfType) SetLinkage(linkage FuncLinkage) { method Type (line 250) | func (bt *btfType) Type() TypeID { method SetType (line 255) | func (bt *btfType) SetType(id TypeID) { method Size (line 259) | func (bt *btfType) Size() uint32 { method SetSize (line 264) | func (bt *btfType) SetSize(size uint32) { method Encode (line 268) | func (bt *btfType) Encode(buf []byte, bo binary.ByteOrder) (int, error) { method DataLen (line 279) | func (bt *btfType) DataLen() (int, error) { function unmarshalBtfType (line 156) | func unmarshalBtfType(bt *btfType, b []byte, bo binary.ByteOrder) (int, ... function mask (line 167) | func mask(len uint32) uint32 { function readBits (line 171) | func readBits(value, len, shift uint32) uint32 { function writeBits (line 175) | func writeBits(value, len, shift, new uint32) uint32 { type btfInt (line 324) | type btfInt struct method Encoding (line 348) | func (bi btfInt) Encoding() IntEncoding { method SetEncoding (line 352) | func (bi *btfInt) SetEncoding(e IntEncoding) { method Offset (line 356) | func (bi btfInt) Offset() Bits { method SetOffset (line 360) | func (bi *btfInt) SetOffset(offset uint32) { method Bits (line 364) | func (bi btfInt) Bits() Bits { method SetBits (line 368) | func (bi *btfInt) SetBits(bits byte) { constant btfIntEncodingLen (line 329) | btfIntEncodingLen = 4 constant btfIntEncodingShift (line 330) | btfIntEncodingShift = 24 constant btfIntOffsetLen (line 331) | btfIntOffsetLen = 8 constant btfIntOffsetShift (line 332) | btfIntOffsetShift = 16 constant btfIntBitsLen (line 333) | btfIntBitsLen = 8 constant btfIntBitsShift (line 334) | btfIntBitsShift = 0 function unmarshalBtfInt (line 339) | func unmarshalBtfInt(bi *btfInt, b []byte, bo binary.ByteOrder) (int, er... type btfArray (line 372) | type btfArray struct function unmarshalBtfArray (line 380) | func unmarshalBtfArray(ba *btfArray, b []byte, bo binary.ByteOrder) (int... type btfMember (line 391) | type btfMember struct function unmarshalBtfMember (line 399) | func unmarshalBtfMember(bm *btfMember, b []byte, bo binary.ByteOrder) (i... type btfVarSecinfo (line 410) | type btfVarSecinfo struct function unmarshalBtfVarSecInfo (line 418) | func unmarshalBtfVarSecInfo(bvsi *btfVarSecinfo, b []byte, bo binary.Byt... type btfVariable (line 429) | type btfVariable struct function unmarshalBtfVariable (line 435) | func unmarshalBtfVariable(bv *btfVariable, b []byte, bo binary.ByteOrder... type btfEnum (line 444) | type btfEnum struct function unmarshalBtfEnum (line 451) | func unmarshalBtfEnum(be *btfEnum, b []byte, bo binary.ByteOrder) (int, ... type btfEnum64 (line 461) | type btfEnum64 struct function unmarshalBtfEnum64 (line 469) | func unmarshalBtfEnum64(enum *btfEnum64, b []byte, bo binary.ByteOrder) ... type btfParam (line 481) | type btfParam struct function unmarshalBtfParam (line 488) | func unmarshalBtfParam(param *btfParam, b []byte, bo binary.ByteOrder) (... type btfDeclTag (line 499) | type btfDeclTag struct function unmarshalBtfDeclTag (line 505) | func unmarshalBtfDeclTag(bdt *btfDeclTag, b []byte, bo binary.ByteOrder)... FILE: btf/btf_types_string.go function _ (line 7) | func _() { constant _FuncLinkage_name (line 16) | _FuncLinkage_name = "staticglobalextern" method String (line 20) | func (i FuncLinkage) String() string { function _ (line 27) | func _() { constant _VarLinkage_name (line 36) | _VarLinkage_name = "staticglobalextern" method String (line 40) | func (i VarLinkage) String() string { function _ (line 47) | func _() { constant _btfKind_name (line 73) | _btfKind_name = "UnknownIntPointerArrayStructUnionEnumForwardTypedefVola... method String (line 77) | func (i btfKind) String() string { FILE: btf/core.go constant COREBadRelocationSentinel (line 23) | COREBadRelocationSentinel = 0xbad2310 type COREFixup (line 26) | type COREFixup struct method equal (line 38) | func (f *COREFixup) equal(other COREFixup) bool { method String (line 42) | func (f *COREFixup) String() string { method Apply (line 49) | func (f *COREFixup) Apply(ins *asm.Instruction) error { method isNonExistant (line 126) | func (f COREFixup) isNonExistant() bool { type coreKind (line 131) | type coreKind method checksForExistence (line 149) | func (k coreKind) checksForExistence() bool { method String (line 153) | func (k coreKind) String() string { constant reloFieldByteOffset (line 134) | reloFieldByteOffset coreKind = iota constant reloFieldByteSize (line 135) | reloFieldByteSize constant reloFieldExists (line 136) | reloFieldExists constant reloFieldSigned (line 137) | reloFieldSigned constant reloFieldLShiftU64 (line 138) | reloFieldLShiftU64 constant reloFieldRShiftU64 (line 139) | reloFieldRShiftU64 constant reloTypeIDLocal (line 140) | reloTypeIDLocal constant reloTypeIDTarget (line 141) | reloTypeIDTarget constant reloTypeExists (line 142) | reloTypeExists constant reloTypeSize (line 143) | reloTypeSize constant reloEnumvalExists (line 144) | reloEnumvalExists constant reloEnumvalValue (line 145) | reloEnumvalValue constant reloTypeMatches (line 146) | reloTypeMatches function CORERelocate (line 202) | func CORERelocate(relos []*CORERelocation, targets []*Spec, bo binary.By... function coreCalculateFixups (line 300) | func coreCalculateFixups(relos []*CORERelocation, targets []Type, bo bin... function coreCalculateFixup (line 359) | func coreCalculateFixup(relo *CORERelocation, target Type, bo binary.Byt... function boolToUint64 (line 547) | func boolToUint64(val bool) uint64 { type coreAccessor (line 582) | type coreAccessor method String (line 604) | func (ca coreAccessor) String() string { method enumValue (line 612) | func (ca coreAccessor) enumValue(t Type) (*EnumValue, error) { function parseCOREAccessor (line 584) | func parseCOREAccessor(accessor string) (coreAccessor, error) { type coreField (line 636) | type coreField struct method adjustOffsetToNthElement (line 651) | func (cf *coreField) adjustOffsetToNthElement(n int) error { method adjustOffsetBits (line 665) | func (cf *coreField) adjustOffsetBits(offset Bits) error { method sizeBits (line 688) | func (cf *coreField) sizeBits() (Bits, error) { function coreFindField (line 708) | func coreFindField(localT Type, localAcc coreAccessor, targetT Type) (co... function coreFindMember (line 852) | func coreFindMember(typ composite, name string) (Member, bool, error) { function coreFindEnumValue (line 906) | func coreFindEnumValue(local Type, localAcc coreAccessor, target Type) (... function CheckTypeCompatibility (line 932) | func CheckTypeCompatibility(localType Type, targetType Type) error { type pair (line 936) | type pair struct function coreAreTypesCompatible (line 963) | func coreAreTypesCompatible(localType Type, targetType Type, visited map... function coreAreMembersCompatible (line 1044) | func coreAreMembersCompatible(localType Type, targetType Type) error { function coreEssentialNamesMatch (line 1087) | func coreEssentialNamesMatch(a, b string) bool { function coreTypesMatch (line 1125) | func coreTypesMatch(localType Type, targetType Type, visited map[pair]st... function coreEncodingMatches (line 1234) | func coreEncodingMatches(local, target *Int) bool { function coreEnumsMatch (line 1241) | func coreEnumsMatch(local *Enum, target *Enum) error { FILE: btf/core_reloc_test.go function TestCORERelocationLoad (line 19) | func TestCORERelocationLoad(t *testing.T) { function TestCORERelocationRead (line 70) | func TestCORERelocationRead(t *testing.T) { function TestLD64IMMReloc (line 125) | func TestLD64IMMReloc(t *testing.T) { function TestCOREPoisonLineInfo (line 148) | func TestCOREPoisonLineInfo(t *testing.T) { FILE: btf/core_test.go function TestCheckTypeCompatibility (line 19) | func TestCheckTypeCompatibility(t *testing.T) { function TestCOREAreMembersCompatible (line 91) | func TestCOREAreMembersCompatible(t *testing.T) { function TestCOREAccessor (line 148) | func TestCOREAccessor(t *testing.T) { function TestCOREFindEnumValue (line 175) | func TestCOREFindEnumValue(t *testing.T) { function TestCOREFindField (line 233) | func TestCOREFindField(t *testing.T) { function TestCOREFindFieldCyclical (line 500) | func TestCOREFindFieldCyclical(t *testing.T) { function TestCORERelocation (line 531) | func TestCORERelocation(t *testing.T) { function TestCOREReloFieldSigned (line 585) | func TestCOREReloFieldSigned(t *testing.T) { function TestCOREReloFieldShiftU64 (line 606) | func TestCOREReloFieldShiftU64(t *testing.T) { function TestCORERelosKmodTypeID (line 624) | func TestCORERelosKmodTypeID(t *testing.T) { function BenchmarkCORESkBuff (line 659) | func BenchmarkCORESkBuff(b *testing.B) { function TestCORETypesMatch (line 708) | func TestCORETypesMatch(t *testing.T) { function dummyTypeID (line 933) | func dummyTypeID(Type) (TypeID, error) { FILE: btf/dedup.go type deduper (line 20) | type deduper struct method deduplicate (line 45) | func (d *deduper) deduplicate(t Type) (Type, error) { method hashInsert (line 71) | func (d *deduper) hashInsert(t Type) (Type, error) { method hash (line 121) | func (d *deduper) hash(t Type, depthBudget int) (uint64, error) { method typesEquivalent (line 358) | func (d *deduper) typesEquivalent(ta, tb Type, visited []Type) error { method compositeEquivalent (line 594) | func (d *deduper) compositeEquivalent(at, bt Type, visited []Type) err... function newDeduper (line 34) | func newDeduper() *deduper { type hashCacheKey (line 112) | type hashCacheKey struct type typKey (line 350) | type typKey struct FILE: btf/dedup_test.go function countTypes (line 9) | func countTypes(typs ...Type) int { function TestDedupSKBuff (line 20) | func TestDedupSKBuff(t *testing.T) { function TestDedupVmlinux (line 46) | func TestDedupVmlinux(t *testing.T) { function BenchmarkDeduplicateSKBuff (line 88) | func BenchmarkDeduplicateSKBuff(b *testing.B) { function BenchmarkDeduplicateVMLinux (line 116) | func BenchmarkDeduplicateVMLinux(b *testing.B) { FILE: btf/ext_info.go type ExtInfos (line 18) | type ExtInfos struct method Section (line 27) | func (ei *ExtInfos) Section(name string) (FuncOffsets, LineOffsets, CO... function loadExtInfosFromELF (line 38) | func loadExtInfosFromELF(file *internal.SafeELFFile, spec *Spec) (*ExtIn... function loadExtInfos (line 52) | func loadExtInfos(r io.ReaderAt, bo binary.ByteOrder, spec *Spec) (*ExtI... function MarshalExtInfos (line 121) | func MarshalExtInfos(insns asm.Instructions, b *Builder) (funcInfos, lin... type btfExtHeader (line 172) | type btfExtHeader struct method funcInfoStart (line 215) | func (h *btfExtHeader) funcInfoStart() int64 { method lineInfoStart (line 221) | func (h *btfExtHeader) lineInfoStart() int64 { method coreReloStart (line 227) | func (h *btfExtHeader) coreReloStart(ch *btfExtCOREHeader) int64 { function parseBTFExtHeader (line 188) | func parseBTFExtHeader(r io.Reader, bo binary.ByteOrder) (*btfExtHeader,... type btfExtCOREHeader (line 233) | type btfExtCOREHeader struct function parseBTFExtCOREHeader (line 241) | func parseBTFExtCOREHeader(r io.Reader, bo binary.ByteOrder, extHeader *... type btfExtInfoSec (line 257) | type btfExtInfoSec struct function parseExtInfoSec (line 266) | func parseExtInfoSec(r io.Reader, bo binary.ByteOrder, strings *stringTa... function parseExtInfoRecordSize (line 290) | func parseExtInfoRecordSize(r io.Reader, bo binary.ByteOrder) (uint32, e... type FuncOffset (line 317) | type FuncOffset struct method marshal (line 385) | func (fi *FuncOffset) marshal(w *bytes.Buffer, b *Builder) error { type bpfFuncInfo (line 322) | type bpfFuncInfo struct function newFuncOffset (line 328) | func newFuncOffset(fi bpfFuncInfo, spec *Spec) (*FuncOffset, error) { function newFuncOffsets (line 350) | func newFuncOffsets(bfis []bpfFuncInfo, spec *Spec) (FuncOffsets, error) { function LoadFuncInfos (line 369) | func LoadFuncInfos(reader io.Reader, bo binary.ByteOrder, recordNum uint... function parseFuncInfos (line 403) | func parseFuncInfos(r io.Reader, bo binary.ByteOrder, strings *stringTab... function parseFuncInfoRecords (line 431) | func parseFuncInfoRecords(r io.Reader, bo binary.ByteOrder, recordSize u... type Line (line 465) | type Line struct method FileName (line 472) | func (li *Line) FileName() string { method Line (line 476) | func (li *Line) Line() string { method LineNumber (line 480) | func (li *Line) LineNumber() uint32 { method LineColumn (line 484) | func (li *Line) LineColumn() uint32 { method String (line 488) | func (li *Line) String() string { type LineOffset (line 496) | type LineOffset struct method marshal (line 573) | func (li *LineOffset) marshal(w *bytes.Buffer, b *Builder) error { constant bpfLineShift (line 503) | bpfLineShift = 10 constant bpfLineMax (line 504) | bpfLineMax = (1 << (32 - bpfLineShift)) - 1 constant bpfColumnMax (line 505) | bpfColumnMax = (1 << bpfLineShift) - 1 type bpfLineInfo (line 508) | type bpfLineInfo struct function LoadLineInfos (line 517) | func LoadLineInfos(reader io.Reader, bo binary.ByteOrder, recordNum uint... function newLineInfo (line 532) | func newLineInfo(li bpfLineInfo, strings *stringTable) (LineOffset, erro... function newLineInfos (line 557) | func newLineInfos(blis []bpfLineInfo, strings *stringTable) (LineOffsets... function parseLineInfos (line 611) | func parseLineInfos(r io.Reader, bo binary.ByteOrder, strings *stringTab... function parseLineInfoRecords (line 639) | func parseLineInfoRecords(r io.Reader, bo binary.ByteOrder, recordSize u... type bpfCORERelo (line 667) | type bpfCORERelo struct type CORERelocation (line 674) | type CORERelocation struct method String (line 683) | func (cr *CORERelocation) String() string { type coreRelocationMeta (line 687) | type coreRelocationMeta struct function CORERelocationMetadata (line 690) | func CORERelocationMetadata(ins *asm.Instruction) *CORERelocation { function WithCORERelocationMetadata (line 697) | func WithCORERelocationMetadata(ins asm.Instruction, relo *CORERelocatio... type CORERelocationOffset (line 707) | type CORERelocationOffset struct function newRelocationInfo (line 712) | func newRelocationInfo(relo bpfCORERelo, spec *Spec, strings *stringTabl... function newRelocationInfos (line 739) | func newRelocationInfos(brs []bpfCORERelo, spec *Spec, strings *stringTa... function parseCORERelos (line 761) | func parseCORERelos(r io.Reader, bo binary.ByteOrder, strings *stringTab... function parseCOREReloRecords (line 793) | func parseCOREReloRecords(r io.Reader, bo binary.ByteOrder, recordNum ui... FILE: btf/ext_info_test.go function TestParseExtInfoBigRecordSize (line 14) | func TestParseExtInfoBigRecordSize(t *testing.T) { function BenchmarkParseLineInfoRecords (line 30) | func BenchmarkParseLineInfoRecords(b *testing.B) { function TestParseLineInfoRecordsAllocations (line 42) | func TestParseLineInfoRecordsAllocations(t *testing.T) { FILE: btf/feature.go function probeBTF (line 137) | func probeBTF(typ Type) error { FILE: btf/feature_test.go function TestHaveBTF (line 9) | func TestHaveBTF(t *testing.T) { function TestHaveMapBTF (line 13) | func TestHaveMapBTF(t *testing.T) { function TestHaveProgBTF (line 17) | func TestHaveProgBTF(t *testing.T) { function TestHaveFuncLinkage (line 21) | func TestHaveFuncLinkage(t *testing.T) { function TestHaveDeclTags (line 25) | func TestHaveDeclTags(t *testing.T) { function TestHaveTypeTags (line 29) | func TestHaveTypeTags(t *testing.T) { function TestHaveEnum64 (line 33) | func TestHaveEnum64(t *testing.T) { FILE: btf/format.go type GoFormatter (line 14) | type GoFormatter struct method TypeDeclaration (line 31) | func (gf *GoFormatter) TypeDeclaration(name string, typ Type) (string,... method identifier (line 39) | func (gf *GoFormatter) identifier(s string) string { method enumIdentifier (line 47) | func (gf *GoFormatter) enumIdentifier(name, element string) string { method writeTypeDecl (line 61) | func (gf *GoFormatter) writeTypeDecl(name string, typ Type) error { method writeType (line 99) | func (gf *GoFormatter) writeType(typ Type, depth int) error { method writeTypeLit (line 119) | func (gf *GoFormatter) writeTypeLit(typ Type, depth int) error { method writeIntLit (line 178) | func (gf *GoFormatter) writeIntLit(i *Int) error { method writeStructLit (line 210) | func (gf *GoFormatter) writeStructLit(size uint32, members []Member, d... method writeStructField (line 248) | func (gf *GoFormatter) writeStructField(m Member, depth int) error { method writeDatasecLit (line 300) | func (gf *GoFormatter) writeDatasecLit(ds *Datasec, depth int) error { method writePadding (line 336) | func (gf *GoFormatter) writePadding(bytes uint32) { function skipQualifiers (line 342) | func skipQualifiers(typ Type) Type { FILE: btf/format_test.go function TestGoTypeDeclaration (line 12) | func TestGoTypeDeclaration(t *testing.T) { function TestGoTypeDeclarationNamed (line 153) | func TestGoTypeDeclarationNamed(t *testing.T) { function TestGoTypeDeclarationQualifiers (line 201) | func TestGoTypeDeclarationQualifiers(t *testing.T) { function TestGoTypeDeclarationCycle (line 223) | func TestGoTypeDeclarationCycle(t *testing.T) { function TestRejectBogusTypes (line 234) | func TestRejectBogusTypes(t *testing.T) { function mustGoTypeDeclaration (line 260) | func mustGoTypeDeclaration(tb testing.TB, typ Type, names map[Type]strin... FILE: btf/fuzz_test.go function FuzzSpec (line 15) | func FuzzSpec(f *testing.F) { function FuzzExtInfo (line 43) | func FuzzExtInfo(f *testing.F) { function mustBTFHeader (line 70) | func mustBTFHeader(f *testing.F) []byte { FILE: btf/handle.go type Handle (line 16) | type Handle struct method Spec (line 141) | func (h *Handle) Spec(base *Spec) (*Spec, error) { method Close (line 161) | func (h *Handle) Close() error { method FD (line 170) | func (h *Handle) FD() int { method Info (line 175) | func (h *Handle) Info() (*HandleInfo, error) { function NewHandle (line 28) | func NewHandle(b *Builder) (*Handle, error) { function NewHandleFromRawBTF (line 43) | func NewHandleFromRawBTF(btf []byte) (*Handle, error) { function NewHandleFromID (line 116) | func NewHandleFromID(id ID) (*Handle, error) { type HandleInfo (line 180) | type HandleInfo struct method IsVmlinux (line 231) | func (i *HandleInfo) IsVmlinux() bool { method IsModule (line 236) | func (i *HandleInfo) IsModule() bool { function newHandleInfoFromFD (line 197) | func newHandleInfoFromFD(fd *sys.FD) (*HandleInfo, error) { type HandleIterator (line 241) | type HandleIterator struct method Next (line 254) | func (it *HandleIterator) Next() bool { method Take (line 296) | func (it *HandleIterator) Take() *Handle { method Err (line 303) | func (it *HandleIterator) Err() error { function FindHandle (line 313) | func FindHandle(predicate func(info *HandleInfo) bool) (*Handle, error) { FILE: btf/handle_test.go function TestHandleIterator (line 11) | func TestHandleIterator(t *testing.T) { function TestParseModuleSplitSpec (line 50) | func TestParseModuleSplitSpec(t *testing.T) { function ExampleHandleIterator (line 86) | func ExampleHandleIterator() { FILE: btf/kernel.go function FlushKernelSpec (line 29) | func FlushKernelSpec() { function LoadKernelSpec (line 43) | func LoadKernelSpec() (*Spec, error) { function loadCachedKernelSpec (line 51) | func loadCachedKernelSpec() (*Spec, error) { function LoadKernelModuleSpec (line 84) | func LoadKernelModuleSpec(module string) (*Spec, error) { function loadCachedKernelModuleSpec (line 92) | func loadCachedKernelModuleSpec(module string) (*Spec, error) { function loadKernelSpec (line 125) | func loadKernelSpec() (*Spec, error) { function loadKernelModuleSpec (line 171) | func loadKernelModuleSpec(module string, base *Spec) (*Spec, error) { function findVMLinux (line 191) | func findVMLinux() (*os.File, error) { type Cache (line 227) | type Cache struct method Kernel (line 264) | func (c *Cache) Kernel() (*Spec, error) { method Module (line 278) | func (c *Cache) Module(name string) (*Spec, error) { method Modules (line 310) | func (c *Cache) Modules() ([]string, error) { function NewCache (line 236) | func NewCache() *Cache { FILE: btf/kernel_test.go function TestLoadKernelSpec (line 13) | func TestLoadKernelSpec(t *testing.T) { function TestLoadKernelModuleSpec (line 33) | func TestLoadKernelModuleSpec(t *testing.T) { function TestCache (line 42) | func TestCache(t *testing.T) { FILE: btf/marshal.go type MarshalOptions (line 16) | type MarshalOptions struct function KernelMarshalOptions (line 32) | func KernelMarshalOptions() *MarshalOptions { type encoder (line 44) | type encoder struct method allocateIDs (line 283) | func (e *encoder) allocateIDs(root Type) error { method id (line 307) | func (e *encoder) id(typ Type) TypeID { method deflatePending (line 320) | func (e *encoder) deflatePending(buf []byte) ([]byte, error) { method deflateType (line 343) | func (e *encoder) deflateType(buf []byte, typ Type) (_ []byte, err err... method deflateInt (line 467) | func (e *encoder) deflateInt(buf []byte, raw *btfType, i *Int) ([]byte... method deflateDeclTag (line 479) | func (e *encoder) deflateDeclTag(buf []byte, raw *btfType, tag *declTa... method deflateConst (line 506) | func (e *encoder) deflateConst(raw *btfType, c *Const) { method deflateTypeTag (line 511) | func (e *encoder) deflateTypeTag(raw *btfType, tag *TypeTag) (err erro... method deflateUnion (line 525) | func (e *encoder) deflateUnion(buf []byte, raw *btfType, union *Union)... method deflateMembers (line 531) | func (e *encoder) deflateMembers(buf []byte, header *btfType, members ... method deflateEnum (line 566) | func (e *encoder) deflateEnum(buf []byte, raw *btfType, enum *Enum) ([... method deflateEnumValues (line 575) | func (e *encoder) deflateEnumValues(buf []byte, enum *Enum) ([]byte, e... method deflateEnum64 (line 608) | func (e *encoder) deflateEnum64(buf []byte, raw *btfType, enum *Enum) ... method deflateEnum64Values (line 642) | func (e *encoder) deflateEnum64Values(buf []byte, values []EnumValue) ... method deflateFuncParams (line 666) | func (e *encoder) deflateFuncParams(buf []byte, params []FuncParam) ([... method deflateVarSecinfos (line 688) | func (e *encoder) deflateVarSecinfos(buf []byte, vars []VarSecinfo) ([... function getByteSlice (line 61) | func getByteSlice() *[]byte { function putByteSlice (line 65) | func putByteSlice(buf *[]byte) { type Builder (line 74) | type Builder struct method Empty (line 122) | func (b *Builder) Empty() bool { method Add (line 131) | func (b *Builder) Add(typ Type) (TypeID, error) { method Spec (line 179) | func (b *Builder) Spec() (*Spec, error) { method Marshal (line 191) | func (b *Builder) Marshal(buf []byte, opts *MarshalOptions) ([]byte, e... method addString (line 275) | func (b *Builder) addString(str string) (uint32, error) { type BuilderOptions (line 85) | type BuilderOptions struct function NewBuilder (line 95) | func NewBuilder(types []Type, opts *BuilderOptions) (*Builder, error) { function MarshalMapKV (line 711) | func MarshalMapKV(key, value Type) (_ *Handle, keyID, valueID TypeID, er... FILE: btf/marshal_test.go function TestBuilderMarshal (line 14) | func TestBuilderMarshal(t *testing.T) { function TestBuilderAdd (line 41) | func TestBuilderAdd(t *testing.T) { function TestBuilderSpec (line 79) | func TestBuilderSpec(t *testing.T) { function TestRoundtripVMlinux (line 95) | func TestRoundtripVMlinux(t *testing.T) { function TestMarshalEnum64 (line 136) | func TestMarshalEnum64(t *testing.T) { function TestMarshalDeclTags (line 173) | func TestMarshalDeclTags(t *testing.T) { function TestMarshalTypeTags (line 200) | func TestMarshalTypeTags(t *testing.T) { function BenchmarkMarshaler (line 233) | func BenchmarkMarshaler(b *testing.B) { function BenchmarkBuildVmlinux (line 247) | func BenchmarkBuildVmlinux(b *testing.B) { function marshalNativeEndian (line 261) | func marshalNativeEndian(tb testing.TB, types []Type) []byte { function specFromTypes (line 271) | func specFromTypes(tb testing.TB, types []Type) *Spec { function typesFromSpec (line 281) | func typesFromSpec(tb testing.TB, spec *Spec) []Type { FILE: btf/strings.go type stringTable (line 16) | type stringTable struct method Lookup (line 60) | func (st *stringTable) Lookup(offset uint32) (string, error) { method LookupBytes (line 70) | func (st *stringTable) LookupBytes(offset uint32) ([]byte, error) { method lookupSlow (line 79) | func (st *stringTable) lookupSlow(offset uint32) ([]byte, error) { method LookupCached (line 102) | func (cst *stringTable) LookupCached(offset uint32) (string, error) { type sizedReader (line 25) | type sizedReader interface function readStringTable (line 30) | func readStringTable(r sizedReader, base *stringTable) (*stringTable, er... function newStringTable (line 39) | func newStringTable(bytes []byte, base *stringTable) (*stringTable, erro... type stringTableBuilder (line 128) | type stringTableBuilder struct method Add (line 154) | func (stb *stringTableBuilder) Add(str string) (uint32, error) { method append (line 167) | func (stb *stringTableBuilder) append(str string) uint32 { method Lookup (line 177) | func (stb *stringTableBuilder) Lookup(str string) (uint32, error) { method Length (line 187) | func (stb *stringTableBuilder) Length() int { method AppendEncoded (line 192) | func (stb *stringTableBuilder) AppendEncoded(buf []byte) []byte { method Copy (line 203) | func (stb *stringTableBuilder) Copy() *stringTableBuilder { function newStringTableBuilder (line 136) | func newStringTableBuilder(capacity int) *stringTableBuilder { FILE: btf/strings_test.go function TestStringTable (line 11) | func TestStringTable(t *testing.T) { function TestEmptyStringTable (line 65) | func TestEmptyStringTable(t *testing.T) { function TestStringTableBuilder (line 75) | func TestStringTableBuilder(t *testing.T) { function BenchmarkStringTableZeroLookup (line 101) | func BenchmarkStringTableZeroLookup(b *testing.B) { FILE: btf/testdata/bpf_core_read.h type bpf_field_info_kind (line 13) | enum bpf_field_info_kind { type bpf_type_id_kind (line 23) | enum bpf_type_id_kind { type bpf_type_info_kind (line 29) | enum bpf_type_info_kind { type bpf_enum_value_kind (line 36) | enum bpf_enum_value_kind { FILE: btf/testdata/relocs.c type e (line 4) | enum e { type e64 (line 10) | enum e64 { type e_t (line 14) | typedef enum e e_t; type s (line 16) | struct s { type s_t (line 22) | typedef struct s s_t; type u_t (line 30) | typedef union u u_t; function type_ids (line 46) | int type_ids() { function types (line 107) | int types() { function enums (line 165) | int enums() { function fields (line 218) | int fields() { type ambiguous (line 275) | struct ambiguous { type ambiguous___flavour (line 280) | struct ambiguous___flavour { function err_ambiguous (line 285) | int err_ambiguous() { function err_ambiguous_flavour (line 289) | int err_ambiguous_flavour() { FILE: btf/testdata/relocs_enum.c type cgroup_subsys_id (line 3) | enum cgroup_subsys_id { function core_ld64imm (line 11) | int core_ld64imm() { FILE: btf/testdata/relocs_read.c type s (line 7) | struct s { type u8 (line 12) | typedef unsigned char u8; type u16 (line 13) | typedef unsigned short u16; type u32 (line 14) | typedef unsigned int u32; type u64 (line 15) | typedef unsigned long u64; type bits (line 18) | struct bits { type nonexist (line 27) | struct nonexist { type nonexist_enum (line 31) | enum nonexist_enum { NON_EXIST = 1 } function read_subprog (line 35) | __attribute__((noinline)) int read_subprog() { function reads (line 108) | int reads() { FILE: btf/testdata/relocs_read_tgt.c type s (line 7) | struct s { type s (line 12) | struct s type my_u32 (line 14) | typedef unsigned int my_u32; type u8 (line 15) | typedef unsigned char u8; type u16 (line 16) | typedef unsigned short u16; type u32 (line 17) | typedef unsigned int u32; type u64 (line 18) | typedef unsigned long u64; type bits (line 20) | struct bits { type bits (line 30) | struct bits FILE: btf/testdata/tags.c type s (line 9) | struct s { type tagB (line 19) | typedef tagB char td; type s (line 21) | struct s function normalDecl1 (line 27) | int tagE normalDecl1(char tagB x, char tagC y) { function normalDecl2 (line 31) | int tagE normalDecl2(char tagB x, char tagC y) { function prog (line 35) | int prog(char *ctx) { FILE: btf/traversal.go function postorder (line 12) | func postorder(root Type, visited map[Type]struct{}) iter.Seq[Type] { function visitInPostorder (line 20) | func visitInPostorder(root Type, visited map[Type]struct{}, yield func(t... function children (line 39) | func children(typ Type) iter.Seq[*Type] { FILE: btf/traversal_test.go function TestPostorderTraversal (line 10) | func TestPostorderTraversal(t *testing.T) { function TestPostorderTraversalVmlinux (line 35) | func TestPostorderTraversalVmlinux(t *testing.T) { function TestChildren (line 65) | func TestChildren(t *testing.T) { function BenchmarkPostorderTraversal (line 88) | func BenchmarkPostorderTraversal(b *testing.B) { FILE: btf/types.go constant maxResolveDepth (line 17) | maxResolveDepth = 32 type Type (line 44) | type Type interface type Void (line 83) | type Void struct method Format (line 85) | func (v *Void) Format(fs fmt.State, verb rune) { formatType(fs, verb, ... method TypeName (line 86) | func (v *Void) TypeName() string { return "" } method size (line 87) | func (v *Void) size() uint32 { return 0 } method copy (line 88) | func (v *Void) copy() Type { return (*Void)(nil) } type IntEncoding (line 90) | type IntEncoding method String (line 102) | func (ie IntEncoding) String() string { constant Unsigned (line 96) | Unsigned IntEncoding = 0 constant Signed (line 97) | Signed IntEncoding = 1 constant Char (line 98) | Char IntEncoding = 2 constant Bool (line 99) | Bool IntEncoding = 4 type Int (line 121) | type Int struct method Format (line 129) | func (i *Int) Format(fs fmt.State, verb rune) { method TypeName (line 133) | func (i *Int) TypeName() string { return i.Name } method size (line 134) | func (i *Int) size() uint32 { return i.Size } method copy (line 135) | func (i *Int) copy() Type { type Pointer (line 141) | type Pointer struct method Format (line 145) | func (p *Pointer) Format(fs fmt.State, verb rune) { method TypeName (line 149) | func (p *Pointer) TypeName() string { return "" } method size (line 150) | func (p *Pointer) size() uint32 { return 8 } method copy (line 151) | func (p *Pointer) copy() Type { type Array (line 157) | type Array struct method Format (line 163) | func (arr *Array) Format(fs fmt.State, verb rune) { method TypeName (line 167) | func (arr *Array) TypeName() string { return "" } method copy (line 169) | func (arr *Array) copy() Type { type Struct (line 175) | type Struct struct method Format (line 189) | func (s *Struct) Format(fs fmt.State, verb rune) { method TypeName (line 194) | func (s *Struct) TypeName() string { return s.Name } method size (line 196) | func (s *Struct) size() uint32 { return s.Size } method copy (line 198) | func (s *Struct) copy() Type { method members (line 205) | func (s *Struct) members() []Member { type Union (line 210) | type Union struct method Format (line 224) | func (u *Union) Format(fs fmt.State, verb rune) { method TypeName (line 229) | func (u *Union) TypeName() string { return u.Name } method size (line 231) | func (u *Union) size() uint32 { return u.Size } method copy (line 233) | func (u *Union) copy() Type { method members (line 240) | func (u *Union) members() []Member { function memberNames (line 248) | func memberNames(members []Member, max int) []string { function copyMembers (line 267) | func copyMembers(orig []Member) []Member { function copyTags (line 276) | func copyTags(orig []string) []string { type composite (line 285) | type composite interface type Bits (line 296) | type Bits method Bytes (line 299) | func (b Bits) Bytes() uint32 { type Member (line 306) | type Member struct type Enum (line 315) | type Enum struct method Format (line 324) | func (e *Enum) Format(fs fmt.State, verb rune) { method TypeName (line 328) | func (e *Enum) TypeName() string { return e.Name } method size (line 338) | func (e *Enum) size() uint32 { return e.Size } method copy (line 339) | func (e *Enum) copy() Type { type EnumValue (line 333) | type EnumValue struct type FwdKind (line 347) | type FwdKind method String (line 355) | func (fk FwdKind) String() string { constant FwdStruct (line 351) | FwdStruct FwdKind = iota constant FwdUnion (line 352) | FwdUnion type Fwd (line 367) | type Fwd struct method Format (line 372) | func (f *Fwd) Format(fs fmt.State, verb rune) { method TypeName (line 376) | func (f *Fwd) TypeName() string { return f.Name } method copy (line 378) | func (f *Fwd) copy() Type { method matches (line 383) | func (f *Fwd) matches(typ Type) bool { type Typedef (line 396) | type Typedef struct method Format (line 402) | func (td *Typedef) Format(fs fmt.State, verb rune) { method TypeName (line 406) | func (td *Typedef) TypeName() string { return td.Name } method copy (line 408) | func (td *Typedef) copy() Type { type Volatile (line 415) | type Volatile struct method Format (line 419) | func (v *Volatile) Format(fs fmt.State, verb rune) { method TypeName (line 423) | func (v *Volatile) TypeName() string { return "" } method qualify (line 425) | func (v *Volatile) qualify() Type { return v.Type } method copy (line 426) | func (v *Volatile) copy() Type { type Const (line 432) | type Const struct method Format (line 436) | func (c *Const) Format(fs fmt.State, verb rune) { method TypeName (line 440) | func (c *Const) TypeName() string { return "" } method qualify (line 442) | func (c *Const) qualify() Type { return c.Type } method copy (line 443) | func (c *Const) copy() Type { type Restrict (line 449) | type Restrict struct method Format (line 453) | func (r *Restrict) Format(fs fmt.State, verb rune) { method TypeName (line 457) | func (r *Restrict) TypeName() string { return "" } method qualify (line 459) | func (r *Restrict) qualify() Type { return r.Type } method copy (line 460) | func (r *Restrict) copy() Type { type Func (line 466) | type Func struct method Format (line 491) | func (f *Func) Format(fs fmt.State, verb rune) { method TypeName (line 495) | func (f *Func) TypeName() string { return f.Name } method copy (line 497) | func (f *Func) copy() Type { type funcInfoMeta (line 478) | type funcInfoMeta struct function FuncMetadata (line 480) | func FuncMetadata(ins *asm.Instruction) *Func { function WithFuncMetadata (line 486) | func WithFuncMetadata(ins asm.Instruction, fn *Func) asm.Instruction { type FuncProto (line 511) | type FuncProto struct method Format (line 516) | func (fp *FuncProto) Format(fs fmt.State, verb rune) { method TypeName (line 520) | func (fp *FuncProto) TypeName() string { return "" } method copy (line 522) | func (fp *FuncProto) copy() Type { type FuncParam (line 529) | type FuncParam struct type Var (line 535) | type Var struct method Format (line 542) | func (v *Var) Format(fs fmt.State, verb rune) { method TypeName (line 546) | func (v *Var) TypeName() string { return v.Name } method copy (line 548) | func (v *Var) copy() Type { type Datasec (line 555) | type Datasec struct method Format (line 561) | func (ds *Datasec) Format(fs fmt.State, verb rune) { method TypeName (line 565) | func (ds *Datasec) TypeName() string { return ds.Name } method size (line 567) | func (ds *Datasec) size() uint32 { return ds.Size } method copy (line 569) | func (ds *Datasec) copy() Type { type VarSecinfo (line 579) | type VarSecinfo struct type Float (line 587) | type Float struct method Format (line 594) | func (f *Float) Format(fs fmt.State, verb rune) { method TypeName (line 598) | func (f *Float) TypeName() string { return f.Name } method size (line 599) | func (f *Float) size() uint32 { return f.Size } method copy (line 600) | func (f *Float) copy() Type { type declTag (line 606) | type declTag struct method Format (line 615) | func (dt *declTag) Format(fs fmt.State, verb rune) { method TypeName (line 619) | func (dt *declTag) TypeName() string { return "" } method copy (line 620) | func (dt *declTag) copy() Type { type TypeTag (line 632) | type TypeTag struct method Format (line 637) | func (tt *TypeTag) Format(fs fmt.State, verb rune) { method TypeName (line 641) | func (tt *TypeTag) TypeName() string { return "" } method qualify (line 642) | func (tt *TypeTag) qualify() Type { return tt.Type } method copy (line 643) | func (tt *TypeTag) copy() Type { type cycle (line 649) | type cycle struct method ID (line 653) | func (c *cycle) ID() TypeID { return math.MaxUint32 } method Format (line 654) | func (c *cycle) Format(fs fmt.State, verb rune) { formatType(fs, verb,... method TypeName (line 655) | func (c *cycle) TypeName() string { return "" } method copy (line 656) | func (c *cycle) copy() Type { type sizer (line 661) | type sizer interface type qualifier (line 674) | type qualifier interface function Sizeof (line 690) | func Sizeof(typ Type) (int, error) { function alignof (line 744) | func alignof(typ Type) (int, error) { function Copy (line 768) | func Copy(typ Type) Type { function copyType (line 772) | func copyType(typ Type, ids map[Type]TypeID, copies map[Type]Type, copie... type essentialName (line 801) | type essentialName function newEssentialName (line 809) | func newEssentialName(name string) essentialName { function UnderlyingType (line 821) | func UnderlyingType(typ Type) Type { function QualifiedType (line 837) | func QualifiedType(typ Type) Type { function As (line 855) | func As[T Type](typ Type) (T, bool) { type formatState (line 876) | type formatState struct type formattableType (line 882) | type formattableType interface function formatType (line 892) | func formatType(f fmt.State, verb rune, t formattableType, extra ...inte... FILE: btf/types_test.go function TestSizeof (line 15) | func TestSizeof(t *testing.T) { function TestCopy (line 41) | func TestCopy(t *testing.T) { function TestAs (line 75) | func TestAs(t *testing.T) { function BenchmarkCopy (line 110) | func BenchmarkCopy(b *testing.B) { function ExampleType_validTypes (line 124) | func ExampleType_validTypes() { function TestType (line 144) | func TestType(t *testing.T) { function TestTagMarshaling (line 220) | func TestTagMarshaling(t *testing.T) { function countChildren (line 247) | func countChildren(t *testing.T, typ reflect.Type) int { type testFormattableType (line 267) | type testFormattableType struct method TypeName (line 274) | func (tft *testFormattableType) TypeName() string { return tft.name } method Format (line 275) | func (tft *testFormattableType) Format(fs fmt.State, verb rune) { function TestFormatType (line 279) | func TestFormatType(t *testing.T) { function TestFormatCompoundTypes (line 326) | func TestFormatCompoundTypes(t *testing.T) { function newCyclicalType (line 343) | func newCyclicalType(n int) Type { function TestUnderlyingType (line 369) | func TestUnderlyingType(t *testing.T) { function TestInflateLegacyBitfield (line 401) | func TestInflateLegacyBitfield(t *testing.T) { function TestMemberNames (line 488) | func TestMemberNames(t *testing.T) { function BenchmarkWalk (line 498) | func BenchmarkWalk(b *testing.B) { function TestTagUnmarshaling (line 532) | func TestTagUnmarshaling(t *testing.T) { function BenchmarkUnderlyingType (line 590) | func BenchmarkUnderlyingType(b *testing.B) { function ExampleAs (line 611) | func ExampleAs() { FILE: btf/unmarshal.go type sharedBuf (line 21) | type sharedBuf struct type decoder (line 25) | type decoder struct method Copy (line 203) | func (d *decoder) Copy() *decoder { method copy (line 211) | func (d *decoder) copy(copiedTypes map[Type]Type) *decoder { method TypeID (line 246) | func (d *decoder) TypeID(typ Type) (TypeID, error) { method TypesByName (line 266) | func (d *decoder) TypesByName(name essentialName) ([]Type, error) { method TypeByID (line 290) | func (d *decoder) TypeByID(id TypeID) (Type, error) { method inflateType (line 297) | func (d *decoder) inflateType(id TypeID) (typ Type, err error) { function newDecoder (line 48) | func newDecoder(raw []byte, bo binary.ByteOrder, strings *stringTable, b... function allBtfTypeOffsets (line 146) | func allBtfTypeOffsets(buf []byte, bo binary.ByteOrder, header *btfType)... function rebaseDecoder (line 177) | func rebaseDecoder(d *decoder, base *decoder) (*decoder, error) { type fuzzyStringIndex (line 724) | type fuzzyStringIndex struct method Add (line 739) | func (idx *fuzzyStringIndex) Add(name []byte, id TypeID) { method Build (line 747) | func (idx *fuzzyStringIndex) Build() { method Find (line 756) | func (idx *fuzzyStringIndex) Find(name string) iter.Seq[TypeID] { function newFuzzyStringIndex (line 729) | func newFuzzyStringIndex(capacity int) *fuzzyStringIndex { type fuzzyStringIndexEntry (line 777) | type fuzzyStringIndexEntry method hash (line 783) | func (e fuzzyStringIndexEntry) hash() uint32 { method id (line 787) | func (e fuzzyStringIndexEntry) id() TypeID { function newFuzzyStringIndexEntry (line 779) | func newFuzzyStringIndexEntry(hash uint32, id TypeID) fuzzyStringIndexEn... FILE: btf/unmarshal_test.go function TestFuzzyStringIndex (line 11) | func TestFuzzyStringIndex(t *testing.T) { FILE: btf/workarounds.go function datasecResolveWorkaround (line 7) | func datasecResolveWorkaround(b *Builder, ds *Datasec) error { FILE: btf/workarounds_test.go function TestDatasecResolveWorkaround (line 14) | func TestDatasecResolveWorkaround(t *testing.T) { function TestEmptyBTFWithStringTableWorkaround (line 71) | func TestEmptyBTFWithStringTableWorkaround(t *testing.T) { FILE: cmd/bpf2go/flags.go type buildTags (line 13) | type buildTags struct method String (line 19) | func (bt *buildTags) String() string { method Set (line 27) | func (bt *buildTags) Set(value string) error { function andConstraints (line 37) | func andConstraints(x, y constraint.Expr) constraint.Expr { FILE: cmd/bpf2go/gen/compile.go type CompileArgs (line 13) | type CompileArgs struct function insertDefaultFlags (line 31) | func insertDefaultFlags(flags []string) []string { function Compile (line 61) | func Compile(args CompileArgs) error { FILE: cmd/bpf2go/gen/compile_test.go constant minimalSocketFilter (line 14) | minimalSocketFilter = `__attribute__((section("socket"), used)) int main... function TestCompile (line 16) | func TestCompile(t *testing.T) { function TestReproducibleCompile (line 45) | func TestReproducibleCompile(t *testing.T) { function TestTriggerMissingTarget (line 91) | func TestTriggerMissingTarget(t *testing.T) { function mustWriteFile (line 111) | func mustWriteFile(tb testing.TB, dir, name, contents string) { FILE: cmd/bpf2go/gen/output.go type templateName (line 28) | type templateName method maybeExport (line 30) | func (n templateName) maybeExport(str string) string { method Bytes (line 38) | func (n templateName) Bytes() string { method Specs (line 42) | func (n templateName) Specs() string { method ProgramSpecs (line 46) | func (n templateName) ProgramSpecs() string { method MapSpecs (line 50) | func (n templateName) MapSpecs() string { method VariableSpecs (line 54) | func (n templateName) VariableSpecs() string { method Load (line 58) | func (n templateName) Load() string { method LoadObjects (line 62) | func (n templateName) LoadObjects() string { method Objects (line 66) | func (n templateName) Objects() string { method Maps (line 70) | func (n templateName) Maps() string { method Variables (line 74) | func (n templateName) Variables() string { method Programs (line 78) | func (n templateName) Programs() string { method CloseHelper (line 82) | func (n templateName) CloseHelper() string { type GenerateArgs (line 86) | type GenerateArgs struct function Generate (line 110) | func Generate(args GenerateArgs) error { function sortTypes (line 212) | func sortTypes(typeNames map[btf.Type]string) ([]btf.Type, error) { function toUpperFirst (line 234) | func toUpperFirst(str string) string { FILE: cmd/bpf2go/gen/output_test.go function TestOrderTypes (line 17) | func TestOrderTypes(t *testing.T) { function TestPackageImport (line 69) | func TestPackageImport(t *testing.T) { function TestCustomIdentifier (line 83) | func TestCustomIdentifier(t *testing.T) { function TestObjects (line 98) | func TestObjects(t *testing.T) { function TestGenerateStructTypes (line 122) | func TestGenerateStructTypes(t *testing.T) { FILE: cmd/bpf2go/gen/target.go type Target (line 33) | type Target struct method IsGeneric (line 50) | func (tgt *Target) IsGeneric() bool { method Suffix (line 56) | func (tgt *Target) Suffix() string { method ObsoleteSuffix (line 74) | func (tgt *Target) ObsoleteSuffix() string { function TargetsByGoArch (line 45) | func TargetsByGoArch() map[GoArch]Target { type GoArch (line 86) | type GoArch type GoArches (line 88) | type GoArches method Constraint (line 91) | func (arches GoArches) Constraint() constraint.Expr { function FindTarget (line 113) | func FindTarget(id string) (Target, GoArches, error) { function orConstraints (line 150) | func orConstraints(x, y constraint.Expr) constraint.Expr { FILE: cmd/bpf2go/gen/target_test.go function TestCollectTargets (line 14) | func TestCollectTargets(t *testing.T) { function TestCollectTargetsErrors (line 91) | func TestCollectTargetsErrors(t *testing.T) { function TestGoarches (line 111) | func TestGoarches(t *testing.T) { function TestClangTargets (line 128) | func TestClangTargets(t *testing.T) { function goBin (line 151) | func goBin(t *testing.T) string { FILE: cmd/bpf2go/gen/types.go function CollectGlobalTypes (line 16) | func CollectGlobalTypes(spec *ebpf.CollectionSpec) []btf.Type { function collectMapTypes (line 30) | func collectMapTypes(types []btf.Type, maps map[string]*ebpf.MapSpec) []... function collectVariableTypes (line 45) | func collectVariableTypes(types []btf.Type, vars map[string]*ebpf.Variab... function addType (line 55) | func addType(types []btf.Type, incoming btf.Type) []btf.Type { function selectType (line 78) | func selectType(t btf.Type) btf.Type { FILE: cmd/bpf2go/gen/types_test.go function mustAnyTypeByName (line 16) | func mustAnyTypeByName(t *testing.T, spec *ebpf.CollectionSpec, name str... function TestCollectGlobalTypes (line 24) | func TestCollectGlobalTypes(t *testing.T) { FILE: cmd/bpf2go/internal/module.go constant CurrentModule (line 9) | CurrentModule = "github.com/cilium/ebpf" FILE: cmd/bpf2go/main.go constant helpText (line 24) | helpText = `Usage: %[1]s [options] [-- ] function run (line 48) | func run(stdout io.Writer, args []string) (err error) { type bpf2go (line 60) | type bpf2go struct method Debugln (line 94) | func (b2g *bpf2go) Debugln(a ...any) { method convertAll (line 303) | func (b2g *bpf2go) convertAll() (err error) { method convert (line 326) | func (b2g *bpf2go) convert(tgt gen.Target, goarches gen.GoArches) (err... method removeOldOutputFiles (line 489) | func (b2g *bpf2go) removeOldOutputFiles(outputStem string, tgt gen.Tar... function newB2G (line 100) | func newB2G(stdout io.Writer, args []string) (*bpf2go, error) { type cTypes (line 248) | type cTypes method String (line 252) | func (ct *cTypes) String() string { method Set (line 263) | func (ct *cTypes) Set(value string) error { constant validCTypeChars (line 259) | validCTypeChars = `[a-z0-9_]` function getEnv (line 282) | func getEnv(key, defaultVal string) string { function getBool (line 289) | func getBool(key string, defaultVal bool) bool { function printTargets (line 511) | func printTargets(w io.Writer) { function collectCTypes (line 528) | func collectCTypes(types *btf.Spec, names []string) ([]btf.Type, error) { constant gopackageEnv (line 540) | gopackageEnv = "GOPACKAGE" function main (line 542) | func main() { FILE: cmd/bpf2go/main_test.go constant minimalSocketFilter (line 22) | minimalSocketFilter = `__attribute__((section("socket"), used)) int main... function TestRun (line 24) | func TestRun(t *testing.T) { function TestHelp (line 111) | func TestHelp(t *testing.T) { function TestErrorMentionsEnvVar (line 123) | func TestErrorMentionsEnvVar(t *testing.T) { function TestDisableStripping (line 128) | func TestDisableStripping(t *testing.T) { function TestConvertGOARCH (line 147) | func TestConvertGOARCH(t *testing.T) { function TestCTypes (line 171) | func TestCTypes(t *testing.T) { function TestParseArgs (line 205) | func TestParseArgs(t *testing.T) { function mustWriteFile (line 409) | func mustWriteFile(tb testing.TB, dir, name, contents string) { FILE: cmd/bpf2go/makedep.go function adjustDependencies (line 15) | func adjustDependencies(w io.Writer, baseDir string, deps []dependency) ... type dependency (line 48) | type dependency struct function parseDependencies (line 53) | func parseDependencies(baseDir string, in io.Reader) ([]dependency, erro... FILE: cmd/bpf2go/makedep_test.go function TestParseDependencies (line 12) | func TestParseDependencies(t *testing.T) { FILE: cmd/bpf2go/test/api_test.go function TestLoadingSpec (line 15) | func TestLoadingSpec(t *testing.T) { function TestLoadingObjects (line 26) | func TestLoadingObjects(t *testing.T) { function TestTypes (line 41) | func TestTypes(t *testing.T) { FILE: cmd/bpf2go/test/test_bpfeb.go type testBar (line 16) | type testBar struct type testBarfoo (line 23) | type testBarfoo struct type testBaz (line 31) | type testBaz struct type testE (line 36) | type testE constant testEHOOPY (line 39) | testEHOOPY testE = 0 constant testEFROOD (line 40) | testEFROOD testE = 1 type testUbar (line 43) | type testUbar struct function loadTest (line 50) | func loadTest() (*ebpf.CollectionSpec, error) { function loadTestObjects (line 69) | func loadTestObjects(obj interface{}, opts *ebpf.CollectionOptions) error { type testSpecs (line 81) | type testSpecs struct type testProgramSpecs (line 90) | type testProgramSpecs struct type testMapSpecs (line 97) | type testMapSpecs struct type testVariableSpecs (line 104) | type testVariableSpecs struct type testObjects (line 117) | type testObjects struct method Close (line 123) | func (o *testObjects) Close() error { type testMaps (line 133) | type testMaps struct method Close (line 137) | func (m *testMaps) Close() error { type testVariables (line 146) | type testVariables struct type testPrograms (line 159) | type testPrograms struct method Close (line 163) | func (p *testPrograms) Close() error { function _TestClose (line 169) | func _TestClose(closers ...io.Closer) error { FILE: cmd/bpf2go/test/test_bpfel.go type testBar (line 16) | type testBar struct type testBarfoo (line 23) | type testBarfoo struct type testBaz (line 31) | type testBaz struct type testE (line 36) | type testE constant testEHOOPY (line 39) | testEHOOPY testE = 0 constant testEFROOD (line 40) | testEFROOD testE = 1 type testUbar (line 43) | type testUbar struct function loadTest (line 50) | func loadTest() (*ebpf.CollectionSpec, error) { function loadTestObjects (line 69) | func loadTestObjects(obj interface{}, opts *ebpf.CollectionOptions) error { type testSpecs (line 81) | type testSpecs struct type testProgramSpecs (line 90) | type testProgramSpecs struct type testMapSpecs (line 97) | type testMapSpecs struct type testVariableSpecs (line 104) | type testVariableSpecs struct type testObjects (line 117) | type testObjects struct method Close (line 123) | func (o *testObjects) Close() error { type testMaps (line 133) | type testMaps struct method Close (line 137) | func (m *testMaps) Close() error { type testVariables (line 146) | type testVariables struct type testPrograms (line 159) | type testPrograms struct method Close (line 163) | func (p *testPrograms) Close() error { function _TestClose (line 169) | func _TestClose(closers ...io.Closer) error { FILE: cmd/bpf2go/testdata/minimal.c type e (line 5) | enum e { HOOPY, FROOD } type longint (line 7) | typedef long long int longint; type barfoo (line 9) | typedef struct { type baz (line 15) | typedef struct { type bar (line 19) | struct bar { type e (line 31) | enum e type e (line 37) | enum e type bar (line 42) | struct bar function filter (line 45) | int filter() { FILE: cmd/bpf2go/tools.go function splitCFlagsFromArgs (line 11) | func splitCFlagsFromArgs(in []string) (args, cflags []string) { function splitArguments (line 21) | func splitArguments(in string) ([]string, error) { FILE: cmd/bpf2go/tools_test.go function TestSplitArguments (line 10) | func TestSplitArguments(t *testing.T) { FILE: collection.go type CollectionOptions (line 25) | type CollectionOptions struct type CollectionSpec (line 42) | type CollectionSpec struct method Copy (line 61) | func (cs *CollectionSpec) Copy() *CollectionSpec { method Assign (line 118) | func (cs *CollectionSpec) Assign(to interface{}) error { method LoadAndAssign (line 174) | func (cs *CollectionSpec) LoadAndAssign(to interface{}, opts *Collecti... function copyMapOfSpecs (line 84) | func copyMapOfSpecs[T interface{ Copy() T }](m map[string]T) map[string]T { type Collection (line 248) | type Collection struct method Assign (line 841) | func (coll *Collection) Assign(to interface{}) error { method Close (line 898) | func (coll *Collection) Close() { method DetachMap (line 912) | func (coll *Collection) DetachMap(name string) *Map { method DetachProgram (line 923) | func (coll *Collection) DetachProgram(name string) *Program { function NewCollection (line 263) | func NewCollection(spec *CollectionSpec) (*Collection, error) { function NewCollectionWithOptions (line 272) | func NewCollectionWithOptions(spec *CollectionSpec, opts CollectionOptio... type collectionLoader (line 319) | type collectionLoader struct method close (line 380) | func (cl *collectionLoader) close() { method loadMap (line 389) | func (cl *collectionLoader) loadMap(mapName string) (*Map, error) { method loadProgram (line 448) | func (cl *collectionLoader) loadProgram(progName string) (*Program, er... method loadVariable (line 502) | func (cl *collectionLoader) loadVariable(varName string) (*Variable, e... method populateDeferredMaps (line 549) | func (cl *collectionLoader) populateDeferredMaps() error { method populateStructOps (line 612) | func (cl *collectionLoader) populateStructOps(m *Map, mapSpec *MapSpec... function newCollectionLoader (line 328) | func newCollectionLoader(coll *CollectionSpec, opts *CollectionOptions) ... function populateKallsyms (line 357) | func populateKallsyms(progs map[string]*ProgramSpec) error { function resolveKconfig (line 703) | func resolveKconfig(m *MapSpec) error { function LoadCollection (line 804) | func LoadCollection(file string) (*Collection, error) { type structField (line 930) | type structField struct function ebpfFields (line 937) | func ebpfFields(structVal reflect.Value, visited map[reflect.Type]bool) ... function assignValues (line 1001) | func assignValues(to interface{}, FILE: collection_other.go function loadCollectionFromNativeImage (line 7) | func loadCollectionFromNativeImage(_ string) (*Collection, error) { FILE: collection_test.go function TestMain (line 22) | func TestMain(m *testing.M) { function TestCollectionSpecNotModified (line 26) | func TestCollectionSpecNotModified(t *testing.T) { function TestCollectionSpecCopy (line 71) | func TestCollectionSpecCopy(t *testing.T) { function TestCollectionSpecMapReplacements (line 128) | func TestCollectionSpecMapReplacements(t *testing.T) { function TestCollectionSpecMapReplacements_NonExistingMap (line 171) | func TestCollectionSpecMapReplacements_NonExistingMap(t *testing.T) { function TestCollectionSpecMapReplacements_SpecMismatch (line 197) | func TestCollectionSpecMapReplacements_SpecMismatch(t *testing.T) { function TestMapReplacementsDataSections (line 231) | func TestMapReplacementsDataSections(t *testing.T) { function TestCollectionSpec_LoadAndAssign_LazyLoading (line 260) | func TestCollectionSpec_LoadAndAssign_LazyLoading(t *testing.T) { function TestCollectionSpecAssign (line 312) | func TestCollectionSpecAssign(t *testing.T) { function TestNewCollectionFdLeak (line 375) | func TestNewCollectionFdLeak(t *testing.T) { function TestAssignValues (line 390) | func TestAssignValues(t *testing.T) { function TestCollectionAssign (line 456) | func TestCollectionAssign(t *testing.T) { function TestCollectionAssignFail (line 498) | func TestCollectionAssignFail(t *testing.T) { function TestIncompleteLoadAndAssign (line 535) | func TestIncompleteLoadAndAssign(t *testing.T) { function BenchmarkNewCollection (line 580) | func BenchmarkNewCollection(b *testing.B) { function BenchmarkNewCollectionManyProgs (line 604) | func BenchmarkNewCollectionManyProgs(b *testing.B) { function BenchmarkLoadCollectionManyProgs (line 624) | func BenchmarkLoadCollectionManyProgs(b *testing.B) { function ExampleCollectionSpec_Assign (line 644) | func ExampleCollectionSpec_Assign() { function ExampleCollectionSpec_LoadAndAssign (line 686) | func ExampleCollectionSpec_LoadAndAssign() { function TestStructOpsMapSpecSimpleLoadAndAssign (line 720) | func TestStructOpsMapSpecSimpleLoadAndAssign(t *testing.T) { function TestLinkedELF (line 850) | func TestLinkedELF(t *testing.T) { FILE: collection_windows.go function loadCollectionFromNativeImage (line 13) | func loadCollectionFromNativeImage(file string) (_ *Collection, err erro... FILE: collection_windows_test.go function TestLoadNativeImage (line 11) | func TestLoadNativeImage(t *testing.T) { FILE: cpu.go function PossibleCPU (line 5) | func PossibleCPU() (int, error) { function MustPossibleCPU (line 11) | func MustPossibleCPU() int { FILE: cpu_test.go function TestPossibleCPU (line 9) | func TestPossibleCPU(t *testing.T) { FILE: docs/examples/docs.c function my_prog (line 17) | int my_prog() { FILE: docs/examples/docs_test.go function DocLoadCollectionSpec (line 11) | func DocLoadCollectionSpec() { function DocNewCollection (line 36) | func DocNewCollection() { type myObjs (line 60) | type myObjs struct method Close (line 65) | func (objs *myObjs) Close() error { function DocLoadAndAssign (line 77) | func DocLoadAndAssign() { function DocBTFTypeByName (line 99) | func DocBTFTypeByName() { FILE: docs/examples/features_test.go function DocDetectXDP (line 13) | func DocDetectXDP() { FILE: docs/examples/getting_started/counter.c function count_packets (line 17) | int count_packets() { FILE: docs/examples/getting_started/counter_bpfeb.go function loadCounter (line 16) | func loadCounter() (*ebpf.CollectionSpec, error) { function loadCounterObjects (line 35) | func loadCounterObjects(obj interface{}, opts *ebpf.CollectionOptions) e... type counterSpecs (line 47) | type counterSpecs struct type counterProgramSpecs (line 56) | type counterProgramSpecs struct type counterMapSpecs (line 63) | type counterMapSpecs struct type counterVariableSpecs (line 70) | type counterVariableSpecs struct type counterObjects (line 76) | type counterObjects struct method Close (line 82) | func (o *counterObjects) Close() error { type counterMaps (line 92) | type counterMaps struct method Close (line 96) | func (m *counterMaps) Close() error { type counterVariables (line 105) | type counterVariables struct type counterPrograms (line 111) | type counterPrograms struct method Close (line 115) | func (p *counterPrograms) Close() error { function _CounterClose (line 121) | func _CounterClose(closers ...io.Closer) error { FILE: docs/examples/getting_started/counter_bpfel.go function loadCounter (line 16) | func loadCounter() (*ebpf.CollectionSpec, error) { function loadCounterObjects (line 35) | func loadCounterObjects(obj interface{}, opts *ebpf.CollectionOptions) e... type counterSpecs (line 47) | type counterSpecs struct type counterProgramSpecs (line 56) | type counterProgramSpecs struct type counterMapSpecs (line 63) | type counterMapSpecs struct type counterVariableSpecs (line 70) | type counterVariableSpecs struct type counterObjects (line 76) | type counterObjects struct method Close (line 82) | func (o *counterObjects) Close() error { type counterMaps (line 92) | type counterMaps struct method Close (line 96) | func (m *counterMaps) Close() error { type counterVariables (line 105) | type counterVariables struct type counterPrograms (line 111) | type counterPrograms struct method Close (line 115) | func (p *counterPrograms) Close() error { function _CounterClose (line 121) | func _CounterClose(closers ...io.Closer) error { FILE: docs/examples/getting_started/main.go function main (line 17) | func main() { FILE: docs/examples/rlimit_test.go function init (line 8) | func init() { FILE: docs/examples/variables/main.go function main (line 9) | func main() { function DocVariablesSetConst (line 15) | func DocVariablesSetConst() { function DocVariablesSetGlobal (line 56) | func DocVariablesSetGlobal() { function panicf (line 104) | func panicf(format string, args ...interface{}) { FILE: docs/examples/variables/variables.c function const_example (line 12) | int const_example() { function global_example (line 20) | int global_example() { function hidden_example (line 29) | int hidden_example() { FILE: docs/examples/variables/variables_bpfeb.go function loadVariables (line 16) | func loadVariables() (*ebpf.CollectionSpec, error) { function loadVariablesObjects (line 35) | func loadVariablesObjects(obj interface{}, opts *ebpf.CollectionOptions)... type variablesSpecs (line 47) | type variablesSpecs struct type variablesProgramSpecs (line 56) | type variablesProgramSpecs struct type variablesMapSpecs (line 65) | type variablesMapSpecs struct type variablesVariableSpecs (line 71) | type variablesVariableSpecs struct type variablesObjects (line 79) | type variablesObjects struct method Close (line 85) | func (o *variablesObjects) Close() error { type variablesMaps (line 95) | type variablesMaps struct method Close (line 98) | func (m *variablesMaps) Close() error { type variablesVariables (line 105) | type variablesVariables struct type variablesPrograms (line 113) | type variablesPrograms struct method Close (line 119) | func (p *variablesPrograms) Close() error { function _VariablesClose (line 127) | func _VariablesClose(closers ...io.Closer) error { FILE: docs/examples/variables/variables_bpfel.go function loadVariables (line 16) | func loadVariables() (*ebpf.CollectionSpec, error) { function loadVariablesObjects (line 35) | func loadVariablesObjects(obj interface{}, opts *ebpf.CollectionOptions)... type variablesSpecs (line 47) | type variablesSpecs struct type variablesProgramSpecs (line 56) | type variablesProgramSpecs struct type variablesMapSpecs (line 65) | type variablesMapSpecs struct type variablesVariableSpecs (line 71) | type variablesVariableSpecs struct type variablesObjects (line 79) | type variablesObjects struct method Close (line 85) | func (o *variablesObjects) Close() error { type variablesMaps (line 95) | type variablesMaps struct method Close (line 98) | func (m *variablesMaps) Close() error { type variablesVariables (line 105) | type variablesVariables struct type variablesPrograms (line 113) | type variablesPrograms struct method Close (line 119) | func (p *variablesPrograms) Close() error { function _VariablesClose (line 127) | func _VariablesClose(closers ...io.Closer) error { FILE: docs/macros.py function define_env (line 16) | def define_env(env: MacrosPlugin): function code_example (line 115) | def code_example( function inner_body (line 150) | def inner_body(path: str, sym: str) -> str: function full_body (line 166) | def full_body(path: str, sym: str) -> str: function _get_body (line 173) | def _get_body( function _search_body (line 232) | def _search_body(path: str, sym: str) -> List[str]: FILE: elf_reader.go type kconfigMetaKey (line 25) | type kconfigMetaKey struct type kconfigMeta (line 27) | type kconfigMeta struct type kfuncMetaKey (line 32) | type kfuncMetaKey struct type kfuncMeta (line 34) | type kfuncMeta struct type ksymMetaKey (line 39) | type ksymMetaKey struct type ksymMeta (line 41) | type ksymMeta struct type elfCode (line 48) | type elfCode struct method assignSymbols (line 296) | func (ec *elfCode) assignSymbols(symbols []elf.Symbol) { method loadRelocations (line 339) | func (ec *elfCode) loadRelocations(relSections map[elf.SectionIndex]*e... method loadProgramSections (line 370) | func (ec *elfCode) loadProgramSections() (map[string]*ProgramSpec, err... method loadFunctions (line 437) | func (ec *elfCode) loadFunctions(sec *elfSection) (map[string]asm.Inst... method relocateInstruction (line 579) | func (ec *elfCode) relocateInstruction(ins *asm.Instruction, rel elf.S... method loadMaps (line 796) | func (ec *elfCode) loadMaps() error { method sectionVars (line 856) | func (ec *elfCode) sectionVars(spec *btf.Spec, sec string) (map[string... method loadBTFMaps (line 882) | func (ec *elfCode) loadBTFMaps() error { method loadDataSections (line 1264) | func (ec *elfCode) loadDataSections() error { method loadKconfigSection (line 1415) | func (ec *elfCode) loadKconfigSection() error { method loadKsymsSection (line 1449) | func (ec *elfCode) loadKsymsSection() error { method associateStructOpsRelocs (line 1479) | func (ec *elfCode) associateStructOpsRelocs(progs map[string]*ProgramS... method createStructOpsMap (line 1518) | func (ec *elfCode) createStructOpsMap(vsi btf.VarSecinfo, userData []b... method loadSectionRelocations (line 1640) | func (ec *elfCode) loadSectionRelocations(sec *elf.Section, symbols []... function LoadCollectionSpec (line 63) | func LoadCollectionSpec(file string) (*CollectionSpec, error) { function LoadCollectionSpecFromReader (line 78) | func LoadCollectionSpecFromReader(rd io.ReaderAt) (*CollectionSpec, erro... function loadLicense (line 214) | func loadLicense(sec *elf.Section) (string, error) { function loadVersion (line 226) | func loadVersion(sec *elf.Section, bo binary.ByteOrder) (uint32, error) { function isDataSection (line 238) | func isDataSection(name string) bool { function isConstantDataSection (line 242) | func isConstantDataSection(name string) bool { function isKconfigSection (line 246) | func isKconfigSection(name string) bool { type elfSectionKind (line 250) | type elfSectionKind constant undefSection (line 253) | undefSection elfSectionKind = iota constant mapSection (line 254) | mapSection constant btfMapSection (line 255) | btfMapSection constant programSection (line 256) | programSection constant dataSection (line 257) | dataSection constant structOpsSection (line 258) | structOpsSection type elfSection (line 261) | type elfSection struct method symbolsSorted (line 284) | func (es *elfSection) symbolsSorted() iter.Seq2[uint64, elf.Symbol] { function newElfSection (line 273) | func newElfSection(section *elf.Section, kind elfSectionKind) *elfSection { function take (line 500) | func take[T any](q *[]T, f func(T) bool) *T { function assignMetadata (line 516) | func assignMetadata(ins *asm.Instruction, raw asm.RawInstructionOffset, function referenceRelativeJump (line 542) | func referenceRelativeJump(ins *asm.Instruction, offset uint64, symbols ... function jumpTarget (line 562) | func jumpTarget(offset uint64, ins asm.Instruction) uint64 { function mapSpecFromBTF (line 950) | func mapSpecFromBTF(es *elfSection, sym elf.Symbol, v *btf.Var, def *btf... function uintFromBTF (line 1157) | func uintFromBTF(typ btf.Type) (uint64, error) { function resolveBTFArrayMacro (line 1180) | func resolveBTFArrayMacro(typ btf.Type) (btf.Type, error) { function valuesRelocations (line 1198) | func valuesRelocations(es *elfSection, sym elf.Symbol, member btf.Member... function resolveBTFValuesContents (line 1241) | func resolveBTFValuesContents(es *elfSection, sym elf.Symbol, member btf... type libbpfElfSectionDef (line 1562) | type libbpfElfSectionDef struct type libbpfElfSectionFlag (line 1569) | type libbpfElfSectionFlag constant _SEC_NONE (line 1573) | _SEC_NONE libbpfElfSectionFlag = 0 constant _SEC_EXP_ATTACH_OPT (line 1575) | _SEC_EXP_ATTACH_OPT libbpfElfSectionFlag = 1 << (iota - 1) constant _SEC_ATTACHABLE (line 1576) | _SEC_ATTACHABLE constant _SEC_ATTACH_BTF (line 1577) | _SEC_ATTACH_BTF constant _SEC_SLEEPABLE (line 1578) | _SEC_SLEEPABLE constant _SEC_XDP_FRAGS (line 1579) | _SEC_XDP_FRAGS constant _SEC_USDT (line 1580) | _SEC_USDT constant _SEC_ATTACHABLE_OPT (line 1582) | _SEC_ATTACHABLE_OPT = _SEC_ATTACHABLE | _SEC_EXP_ATTACH_OPT function getProgType (line 1585) | func getProgType(sectionName string) (ProgramType, AttachType, uint32, s... function matchSectionName (line 1624) | func matchSectionName(sectionName, pattern string) (extra string, found ... FILE: elf_reader_test.go function TestLoadCollectionSpec (line 45) | func TestLoadCollectionSpec(t *testing.T) { function testLoadCollectionSpec (line 258) | func testLoadCollectionSpec(t *testing.T, got, want *CollectionSpec) { function BenchmarkELFLoader (line 274) | func BenchmarkELFLoader(b *testing.B) { function TestDataSections (line 282) | func TestDataSections(t *testing.T) { function TestInlineASMConstant (line 304) | func TestInlineASMConstant(t *testing.T) { function TestFreezeRodata (line 329) | func TestFreezeRodata(t *testing.T) { function TestCollectionSpecDetach (line 348) | func TestCollectionSpecDetach(t *testing.T) { function TestLoadInvalidMap (line 377) | func TestLoadInvalidMap(t *testing.T) { function TestLoadInvalidMapMissingSymbol (line 397) | func TestLoadInvalidMapMissingSymbol(t *testing.T) { function TestLoadInitializedBTFMap (line 406) | func TestLoadInitializedBTFMap(t *testing.T) { function TestLoadInvalidInitializedBTFMap (line 487) | func TestLoadInvalidInitializedBTFMap(t *testing.T) { function TestStringSection (line 496) | func TestStringSection(t *testing.T) { function TestLoadRawTracepoint (line 554) | func TestLoadRawTracepoint(t *testing.T) { function TestTailCall (line 576) | func TestTailCall(t *testing.T) { function TestKconfig (line 608) | func TestKconfig(t *testing.T) { function TestKsym (line 630) | func TestKsym(t *testing.T) { function TestKsymWeakMissing (line 665) | func TestKsymWeakMissing(t *testing.T) { function TestKfunc (line 683) | func TestKfunc(t *testing.T) { function TestWeakKfunc (line 709) | func TestWeakKfunc(t *testing.T) { function TestInvalidKfunc (line 738) | func TestInvalidKfunc(t *testing.T) { function TestKfuncKmod (line 755) | func TestKfuncKmod(t *testing.T) { function TestSubprogRelocation (line 783) | func TestSubprogRelocation(t *testing.T) { function TestUnassignedProgArray (line 812) | func TestUnassignedProgArray(t *testing.T) { function TestIPRoute2Compat (line 834) | func TestIPRoute2Compat(t *testing.T) { function TestArena (line 889) | func TestArena(t *testing.T) { function TestStructOps (line 913) | func TestStructOps(t *testing.T) { function TestLibBPFCompat (line 1014) | func TestLibBPFCompat(t *testing.T) { function loadTargetProgram (line 1200) | func loadTargetProgram(tb testing.TB, spec *CollectionSpec, file, progra... function sourceOfBTF (line 1238) | func sourceOfBTF(tb testing.TB, path string) []string { function TestELFSectionProgramTypes (line 1256) | func TestELFSectionProgramTypes(t *testing.T) { function TestMatchSectionName (line 1358) | func TestMatchSectionName(t *testing.T) { function selftestName (line 1397) | func selftestName(path string) string { FILE: example_sock_elf_test.go function Example_socketELF (line 84) | func Example_socketELF() { function openRawSock (line 146) | func openRawSock(index int) (int, error) { function htons (line 162) | func htons(i uint16) uint16 { FILE: example_sock_extract_dist_test.go function Example_extractDistance (line 46) | func Example_extractDistance() { function newDistanceFilter (line 80) | func newDistanceFilter() (*ebpf.Program, *ebpf.Map, error) { function minDistance (line 164) | func minDistance(TTLs *ebpf.Map) (int, error) { FILE: examples/cgroup_skb/bpf_bpfeb.go function loadBpf (line 16) | func loadBpf() (*ebpf.CollectionSpec, error) { function loadBpfObjects (line 35) | func loadBpfObjects(obj interface{}, opts *ebpf.CollectionOptions) error { type bpfSpecs (line 47) | type bpfSpecs struct type bpfProgramSpecs (line 56) | type bpfProgramSpecs struct type bpfMapSpecs (line 63) | type bpfMapSpecs struct type bpfVariableSpecs (line 70) | type bpfVariableSpecs struct type bpfObjects (line 76) | type bpfObjects struct method Close (line 82) | func (o *bpfObjects) Close() error { type bpfMaps (line 92) | type bpfMaps struct method Close (line 96) | func (m *bpfMaps) Close() error { type bpfVariables (line 105) | type bpfVariables struct type bpfPrograms (line 111) | type bpfPrograms struct method Close (line 115) | func (p *bpfPrograms) Close() error { function _BpfClose (line 121) | func _BpfClose(closers ...io.Closer) error { FILE: examples/cgroup_skb/bpf_bpfel.go function loadBpf (line 16) | func loadBpf() (*ebpf.CollectionSpec, error) { function loadBpfObjects (line 35) | func loadBpfObjects(obj interface{}, opts *ebpf.CollectionOptions) error { type bpfSpecs (line 47) | type bpfSpecs struct type bpfProgramSpecs (line 56) | type bpfProgramSpecs struct type bpfMapSpecs (line 63) | type bpfMapSpecs struct type bpfVariableSpecs (line 70) | type bpfVariableSpecs struct type bpfObjects (line 76) | type bpfObjects struct method Close (line 82) | func (o *bpfObjects) Close() error { type bpfMaps (line 92) | type bpfMaps struct method Close (line 96) | func (m *bpfMaps) Close() error { type bpfVariables (line 105) | type bpfVariables struct type bpfPrograms (line 111) | type bpfPrograms struct method Close (line 115) | func (p *bpfPrograms) Close() error { function _BpfClose (line 121) | func _BpfClose(closers ...io.Closer) error { FILE: examples/cgroup_skb/cgroup_skb.c function count_egress_packets (line 15) | int count_egress_packets(struct __sk_buff *skb) { FILE: examples/cgroup_skb/main.go function main (line 24) | func main() { function detectCgroupPath (line 72) | func detectCgroupPath() (string, error) { FILE: examples/fentry/bpf_bpfeb.go type bpfEvent (line 16) | type bpfEvent struct function loadBpf (line 26) | func loadBpf() (*ebpf.CollectionSpec, error) { function loadBpfObjects (line 45) | func loadBpfObjects(obj interface{}, opts *ebpf.CollectionOptions) error { type bpfSpecs (line 57) | type bpfSpecs struct type bpfProgramSpecs (line 66) | type bpfProgramSpecs struct type bpfMapSpecs (line 73) | type bpfMapSpecs struct type bpfVariableSpecs (line 80) | type bpfVariableSpecs struct type bpfObjects (line 86) | type bpfObjects struct method Close (line 92) | func (o *bpfObjects) Close() error { type bpfMaps (line 102) | type bpfMaps struct method Close (line 106) | func (m *bpfMaps) Close() error { type bpfVariables (line 115) | type bpfVariables struct type bpfPrograms (line 121) | type bpfPrograms struct method Close (line 125) | func (p *bpfPrograms) Close() error { function _BpfClose (line 131) | func _BpfClose(closers ...io.Closer) error { FILE: examples/fentry/bpf_bpfel.go type bpfEvent (line 16) | type bpfEvent struct function loadBpf (line 26) | func loadBpf() (*ebpf.CollectionSpec, error) { function loadBpfObjects (line 45) | func loadBpfObjects(obj interface{}, opts *ebpf.CollectionOptions) error { type bpfSpecs (line 57) | type bpfSpecs struct type bpfProgramSpecs (line 66) | type bpfProgramSpecs struct type bpfMapSpecs (line 73) | type bpfMapSpecs struct type bpfVariableSpecs (line 80) | type bpfVariableSpecs struct type bpfObjects (line 86) | type bpfObjects struct method Close (line 92) | func (o *bpfObjects) Close() error { type bpfMaps (line 102) | type bpfMaps struct method Close (line 106) | func (m *bpfMaps) Close() error { type bpfVariables (line 115) | type bpfVariables struct type bpfPrograms (line 121) | type bpfPrograms struct method Close (line 125) | func (p *bpfPrograms) Close() error { function _BpfClose (line 131) | func _BpfClose(closers ...io.Closer) error { FILE: examples/fentry/fentry.c type sock_common (line 30) | struct sock_common { type sock (line 53) | struct sock { type event (line 60) | struct event type event (line 68) | struct event { function BPF_PROG (line 77) | int BPF_PROG(tcp_connect, struct sock *sk) { FILE: examples/fentry/main.go function main (line 34) | func main() { function intToIP (line 110) | func intToIP(ipNum uint32) net.IP { FILE: examples/headers/bpf_helper_defs.h type bpf_fib_lookup (line 4) | struct bpf_fib_lookup type bpf_sk_lookup (line 5) | struct bpf_sk_lookup type bpf_perf_event_data (line 6) | struct bpf_perf_event_data type bpf_perf_event_value (line 7) | struct bpf_perf_event_value type bpf_pidns_info (line 8) | struct bpf_pidns_info type bpf_redir_neigh (line 9) | struct bpf_redir_neigh type bpf_sock (line 10) | struct bpf_sock type bpf_sock_addr (line 11) | struct bpf_sock_addr type bpf_sock_ops (line 12) | struct bpf_sock_ops type bpf_sock_tuple (line 13) | struct bpf_sock_tuple type bpf_spin_lock (line 14) | struct bpf_spin_lock type bpf_sysctl (line 15) | struct bpf_sysctl type bpf_tcp_sock (line 16) | struct bpf_tcp_sock type bpf_tunnel_key (line 17) | struct bpf_tunnel_key type bpf_xfrm_state (line 18) | struct bpf_xfrm_state type linux_binprm (line 19) | struct linux_binprm type pt_regs (line 20) | struct pt_regs type sk_reuseport_md (line 21) | struct sk_reuseport_md type sockaddr (line 22) | struct sockaddr type tcphdr (line 23) | struct tcphdr type seq_file (line 24) | struct seq_file type tcp6_sock (line 25) | struct tcp6_sock type tcp_sock (line 26) | struct tcp_sock type tcp_timewait_sock (line 27) | struct tcp_timewait_sock type tcp_request_sock (line 28) | struct tcp_request_sock type udp6_sock (line 29) | struct udp6_sock type unix_sock (line 30) | struct unix_sock type task_struct (line 31) | struct task_struct type __sk_buff (line 32) | struct __sk_buff type sk_msg_md (line 33) | struct sk_msg_md type xdp_md (line 34) | struct xdp_md type path (line 35) | struct path type btf_ptr (line 36) | struct btf_ptr type inode (line 37) | struct inode type socket (line 38) | struct socket type file (line 39) | struct file type bpf_timer (line 40) | struct bpf_timer type __sk_buff (line 222) | struct __sk_buff type __sk_buff (line 251) | struct __sk_buff type __sk_buff (line 287) | struct __sk_buff type __sk_buff (line 350) | struct __sk_buff type __sk_buff (line 417) | struct __sk_buff type __sk_buff (line 437) | struct __sk_buff type __sk_buff (line 453) | struct __sk_buff type __sk_buff (line 508) | struct __sk_buff type bpf_tunnel_key (line 508) | struct bpf_tunnel_key type __sk_buff (line 549) | struct __sk_buff type bpf_tunnel_key (line 549) | struct bpf_tunnel_key type __sk_buff (line 637) | struct __sk_buff type __sk_buff (line 806) | struct __sk_buff type __sk_buff (line 820) | struct __sk_buff type __sk_buff (line 851) | struct __sk_buff type __sk_buff (line 882) | struct __sk_buff type __sk_buff (line 897) | struct __sk_buff type __sk_buff (line 917) | struct __sk_buff type __sk_buff (line 993) | struct __sk_buff type __sk_buff (line 1033) | struct __sk_buff type __sk_buff (line 1049) | struct __sk_buff type __sk_buff (line 1061) | struct __sk_buff type __sk_buff (line 1101) | struct __sk_buff type xdp_md (line 1120) | struct xdp_md type __sk_buff (line 1167) | struct __sk_buff type __sk_buff (line 1178) | struct __sk_buff type __sk_buff (line 1267) | struct __sk_buff type __sk_buff (line 1311) | struct __sk_buff type bpf_sock_ops (line 1334) | struct bpf_sock_ops type xdp_md (line 1367) | struct xdp_md type bpf_perf_event_value (line 1421) | struct bpf_perf_event_value type bpf_perf_event_data (line 1436) | struct bpf_perf_event_data type bpf_perf_event_value (line 1436) | struct bpf_perf_event_value type pt_regs (line 1494) | struct pt_regs type bpf_sock_ops (line 1542) | struct bpf_sock_ops type sk_msg_md (line 1560) | struct sk_msg_md type sk_msg_md (line 1598) | struct sk_msg_md type sk_msg_md (line 1620) | struct sk_msg_md type sk_msg_md (line 1655) | struct sk_msg_md type bpf_sock_addr (line 1677) | struct bpf_sock_addr type sockaddr (line 1677) | struct sockaddr type xdp_md (line 1695) | struct xdp_md type __sk_buff (line 1715) | struct __sk_buff type bpf_xfrm_state (line 1715) | struct bpf_xfrm_state type bpf_fib_lookup (line 1816) | struct bpf_fib_lookup type bpf_sock_ops (line 1839) | struct bpf_sock_ops type sk_msg_md (line 1857) | struct sk_msg_md type __sk_buff (line 1875) | struct __sk_buff type __sk_buff (line 1916) | struct __sk_buff type __sk_buff (line 1935) | struct __sk_buff type __sk_buff (line 1955) | struct __sk_buff type __sk_buff (line 1988) | struct __sk_buff type __sk_buff (line 2061) | struct __sk_buff type sk_reuseport_md (line 2106) | struct sk_reuseport_md type __sk_buff (line 2128) | struct __sk_buff type bpf_sock (line 2169) | struct bpf_sock type bpf_sock_tuple (line 2169) | struct bpf_sock_tuple type bpf_sock (line 2210) | struct bpf_sock type bpf_sock_tuple (line 2210) | struct bpf_sock_tuple type sk_msg_md (line 2276) | struct sk_msg_md type sk_msg_md (line 2292) | struct sk_msg_md type bpf_spin_lock (line 2362) | struct bpf_spin_lock type bpf_spin_lock (line 2373) | struct bpf_spin_lock type bpf_sock (line 2385) | struct bpf_sock type bpf_sock (line 2385) | struct bpf_sock type bpf_tcp_sock (line 2397) | struct bpf_tcp_sock type bpf_sock (line 2397) | struct bpf_sock type __sk_buff (line 2411) | struct __sk_buff type bpf_sock (line 2423) | struct bpf_sock type bpf_sock (line 2423) | struct bpf_sock type bpf_sock (line 2446) | struct bpf_sock type bpf_sock_tuple (line 2446) | struct bpf_sock_tuple type tcphdr (line 2465) | struct tcphdr type bpf_sysctl (line 2485) | struct bpf_sysctl type bpf_sysctl (line 2508) | struct bpf_sysctl type bpf_sysctl (line 2529) | struct bpf_sysctl type bpf_sysctl (line 2550) | struct bpf_sysctl type tcphdr (line 2702) | struct tcphdr type bpf_perf_event_data (line 2874) | struct bpf_perf_event_data type bpf_pidns_info (line 2890) | struct bpf_pidns_info type seq_file (line 3037) | struct seq_file type seq_file (line 3051) | struct seq_file type __sk_buff (line 3217) | struct __sk_buff type tcp6_sock (line 3227) | struct tcp6_sock type tcp_sock (line 3237) | struct tcp_sock type tcp_timewait_sock (line 3247) | struct tcp_timewait_sock type tcp_request_sock (line 3257) | struct tcp_request_sock type udp6_sock (line 3267) | struct udp6_sock type task_struct (line 3303) | struct task_struct type bpf_sock_ops (line 3370) | struct bpf_sock_ops type bpf_sock_ops (line 3407) | struct bpf_sock_ops type bpf_sock_ops (line 3433) | struct bpf_sock_ops type path (line 3493) | struct path type btf_ptr (line 3544) | struct btf_ptr type seq_file (line 3556) | struct seq_file type btf_ptr (line 3556) | struct btf_ptr type __sk_buff (line 3569) | struct __sk_buff type bpf_redir_neigh (line 3594) | struct bpf_redir_neigh type task_struct (line 3683) | struct task_struct type task_struct (line 3695) | struct task_struct type task_struct (line 3707) | struct task_struct type linux_binprm (line 3721) | struct linux_binprm type inode (line 3749) | struct inode type socket (line 3761) | struct socket type file (line 3761) | struct file type bpf_timer (line 3948) | struct bpf_timer type bpf_timer (line 3963) | struct bpf_timer type bpf_timer (line 3993) | struct bpf_timer type bpf_timer (line 4007) | struct bpf_timer type task_struct (line 4046) | struct task_struct type unix_sock (line 4095) | struct unix_sock type task_struct (line 4137) | struct task_struct FILE: examples/headers/bpf_helpers.h function __always_inline (line 98) | static __always_inline void type bpf_map_def (line 130) | struct bpf_map_def { type libbpf_pin_type (line 138) | enum libbpf_pin_type { type libbpf_tristate (line 144) | enum libbpf_tristate { FILE: examples/headers/bpf_tracing.h type pt_regs (line 147) | struct pt_regs type pt_regs (line 199) | struct pt_regs type pt_regs (line 299) | struct pt_regs type pt_regs (line 427) | struct pt_regs FILE: examples/headers/common.h type __u8 (line 5) | typedef unsigned char __u8; type __s16 (line 6) | typedef short int __s16; type __u16 (line 7) | typedef short unsigned int __u16; type __s32 (line 8) | typedef int __s32; type __u32 (line 9) | typedef unsigned int __u32; type __s64 (line 10) | typedef long long int __s64; type __u64 (line 11) | typedef long long unsigned int __u64; type __u8 (line 12) | typedef __u8 u8; type __s16 (line 13) | typedef __s16 s16; type __u16 (line 14) | typedef __u16 u16; type __s32 (line 15) | typedef __s32 s32; type __u32 (line 16) | typedef __u32 u32; type __s64 (line 17) | typedef __s64 s64; type __u64 (line 18) | typedef __u64 u64; type __u16 (line 19) | typedef __u16 __le16; type __u16 (line 20) | typedef __u16 __be16; type __u32 (line 21) | typedef __u32 __be32; type __u64 (line 22) | typedef __u64 __be64; type __u32 (line 23) | typedef __u32 __wsum; type bpf_map_type (line 27) | enum bpf_map_type { type xdp_action (line 59) | enum xdp_action { type tc_action (line 67) | enum tc_action { type xdp_md (line 80) | struct xdp_md { type __u16 (line 89) | typedef __u16 __sum16; type ethhdr (line 93) | struct ethhdr { type iphdr (line 99) | struct iphdr { type pt_regs (line 127) | struct pt_regs { FILE: examples/kprobe/bpf_bpfeb.go function loadBpf (line 16) | func loadBpf() (*ebpf.CollectionSpec, error) { function loadBpfObjects (line 35) | func loadBpfObjects(obj interface{}, opts *ebpf.CollectionOptions) error { type bpfSpecs (line 47) | type bpfSpecs struct type bpfProgramSpecs (line 56) | type bpfProgramSpecs struct type bpfMapSpecs (line 63) | type bpfMapSpecs struct type bpfVariableSpecs (line 70) | type bpfVariableSpecs struct type bpfObjects (line 76) | type bpfObjects struct method Close (line 82) | func (o *bpfObjects) Close() error { type bpfMaps (line 92) | type bpfMaps struct method Close (line 96) | func (m *bpfMaps) Close() error { type bpfVariables (line 105) | type bpfVariables struct type bpfPrograms (line 111) | type bpfPrograms struct method Close (line 115) | func (p *bpfPrograms) Close() error { function _BpfClose (line 121) | func _BpfClose(closers ...io.Closer) error { FILE: examples/kprobe/bpf_bpfel.go function loadBpf (line 16) | func loadBpf() (*ebpf.CollectionSpec, error) { function loadBpfObjects (line 35) | func loadBpfObjects(obj interface{}, opts *ebpf.CollectionOptions) error { type bpfSpecs (line 47) | type bpfSpecs struct type bpfProgramSpecs (line 56) | type bpfProgramSpecs struct type bpfMapSpecs (line 63) | type bpfMapSpecs struct type bpfVariableSpecs (line 70) | type bpfVariableSpecs struct type bpfObjects (line 76) | type bpfObjects struct method Close (line 82) | func (o *bpfObjects) Close() error { type bpfMaps (line 92) | type bpfMaps struct method Close (line 96) | func (m *bpfMaps) Close() error { type bpfVariables (line 105) | type bpfVariables struct type bpfPrograms (line 111) | type bpfPrograms struct method Close (line 115) | func (p *bpfPrograms) Close() error { function _BpfClose (line 121) | func _BpfClose(closers ...io.Closer) error { FILE: examples/kprobe/kprobe.c function kprobe_execve (line 15) | int kprobe_execve() { FILE: examples/kprobe/main.go constant mapKey (line 19) | mapKey uint32 = 0 function main (line 21) | func main() { FILE: examples/kprobe_percpu/bpf_bpfeb.go function loadBpf (line 16) | func loadBpf() (*ebpf.CollectionSpec, error) { function loadBpfObjects (line 35) | func loadBpfObjects(obj interface{}, opts *ebpf.CollectionOptions) error { type bpfSpecs (line 47) | type bpfSpecs struct type bpfProgramSpecs (line 56) | type bpfProgramSpecs struct type bpfMapSpecs (line 63) | type bpfMapSpecs struct type bpfVariableSpecs (line 70) | type bpfVariableSpecs struct type bpfObjects (line 76) | type bpfObjects struct method Close (line 82) | func (o *bpfObjects) Close() error { type bpfMaps (line 92) | type bpfMaps struct method Close (line 96) | func (m *bpfMaps) Close() error { type bpfVariables (line 105) | type bpfVariables struct type bpfPrograms (line 111) | type bpfPrograms struct method Close (line 115) | func (p *bpfPrograms) Close() error { function _BpfClose (line 121) | func _BpfClose(closers ...io.Closer) error { FILE: examples/kprobe_percpu/bpf_bpfel.go function loadBpf (line 16) | func loadBpf() (*ebpf.CollectionSpec, error) { function loadBpfObjects (line 35) | func loadBpfObjects(obj interface{}, opts *ebpf.CollectionOptions) error { type bpfSpecs (line 47) | type bpfSpecs struct type bpfProgramSpecs (line 56) | type bpfProgramSpecs struct type bpfMapSpecs (line 63) | type bpfMapSpecs struct type bpfVariableSpecs (line 70) | type bpfVariableSpecs struct type bpfObjects (line 76) | type bpfObjects struct method Close (line 82) | func (o *bpfObjects) Close() error { type bpfMaps (line 92) | type bpfMaps struct method Close (line 96) | func (m *bpfMaps) Close() error { type bpfVariables (line 105) | type bpfVariables struct type bpfPrograms (line 111) | type bpfPrograms struct method Close (line 115) | func (p *bpfPrograms) Close() error { function _BpfClose (line 121) | func _BpfClose(closers ...io.Closer) error { FILE: examples/kprobe_percpu/kprobe_percpu.c function kprobe_execve (line 15) | int kprobe_execve() { FILE: examples/kprobe_percpu/main.go constant mapKey (line 19) | mapKey uint32 = 0 function main (line 21) | func main() { FILE: examples/kprobepin/bpf_bpfeb.go function loadBpf (line 16) | func loadBpf() (*ebpf.CollectionSpec, error) { function loadBpfObjects (line 35) | func loadBpfObjects(obj interface{}, opts *ebpf.CollectionOptions) error { type bpfSpecs (line 47) | type bpfSpecs struct type bpfProgramSpecs (line 56) | type bpfProgramSpecs struct type bpfMapSpecs (line 63) | type bpfMapSpecs struct type bpfVariableSpecs (line 70) | type bpfVariableSpecs struct type bpfObjects (line 76) | type bpfObjects struct method Close (line 82) | func (o *bpfObjects) Close() error { type bpfMaps (line 92) | type bpfMaps struct method Close (line 96) | func (m *bpfMaps) Close() error { type bpfVariables (line 105) | type bpfVariables struct type bpfPrograms (line 111) | type bpfPrograms struct method Close (line 115) | func (p *bpfPrograms) Close() error { function _BpfClose (line 121) | func _BpfClose(closers ...io.Closer) error { FILE: examples/kprobepin/bpf_bpfel.go function loadBpf (line 16) | func loadBpf() (*ebpf.CollectionSpec, error) { function loadBpfObjects (line 35) | func loadBpfObjects(obj interface{}, opts *ebpf.CollectionOptions) error { type bpfSpecs (line 47) | type bpfSpecs struct type bpfProgramSpecs (line 56) | type bpfProgramSpecs struct type bpfMapSpecs (line 63) | type bpfMapSpecs struct type bpfVariableSpecs (line 70) | type bpfVariableSpecs struct type bpfObjects (line 76) | type bpfObjects struct method Close (line 82) | func (o *bpfObjects) Close() error { type bpfMaps (line 92) | type bpfMaps struct method Close (line 96) | func (m *bpfMaps) Close() error { type bpfVariables (line 105) | type bpfVariables struct type bpfPrograms (line 111) | type bpfPrograms struct method Close (line 115) | func (p *bpfPrograms) Close() error { function _BpfClose (line 121) | func _BpfClose(closers ...io.Closer) error { FILE: examples/kprobepin/kprobe_pin.c function kprobe_execve (line 16) | int kprobe_execve() { FILE: examples/kprobepin/main.go constant mapKey (line 23) | mapKey uint32 = 0 constant bpfFSPath (line 24) | bpfFSPath = "/sys/fs/bpf" function main (line 27) | func main() { FILE: examples/map_in_map/main.go constant BPF_F_INNER_MAP (line 19) | BPF_F_INNER_MAP = 0x1000 function main (line 21) | func main() { FILE: examples/ringbuffer/bpf_bpfeb.go type bpfEvent (line 16) | type bpfEvent struct function loadBpf (line 23) | func loadBpf() (*ebpf.CollectionSpec, error) { function loadBpfObjects (line 42) | func loadBpfObjects(obj interface{}, opts *ebpf.CollectionOptions) error { type bpfSpecs (line 54) | type bpfSpecs struct type bpfProgramSpecs (line 63) | type bpfProgramSpecs struct type bpfMapSpecs (line 70) | type bpfMapSpecs struct type bpfVariableSpecs (line 77) | type bpfVariableSpecs struct type bpfObjects (line 83) | type bpfObjects struct method Close (line 89) | func (o *bpfObjects) Close() error { type bpfMaps (line 99) | type bpfMaps struct method Close (line 103) | func (m *bpfMaps) Close() error { type bpfVariables (line 112) | type bpfVariables struct type bpfPrograms (line 118) | type bpfPrograms struct method Close (line 122) | func (p *bpfPrograms) Close() error { function _BpfClose (line 128) | func _BpfClose(closers ...io.Closer) error { FILE: examples/ringbuffer/bpf_bpfel.go type bpfEvent (line 16) | type bpfEvent struct function loadBpf (line 23) | func loadBpf() (*ebpf.CollectionSpec, error) { function loadBpfObjects (line 42) | func loadBpfObjects(obj interface{}, opts *ebpf.CollectionOptions) error { type bpfSpecs (line 54) | type bpfSpecs struct type bpfProgramSpecs (line 63) | type bpfProgramSpecs struct type bpfMapSpecs (line 70) | type bpfMapSpecs struct type bpfVariableSpecs (line 77) | type bpfVariableSpecs struct type bpfObjects (line 83) | type bpfObjects struct method Close (line 89) | func (o *bpfObjects) Close() error { type bpfMaps (line 99) | type bpfMaps struct method Close (line 103) | func (m *bpfMaps) Close() error { type bpfVariables (line 112) | type bpfVariables struct type bpfPrograms (line 118) | type bpfPrograms struct method Close (line 122) | func (p *bpfPrograms) Close() error { function _BpfClose (line 128) | func _BpfClose(closers ...io.Closer) error { FILE: examples/ringbuffer/main.go function main (line 23) | func main() { FILE: examples/ringbuffer/ringbuffer.c type event (line 11) | struct event { type event (line 19) | struct event function kprobe_execve (line 23) | int kprobe_execve(struct pt_regs *ctx) { FILE: examples/sched_ext/bpf_bpfeb.go function loadBpf (line 16) | func loadBpf() (*ebpf.CollectionSpec, error) { function loadBpfObjects (line 35) | func loadBpfObjects(obj interface{}, opts *ebpf.CollectionOptions) error { type bpfSpecs (line 47) | type bpfSpecs struct type bpfProgramSpecs (line 56) | type bpfProgramSpecs struct type bpfMapSpecs (line 62) | type bpfMapSpecs struct type bpfVariableSpecs (line 69) | type bpfVariableSpecs struct type bpfObjects (line 75) | type bpfObjects struct method Close (line 81) | func (o *bpfObjects) Close() error { type bpfMaps (line 91) | type bpfMaps struct method Close (line 95) | func (m *bpfMaps) Close() error { type bpfVariables (line 104) | type bpfVariables struct type bpfPrograms (line 110) | type bpfPrograms struct method Close (line 113) | func (p *bpfPrograms) Close() error { function _BpfClose (line 117) | func _BpfClose(closers ...io.Closer) error { FILE: examples/sched_ext/bpf_bpfel.go function loadBpf (line 16) | func loadBpf() (*ebpf.CollectionSpec, error) { function loadBpfObjects (line 35) | func loadBpfObjects(obj interface{}, opts *ebpf.CollectionOptions) error { type bpfSpecs (line 47) | type bpfSpecs struct type bpfProgramSpecs (line 56) | type bpfProgramSpecs struct type bpfMapSpecs (line 62) | type bpfMapSpecs struct type bpfVariableSpecs (line 69) | type bpfVariableSpecs struct type bpfObjects (line 75) | type bpfObjects struct method Close (line 81) | func (o *bpfObjects) Close() error { type bpfMaps (line 91) | type bpfMaps struct method Close (line 95) | func (m *bpfMaps) Close() error { type bpfVariables (line 104) | type bpfVariables struct type bpfPrograms (line 110) | type bpfPrograms struct method Close (line 113) | func (p *bpfPrograms) Close() error { function _BpfClose (line 117) | func _BpfClose(closers ...io.Closer) error { FILE: examples/sched_ext/main.go function main (line 25) | func main() { FILE: examples/sched_ext/sched_ext.c type sched_ext_ops (line 8) | struct sched_ext_ops { type sched_ext_ops (line 13) | struct sched_ext_ops FILE: examples/tcprtt/bpf_bpfeb.go type bpfEvent (line 16) | type bpfEvent struct function loadBpf (line 26) | func loadBpf() (*ebpf.CollectionSpec, error) { function loadBpfObjects (line 45) | func loadBpfObjects(obj interface{}, opts *ebpf.CollectionOptions) error { type bpfSpecs (line 57) | type bpfSpecs struct type bpfProgramSpecs (line 66) | type bpfProgramSpecs struct type bpfMapSpecs (line 73) | type bpfMapSpecs struct type bpfVariableSpecs (line 80) | type bpfVariableSpecs struct type bpfObjects (line 86) | type bpfObjects struct method Close (line 92) | func (o *bpfObjects) Close() error { type bpfMaps (line 102) | type bpfMaps struct method Close (line 106) | func (m *bpfMaps) Close() error { type bpfVariables (line 115) | type bpfVariables struct type bpfPrograms (line 121) | type bpfPrograms struct method Close (line 125) | func (p *bpfPrograms) Close() error { function _BpfClose (line 131) | func _BpfClose(closers ...io.Closer) error { FILE: examples/tcprtt/bpf_bpfel.go type bpfEvent (line 16) | type bpfEvent struct function loadBpf (line 26) | func loadBpf() (*ebpf.CollectionSpec, error) { function loadBpfObjects (line 45) | func loadBpfObjects(obj interface{}, opts *ebpf.CollectionOptions) error { type bpfSpecs (line 57) | type bpfSpecs struct type bpfProgramSpecs (line 66) | type bpfProgramSpecs struct type bpfMapSpecs (line 73) | type bpfMapSpecs struct type bpfVariableSpecs (line 80) | type bpfVariableSpecs struct type bpfObjects (line 86) | type bpfObjects struct method Close (line 92) | func (o *bpfObjects) Close() error { type bpfMaps (line 102) | type bpfMaps struct method Close (line 106) | func (m *bpfMaps) Close() error { type bpfVariables (line 115) | type bpfVariables struct type bpfPrograms (line 121) | type bpfPrograms struct method Close (line 125) | func (p *bpfPrograms) Close() error { function _BpfClose (line 131) | func _BpfClose(closers ...io.Closer) error { FILE: examples/tcprtt/main.go function main (line 35) | func main() { function readLoop (line 78) | func readLoop(rd *ringbuf.Reader) { function intToIP (line 109) | func intToIP(ipNum uint32) net.IP { FILE: examples/tcprtt/tcprtt.c type sock_common (line 29) | struct sock_common { type sock (line 55) | struct sock { type tcp_sock (line 64) | struct tcp_sock { type event (line 71) | struct event type event (line 79) | struct event { function BPF_PROG (line 88) | int BPF_PROG(tcp_close, struct sock *sk) { FILE: examples/tcprtt_sockops/bpf_bpfeb.go type bpfRttEvent (line 16) | type bpfRttEvent struct type bpfSkInfo (line 25) | type bpfSkInfo struct type bpfSkKey (line 32) | type bpfSkKey struct function loadBpf (line 41) | func loadBpf() (*ebpf.CollectionSpec, error) { function loadBpfObjects (line 60) | func loadBpfObjects(obj interface{}, opts *ebpf.CollectionOptions) error { type bpfSpecs (line 72) | type bpfSpecs struct type bpfProgramSpecs (line 81) | type bpfProgramSpecs struct type bpfMapSpecs (line 88) | type bpfMapSpecs struct type bpfVariableSpecs (line 96) | type bpfVariableSpecs struct type bpfObjects (line 102) | type bpfObjects struct method Close (line 108) | func (o *bpfObjects) Close() error { type bpfMaps (line 118) | type bpfMaps struct method Close (line 123) | func (m *bpfMaps) Close() error { type bpfVariables (line 133) | type bpfVariables struct type bpfPrograms (line 139) | type bpfPrograms struct method Close (line 143) | func (p *bpfPrograms) Close() error { function _BpfClose (line 149) | func _BpfClose(closers ...io.Closer) error { FILE: examples/tcprtt_sockops/bpf_bpfel.go type bpfRttEvent (line 16) | type bpfRttEvent struct type bpfSkInfo (line 25) | type bpfSkInfo struct type bpfSkKey (line 32) | type bpfSkKey struct function loadBpf (line 41) | func loadBpf() (*ebpf.CollectionSpec, error) { function loadBpfObjects (line 60) | func loadBpfObjects(obj interface{}, opts *ebpf.CollectionOptions) error { type bpfSpecs (line 72) | type bpfSpecs struct type bpfProgramSpecs (line 81) | type bpfProgramSpecs struct type bpfMapSpecs (line 88) | type bpfMapSpecs struct type bpfVariableSpecs (line 96) | type bpfVariableSpecs struct type bpfObjects (line 102) | type bpfObjects struct method Close (line 108) | func (o *bpfObjects) Close() error { type bpfMaps (line 118) | type bpfMaps struct method Close (line 123) | func (m *bpfMaps) Close() error { type bpfVariables (line 133) | type bpfVariables struct type bpfPrograms (line 139) | type bpfPrograms struct method Close (line 143) | func (p *bpfPrograms) Close() error { function _BpfClose (line 149) | func _BpfClose(closers ...io.Closer) error { FILE: examples/tcprtt_sockops/bpf_sockops.h type bpf_sock_ops (line 71) | struct bpf_sock_ops { FILE: examples/tcprtt_sockops/main.go function main (line 44) | func main() { function findCgroupPath (line 98) | func findCgroupPath() (string, error) { function readLoop (line 113) | func readLoop(rd *ringbuf.Reader) { function intToIP (line 144) | func intToIP(ipNum uint32) net.IP { FILE: examples/tcprtt_sockops/tcprtt_sockops.c type sk_key (line 22) | struct sk_key type sk_info (line 23) | struct sk_info type sk_key (line 26) | struct sk_key { type sk_info (line 33) | struct sk_info { type rtt_event (line 41) | struct rtt_event type rtt_event (line 44) | struct rtt_event { function init_sk_key (line 52) | static inline void init_sk_key(struct bpf_sock_ops *skops, struct sk_key... function bpf_sock_ops_establish_cb (line 59) | static inline void bpf_sock_ops_establish_cb(struct bpf_sock_ops *skops,... function bpf_sock_ops_rtt_cb (line 83) | static inline void bpf_sock_ops_rtt_cb(struct bpf_sock_ops *skops) { function bpf_sock_ops_state_cb (line 128) | static inline void bpf_sock_ops_state_cb(struct bpf_sock_ops *skops) { function bpf_sockops_cb (line 141) | int bpf_sockops_cb(struct bpf_sock_ops *skops) { FILE: examples/tcx/bpf_bpfeb.go function loadBpf (line 16) | func loadBpf() (*ebpf.CollectionSpec, error) { function loadBpfObjects (line 35) | func loadBpfObjects(obj interface{}, opts *ebpf.CollectionOptions) error { type bpfSpecs (line 47) | type bpfSpecs struct type bpfProgramSpecs (line 56) | type bpfProgramSpecs struct type bpfMapSpecs (line 64) | type bpfMapSpecs struct type bpfVariableSpecs (line 70) | type bpfVariableSpecs struct type bpfObjects (line 78) | type bpfObjects struct method Close (line 84) | func (o *bpfObjects) Close() error { type bpfMaps (line 94) | type bpfMaps struct method Close (line 97) | func (m *bpfMaps) Close() error { type bpfVariables (line 104) | type bpfVariables struct type bpfPrograms (line 112) | type bpfPrograms struct method Close (line 117) | func (p *bpfPrograms) Close() error { function _BpfClose (line 124) | func _BpfClose(closers ...io.Closer) error { FILE: examples/tcx/bpf_bpfel.go function loadBpf (line 16) | func loadBpf() (*ebpf.CollectionSpec, error) { function loadBpfObjects (line 35) | func loadBpfObjects(obj interface{}, opts *ebpf.CollectionOptions) error { type bpfSpecs (line 47) | type bpfSpecs struct type bpfProgramSpecs (line 56) | type bpfProgramSpecs struct type bpfMapSpecs (line 64) | type bpfMapSpecs struct type bpfVariableSpecs (line 70) | type bpfVariableSpecs struct type bpfObjects (line 78) | type bpfObjects struct method Close (line 84) | func (o *bpfObjects) Close() error { type bpfMaps (line 94) | type bpfMaps struct method Close (line 97) | func (m *bpfMaps) Close() error { type bpfVariables (line 104) | type bpfVariables struct type bpfPrograms (line 112) | type bpfPrograms struct method Close (line 117) | func (p *bpfPrograms) Close() error { function _BpfClose (line 124) | func _BpfClose(closers ...io.Closer) error { FILE: examples/tcx/main.go function main (line 22) | func main() { function formatCounters (line 82) | func formatCounters(ingressVar, egressVar *ebpf.Variable) (string, error) { FILE: examples/tcx/tcx.c function ingress_prog_func (line 11) | int ingress_prog_func(struct __sk_buff *skb) { function egress_prog_func (line 17) | int egress_prog_func(struct __sk_buff *skb) { FILE: examples/tracepoint_in_c/bpf_bpfeb.go function loadBpf (line 16) | func loadBpf() (*ebpf.CollectionSpec, error) { function loadBpfObjects (line 35) | func loadBpfObjects(obj interface{}, opts *ebpf.CollectionOptions) error { type bpfSpecs (line 47) | type bpfSpecs struct type bpfProgramSpecs (line 56) | type bpfProgramSpecs struct type bpfMapSpecs (line 63) | type bpfMapSpecs struct type bpfVariableSpecs (line 70) | type bpfVariableSpecs struct type bpfObjects (line 76) | type bpfObjects struct method Close (line 82) | func (o *bpfObjects) Close() error { type bpfMaps (line 92) | type bpfMaps struct method Close (line 96) | func (m *bpfMaps) Close() error { type bpfVariables (line 105) | type bpfVariables struct type bpfPrograms (line 111) | type bpfPrograms struct method Close (line 115) | func (p *bpfPrograms) Close() error { function _BpfClose (line 121) | func _BpfClose(closers ...io.Closer) error { FILE: examples/tracepoint_in_c/bpf_bpfel.go function loadBpf (line 16) | func loadBpf() (*ebpf.CollectionSpec, error) { function loadBpfObjects (line 35) | func loadBpfObjects(obj interface{}, opts *ebpf.CollectionOptions) error { type bpfSpecs (line 47) | type bpfSpecs struct type bpfProgramSpecs (line 56) | type bpfProgramSpecs struct type bpfMapSpecs (line 63) | type bpfMapSpecs struct type bpfVariableSpecs (line 70) | type bpfVariableSpecs struct type bpfObjects (line 76) | type bpfObjects struct method Close (line 82) | func (o *bpfObjects) Close() error { type bpfMaps (line 92) | type bpfMaps struct method Close (line 96) | func (m *bpfMaps) Close() error { type bpfVariables (line 105) | type bpfVariables struct type bpfPrograms (line 111) | type bpfPrograms struct method Close (line 115) | func (p *bpfPrograms) Close() error { function _BpfClose (line 121) | func _BpfClose(closers ...io.Closer) error { FILE: examples/tracepoint_in_c/main.go constant mapKey (line 19) | mapKey uint32 = 0 function main (line 21) | func main() { FILE: examples/tracepoint_in_c/tracepoint.c type alloc_info (line 16) | struct alloc_info { function mm_page_alloc (line 29) | int mm_page_alloc(struct alloc_info *info) { FILE: examples/tracepoint_in_go/main.go function main (line 29) | func main() { FILE: examples/uretprobe/bpf_x86_bpfel.go type bpfEvent (line 16) | type bpfEvent struct function loadBpf (line 23) | func loadBpf() (*ebpf.CollectionSpec, error) { function loadBpfObjects (line 42) | func loadBpfObjects(obj interface{}, opts *ebpf.CollectionOptions) error { type bpfSpecs (line 54) | type bpfSpecs struct type bpfProgramSpecs (line 63) | type bpfProgramSpecs struct type bpfMapSpecs (line 70) | type bpfMapSpecs struct type bpfVariableSpecs (line 77) | type bpfVariableSpecs struct type bpfObjects (line 83) | type bpfObjects struct method Close (line 89) | func (o *bpfObjects) Close() error { type bpfMaps (line 99) | type bpfMaps struct method Close (line 103) | func (m *bpfMaps) Close() error { type bpfVariables (line 112) | type bpfVariables struct type bpfPrograms (line 118) | type bpfPrograms struct method Close (line 122) | func (p *bpfPrograms) Close() error { function _BpfClose (line 128) | func _BpfClose(closers ...io.Closer) error { FILE: examples/uretprobe/main.go constant binPath (line 33) | binPath = "/bin/bash" constant symbol (line 34) | symbol = "readline" function main (line 37) | func main() { FILE: examples/uretprobe/uretprobe.c type event (line 9) | struct event { type event (line 16) | struct event function uretprobe_bash_readline (line 20) | int uretprobe_bash_readline(struct pt_regs *ctx) { FILE: examples/xdp/bpf_bpfeb.go function loadBpf (line 16) | func loadBpf() (*ebpf.CollectionSpec, error) { function loadBpfObjects (line 35) | func loadBpfObjects(obj interface{}, opts *ebpf.CollectionOptions) error { type bpfSpecs (line 47) | type bpfSpecs struct type bpfProgramSpecs (line 56) | type bpfProgramSpecs struct type bpfMapSpecs (line 63) | type bpfMapSpecs struct type bpfVariableSpecs (line 70) | type bpfVariableSpecs struct type bpfObjects (line 76) | type bpfObjects struct method Close (line 82) | func (o *bpfObjects) Close() error { type bpfMaps (line 92) | type bpfMaps struct method Close (line 96) | func (m *bpfMaps) Close() error { type bpfVariables (line 105) | type bpfVariables struct type bpfPrograms (line 111) | type bpfPrograms struct method Close (line 115) | func (p *bpfPrograms) Close() error { function _BpfClose (line 121) | func _BpfClose(closers ...io.Closer) error { FILE: examples/xdp/bpf_bpfel.go function loadBpf (line 16) | func loadBpf() (*ebpf.CollectionSpec, error) { function loadBpfObjects (line 35) | func loadBpfObjects(obj interface{}, opts *ebpf.CollectionOptions) error { type bpfSpecs (line 47) | type bpfSpecs struct type bpfProgramSpecs (line 56) | type bpfProgramSpecs struct type bpfMapSpecs (line 63) | type bpfMapSpecs struct type bpfVariableSpecs (line 70) | type bpfVariableSpecs struct type bpfObjects (line 76) | type bpfObjects struct method Close (line 82) | func (o *bpfObjects) Close() error { type bpfMaps (line 92) | type bpfMaps struct method Close (line 96) | func (m *bpfMaps) Close() error { type bpfVariables (line 105) | type bpfVariables struct type bpfPrograms (line 111) | type bpfPrograms struct method Close (line 115) | func (p *bpfPrograms) Close() error { function _BpfClose (line 121) | func _BpfClose(closers ...io.Closer) error { FILE: examples/xdp/main.go function main (line 28) | func main() { function formatMapContents (line 73) | func formatMapContents(m *ebpf.Map) (string, error) { FILE: examples/xdp/xdp.c function __always_inline (line 22) | static __always_inline int parse_ip_src_addr(struct xdp_md *ctx, __u32 *... function xdp_prog_func (line 49) | int xdp_prog_func(struct xdp_md *ctx) { FILE: examples/xdp_live_frame/bpf_bpfeb.go function loadBpf (line 16) | func loadBpf() (*ebpf.CollectionSpec, error) { function loadBpfObjects (line 35) | func loadBpfObjects(obj interface{}, opts *ebpf.CollectionOptions) error { type bpfSpecs (line 47) | type bpfSpecs struct type bpfProgramSpecs (line 56) | type bpfProgramSpecs struct type bpfMapSpecs (line 64) | type bpfMapSpecs struct type bpfVariableSpecs (line 70) | type bpfVariableSpecs struct type bpfObjects (line 76) | type bpfObjects struct method Close (line 82) | func (o *bpfObjects) Close() error { type bpfMaps (line 92) | type bpfMaps struct method Close (line 95) | func (m *bpfMaps) Close() error { type bpfVariables (line 102) | type bpfVariables struct type bpfPrograms (line 108) | type bpfPrograms struct method Close (line 113) | func (p *bpfPrograms) Close() error { function _BpfClose (line 120) | func _BpfClose(closers ...io.Closer) error { FILE: examples/xdp_live_frame/bpf_bpfel.go function loadBpf (line 16) | func loadBpf() (*ebpf.CollectionSpec, error) { function loadBpfObjects (line 35) | func loadBpfObjects(obj interface{}, opts *ebpf.CollectionOptions) error { type bpfSpecs (line 47) | type bpfSpecs struct type bpfProgramSpecs (line 56) | type bpfProgramSpecs struct type bpfMapSpecs (line 64) | type bpfMapSpecs struct type bpfVariableSpecs (line 70) | type bpfVariableSpecs struct type bpfObjects (line 76) | type bpfObjects struct method Close (line 82) | func (o *bpfObjects) Close() error { type bpfMaps (line 92) | type bpfMaps struct method Close (line 95) | func (m *bpfMaps) Close() error { type bpfVariables (line 102) | type bpfVariables struct type bpfPrograms (line 108) | type bpfPrograms struct method Close (line 113) | func (p *bpfPrograms) Close() error { function _BpfClose (line 120) | func _BpfClose(closers ...io.Closer) error { FILE: examples/xdp_live_frame/main.go function main (line 29) | func main() { function buildUDPPacket (line 111) | func buildUDPPacket(srcMAC, dstMAC net.HardwareAddr, srcIP, dstIP net.IP... function ipChecksum (line 156) | func ipChecksum(header []byte) uint16 { FILE: examples/xdp_live_frame/xdp.c function xdp_prog_tx (line 15) | int xdp_prog_tx(struct xdp_md *ctx) { function xdp_prog_pass (line 22) | int xdp_prog_pass(struct xdp_md *ctx) { FILE: features/link.go function HaveBPFLinkUprobeMulti (line 16) | func HaveBPFLinkUprobeMulti() error { function HaveBPFLinkKprobeMulti (line 66) | func HaveBPFLinkKprobeMulti() error { function HaveBPFLinkKprobeSession (line 114) | func HaveBPFLinkKprobeSession() error { FILE: features/link_test.go function TestHaveBPFLinkUprobeMulti (line 9) | func TestHaveBPFLinkUprobeMulti(t *testing.T) { function TestHaveBPFLinkKprobeMulti (line 13) | func TestHaveBPFLinkKprobeMulti(t *testing.T) { function TestHaveBPFLinkKprobeSession (line 17) | func TestHaveBPFLinkKprobeSession(t *testing.T) { FILE: features/map.go function HaveMapType (line 18) | func HaveMapType(mt ebpf.MapType) error { function probeCgroupStorageMap (line 22) | func probeCgroupStorageMap(mt sys.MapType) error { function probeStorageMap (line 33) | func probeStorageMap(mt sys.MapType) error { function probeNestedMap (line 55) | func probeNestedMap(mt sys.MapType) error { function probeMap (line 68) | func probeMap(attr *sys.MapCreateAttr) error { function createMap (line 79) | func createMap(attr *sys.MapCreateAttr) error { function init (line 259) | func init() { type MapFlags (line 271) | type MapFlags constant BPF_F_NO_PREALLOC (line 275) | BPF_F_NO_PREALLOC = sys.BPF_F_NO_PREALLOC constant BPF_F_RDONLY_PROG (line 276) | BPF_F_RDONLY_PROG = sys.BPF_F_RDONLY_PROG constant BPF_F_WRONLY_PROG (line 277) | BPF_F_WRONLY_PROG = sys.BPF_F_WRONLY_PROG constant BPF_F_MMAPABLE (line 278) | BPF_F_MMAPABLE = sys.BPF_F_MMAPABLE constant BPF_F_INNER_MAP (line 279) | BPF_F_INNER_MAP = sys.BPF_F_INNER_MAP function HaveMapFlag (line 286) | func HaveMapFlag(flag MapFlags) (err error) { function probeMapFlag (line 290) | func probeMapFlag(attr *sys.MapCreateAttr) error { function init (line 358) | func init() { FILE: features/map_test.go function TestHaveMapType (line 13) | func TestHaveMapType(t *testing.T) { function TestHaveMapFlag (line 17) | func TestHaveMapFlag(t *testing.T) { function TestHaveMapTypeInvalid (line 21) | func TestHaveMapTypeInvalid(t *testing.T) { FILE: features/misc.go function HaveLargeInstructions (line 18) | func HaveLargeInstructions() error { function HaveBoundedLoops (line 42) | func HaveBoundedLoops() error { function HaveV2ISA (line 63) | func HaveV2ISA() error { function HaveV3ISA (line 89) | func HaveV3ISA() error { function HaveV4ISA (line 115) | func HaveV4ISA() error { FILE: features/misc_test.go function TestHaveLargeInstructions (line 9) | func TestHaveLargeInstructions(t *testing.T) { function TestHaveBoundedLoops (line 13) | func TestHaveBoundedLoops(t *testing.T) { function TestHaveV2ISA (line 17) | func TestHaveV2ISA(t *testing.T) { function TestHaveV3ISA (line 21) | func TestHaveV3ISA(t *testing.T) { function TestHaveV4ISA (line 25) | func TestHaveV4ISA(t *testing.T) { FILE: features/prog.go function HaveProgramType (line 20) | func HaveProgramType(pt ebpf.ProgramType) (err error) { function probeProgram (line 24) | func probeProgram(spec *ebpf.ProgramSpec) error { function init (line 199) | func init() { type helperKey (line 209) | type helperKey struct function HaveProgramHelper (line 236) | func HaveProgramHelper(pt ebpf.ProgramType, helper asm.BuiltinFunc) error { function haveProgramHelper (line 240) | func haveProgramHelper(pt ebpf.ProgramType, helper asm.BuiltinFunc) error { function logContainsAll (line 314) | func logContainsAll(log []string, needles ...string) bool { function helperProbeNotImplemented (line 326) | func helperProbeNotImplemented(pt ebpf.ProgramType) bool { FILE: features/prog_test.go function TestMain (line 16) | func TestMain(m *testing.M) { function TestHaveProgramType (line 20) | func TestHaveProgramType(t *testing.T) { function TestHaveProgramTypeInvalid (line 24) | func TestHaveProgramTypeInvalid(t *testing.T) { function TestHaveProgramHelper (line 32) | func TestHaveProgramHelper(t *testing.T) { function TestHelperProbeNotImplemented (line 89) | func TestHelperProbeNotImplemented(t *testing.T) { FILE: features/version.go function LinuxVersionCode (line 12) | func LinuxVersionCode() (uint32, error) { FILE: fuzz_test.go function FuzzLoadCollectionSpec (line 9) | func FuzzLoadCollectionSpec(f *testing.F) { FILE: helpers_test.go function requireTestmod (line 56) | func requireTestmod(tb testing.TB) { function requireTestmodOps (line 70) | func requireTestmodOps(tb testing.TB) { function newMap (line 83) | func newMap(tb testing.TB, spec *MapSpec, opts *MapOptions) (*Map, error) { function mustNewMap (line 102) | func mustNewMap(tb testing.TB, spec *MapSpec, opts *MapOptions) *Map { function createMap (line 111) | func createMap(tb testing.TB, typ MapType, maxEntries uint32) *Map { function createMapInMap (line 123) | func createMapInMap(tb testing.TB, outer, inner MapType) *Map { function newProgram (line 139) | func newProgram(tb testing.TB, spec *ProgramSpec, opts *ProgramOptions) ... function mustNewProgram (line 158) | func mustNewProgram(tb testing.TB, spec *ProgramSpec, opts *ProgramOptio... function createProgram (line 166) | func createProgram(tb testing.TB, typ ProgramType, retval int64) *Program { function createBasicProgram (line 192) | func createBasicProgram(tb testing.TB) *Program { function newCollection (line 196) | func newCollection(tb testing.TB, spec *CollectionSpec, opts *Collection... function mustNewCollection (line 217) | func mustNewCollection(tb testing.TB, spec *CollectionSpec, opts *Collec... function loadAndAssign (line 224) | func loadAndAssign(tb testing.TB, spec *CollectionSpec, to any, opts *Co... function mustLoadAndAssign (line 232) | func mustLoadAndAssign(tb testing.TB, spec *CollectionSpec, to any, opts... function mustRun (line 236) | func mustRun(tb testing.TB, prog *Program, opts *RunOptions) (retval uin... function fixupMapType (line 266) | func fixupMapType(typ MapType) MapType { function fixupMapSpec (line 303) | func fixupMapSpec(spec *MapSpec) *MapSpec { function fixupProgramType (line 317) | func fixupProgramType(typ ProgramType) ProgramType { function fixupProgramSpec (line 332) | func fixupProgramSpec(spec *ProgramSpec) *ProgramSpec { function fixupCollectionSpec (line 356) | func fixupCollectionSpec(spec *CollectionSpec) *CollectionSpec { FILE: info.go type MapInfo (line 40) | type MapInfo struct method ID (line 173) | func (mi *MapInfo) ID() (MapID, bool) { method BTFID (line 185) | func (mi *MapInfo) BTFID() (btf.ID, bool) { method MapExtra (line 195) | func (mi *MapInfo) MapExtra() (uint64, bool) { method Memlock (line 204) | func (mi *MapInfo) Memlock() (uint64, bool) { method Frozen (line 214) | func (mi *MapInfo) Frozen() bool { function minimalMapInfoFromFd (line 71) | func minimalMapInfoFromFd(fd *sys.FD) (*MapInfo, error) { function newMapInfoFromFd (line 97) | func newMapInfoFromFd(fd *sys.FD) (*MapInfo, error) { function readMapInfoFromProc (line 141) | func readMapInfoFromProc(fd *sys.FD, mi *MapInfo) error { type ProgramStats (line 223) | type ProgramStats struct function newProgramStatsFromFd (line 242) | func newProgramStatsFromFd(fd *sys.FD) (*ProgramStats, error) { type programJitedInfo (line 256) | type programJitedInfo struct type ProgramInfo (line 291) | type ProgramInfo struct method ID (line 570) | func (pi *ProgramInfo) ID() (ProgramID, bool) { method CreatedByUID (line 579) | func (pi *ProgramInfo) CreatedByUID() (uint32, bool) { method BTFID (line 591) | func (pi *ProgramInfo) BTFID() (btf.ID, bool) { method btfSpec (line 596) | func (pi *ProgramInfo) btfSpec() (*btf.Spec, error) { method LineInfos (line 630) | func (pi *ProgramInfo) LineInfos() (btf.LineOffsets, error) { method Instructions (line 671) | func (pi *ProgramInfo) Instructions() (asm.Instructions, error) { method JitedSize (line 746) | func (pi *ProgramInfo) JitedSize() (uint32, error) { method TranslatedSize (line 757) | func (pi *ProgramInfo) TranslatedSize() (int, error) { method MapIDs (line 769) | func (pi *ProgramInfo) MapIDs() ([]MapID, bool) { method LoadTime (line 778) | func (pi *ProgramInfo) LoadTime() (time.Duration, bool) { method VerifiedInstructions (line 788) | func (pi *ProgramInfo) VerifiedInstructions() (uint32, bool) { method JitedKsymAddrs (line 803) | func (pi *ProgramInfo) JitedKsymAddrs() ([]uintptr, bool) { method JitedInsns (line 825) | func (pi *ProgramInfo) JitedInsns() ([]byte, bool) { method JitedLineInfos (line 834) | func (pi *ProgramInfo) JitedLineInfos() ([]uint64, bool) { method JitedFuncLens (line 843) | func (pi *ProgramInfo) JitedFuncLens() ([]uint32, bool) { method FuncInfos (line 858) | func (pi *ProgramInfo) FuncInfos() (btf.FuncOffsets, error) { method Memlock (line 881) | func (pi *ProgramInfo) Memlock() (uint64, bool) { function minimalProgramInfoFromFd (line 330) | func minimalProgramInfoFromFd(fd *sys.FD) (*ProgramInfo, error) { function newProgramInfoFromFd (line 353) | func newProgramInfoFromFd(fd *sys.FD) (*ProgramInfo, error) { function readNameFromFunc (line 512) | func readNameFromFunc(pi *ProgramInfo) (string, error) { function readProgramInfoFromProc (line 540) | func readProgramInfoFromProc(fd *sys.FD, pi *ProgramInfo) error { function scanFdInfo (line 885) | func scanFdInfo(fd *sys.FD, fields map[string]interface{}) error { function scanFdInfoReader (line 902) | func scanFdInfoReader(r io.Reader, fields map[string]interface{}) error { function zero (line 947) | func zero(arg any) bool { function EnableStats (line 969) | func EnableStats(which uint32) (io.Closer, error) { FILE: info_test.go function validateMapInfo (line 52) | func validateMapInfo(t *testing.T, info *MapInfo, spec *MapSpec) { function TestMapInfo (line 65) | func TestMapInfo(t *testing.T) { function TestMapInfoFromProc (line 74) | func TestMapInfoFromProc(t *testing.T) { function TestMapInfoFromProcOuterMap (line 85) | func TestMapInfoFromProcOuterMap(t *testing.T) { function BenchmarkNewMapFromFD (line 108) | func BenchmarkNewMapFromFD(b *testing.B) { function BenchmarkMapInfo (line 120) | func BenchmarkMapInfo(b *testing.B) { function validateProgInfo (line 132) | func validateProgInfo(t *testing.T, spec *ProgramSpec, info *ProgramInfo) { function TestProgramInfo (line 151) | func TestProgramInfo(t *testing.T) { function BenchmarkNewProgramFromFD (line 214) | func BenchmarkNewProgramFromFD(b *testing.B) { function BenchmarkProgramInfo (line 227) | func BenchmarkProgramInfo(b *testing.B) { function TestProgramInfoProc (line 240) | func TestProgramInfoProc(t *testing.T) { function TestProgramInfoBTF (line 252) | func TestProgramInfoBTF(t *testing.T) { function TestProgramInfoMapIDs (line 303) | func TestProgramInfoMapIDs(t *testing.T) { function TestProgramInfoMapIDsNoMaps (line 338) | func TestProgramInfoMapIDsNoMaps(t *testing.T) { function TestScanFdInfoReader (line 357) | func TestScanFdInfoReader(t *testing.T) { function BenchmarkScanFdInfoReader (line 382) | func BenchmarkScanFdInfoReader(b *testing.B) { function TestProgramStats (line 409) | func TestProgramStats(t *testing.T) { function BenchmarkStats (line 432) | func BenchmarkStats(b *testing.B) { function testStats (line 457) | func testStats(tb testing.TB, prog *Program) error { function TestHaveProgramInfoMapIDs (line 493) | func TestHaveProgramInfoMapIDs(t *testing.T) { function TestProgInfoExtBTF (line 497) | func TestProgInfoExtBTF(t *testing.T) { function TestInfoExportedFields (line 558) | func TestInfoExportedFields(t *testing.T) { function TestZero (line 590) | func TestZero(t *testing.T) { FILE: internal/deque.go type Deque (line 6) | type Deque struct method Reset (line 13) | func (dq *Deque[T]) Reset() { method Empty (line 23) | func (dq *Deque[T]) Empty() bool { method Push (line 28) | func (dq *Deque[T]) Push(e T) { method Shift (line 35) | func (dq *Deque[T]) Shift() T { method Pop (line 50) | func (dq *Deque[T]) Pop() T { method Grow (line 66) | func (dq *Deque[T]) Grow(n int) { FILE: internal/deque_test.go function TestDeque (line 5) | func TestDeque(t *testing.T) { FILE: internal/efw/enums.go function EbpfGetEbpfAttachType (line 21) | func EbpfGetEbpfAttachType(attachType uint32) (windows.GUID, error) { function EbpfGetBpfProgramType (line 42) | func EbpfGetBpfProgramType(programType windows.GUID) (uint32, error) { function EbpfGetBpfAttachType (line 58) | func EbpfGetBpfAttachType(attachType windows.GUID) (uint32, error) { FILE: internal/efw/error_reporting.go function init (line 15) | func init() { function configureCRTErrorReporting (line 36) | func configureCRTErrorReporting() error { function isDebuggerPresent (line 142) | func isDebuggerPresent() bool { FILE: internal/efw/error_reporting_test.go function TestConfigureErrorReporting (line 11) | func TestConfigureErrorReporting(t *testing.T) { function TestIsDebuggerPresent (line 15) | func TestIsDebuggerPresent(t *testing.T) { FILE: internal/efw/fd.go function EbpfCloseFd (line 13) | func EbpfCloseFd(fd int) error { function EbpfDuplicateFd (line 25) | func EbpfDuplicateFd(fd int) (int, error) { FILE: internal/efw/map.go function EbpfRingBufferMapMapBuffer (line 24) | func EbpfRingBufferMapMapBuffer(mapFd int) (consumer, producer, data *ui... function EbpfRingBufferMapUnmapBuffer (line 51) | func EbpfRingBufferMapUnmapBuffer(mapFd int, consumer, producer, data *u... function EbpfMapSetWaitHandle (line 74) | func EbpfMapSetWaitHandle(mapFd int, index uint64, handle windows.Handle... function EbpfRingBufferMapWrite (line 96) | func EbpfRingBufferMapWrite(ringBufferMapFd int, data []byte) error { FILE: internal/efw/module.go type FD (line 16) | type FD type Size (line 21) | type Size type Int (line 24) | type Int type ObjectType (line 29) | type ObjectType constant EBPF_OBJECT_UNKNOWN (line 32) | EBPF_OBJECT_UNKNOWN ObjectType = iota constant EBPF_OBJECT_MAP (line 33) | EBPF_OBJECT_MAP constant EBPF_OBJECT_LINK (line 34) | EBPF_OBJECT_LINK constant EBPF_OBJECT_PROGRAM (line 35) | EBPF_OBJECT_PROGRAM FILE: internal/efw/native.go function EbpfObjectLoadNativeFds (line 23) | func EbpfObjectLoadNativeFds(fileName string, mapFds []FD, programFds []... FILE: internal/efw/object.go constant _EBPF_MAX_PIN_PATH_LENGTH (line 13) | _EBPF_MAX_PIN_PATH_LENGTH = 256 function EbpfObjectGetInfoByFd (line 26) | func EbpfObjectGetInfoByFd(fd int, info unsafe.Pointer, info_size *uint3... function EbpfObjectUnpin (line 45) | func EbpfObjectUnpin(path string) error { function EbpfGetNextPinnedObjectPath (line 70) | func EbpfGetNextPinnedObjectPath(startPath string, objectType ObjectType... function EbpfCanonicalizePinPath (line 99) | func EbpfCanonicalizePinPath(input string) (string, error) { FILE: internal/efw/proc.go type proc (line 20) | type proc struct method Find (line 28) | func (p proc) Find() (uintptr, error) { function newProc (line 24) | func newProc(name string) proc { function uint32Result (line 39) | func uint32Result(r1, _ uintptr, _ syscall.Errno) uint32 { function errorResult (line 44) | func errorResult(r1, _ uintptr, errNo syscall.Errno) error { FILE: internal/efw/proc_test.go function TestNewProc (line 11) | func TestNewProc(t *testing.T) { function TestCall (line 16) | func TestCall(t *testing.T) { FILE: internal/efw/program.go function EbpfProgramAttachFds (line 24) | func EbpfProgramAttachFds(fd int, attachType windows.GUID, params unsafe... FILE: internal/efw/result.go type Result (line 6) | type Result method Error (line 48) | func (r Result) Error() string { constant EBPF_SUCCESS (line 11) | EBPF_SUCCESS Result = iota constant EBPF_VERIFICATION_FAILED (line 12) | EBPF_VERIFICATION_FAILED constant EBPF_JIT_COMPILATION_FAILED (line 13) | EBPF_JIT_COMPILATION_FAILED constant EBPF_PROGRAM_LOAD_FAILED (line 14) | EBPF_PROGRAM_LOAD_FAILED constant EBPF_INVALID_FD (line 15) | EBPF_INVALID_FD constant EBPF_INVALID_OBJECT (line 16) | EBPF_INVALID_OBJECT constant EBPF_INVALID_ARGUMENT (line 17) | EBPF_INVALID_ARGUMENT constant EBPF_OBJECT_NOT_FOUND (line 18) | EBPF_OBJECT_NOT_FOUND constant EBPF_OBJECT_ALREADY_EXISTS (line 19) | EBPF_OBJECT_ALREADY_EXISTS constant EBPF_FILE_NOT_FOUND (line 20) | EBPF_FILE_NOT_FOUND constant EBPF_ALREADY_PINNED (line 21) | EBPF_ALREADY_PINNED constant EBPF_NOT_PINNED (line 22) | EBPF_NOT_PINNED constant EBPF_NO_MEMORY (line 23) | EBPF_NO_MEMORY constant EBPF_PROGRAM_TOO_LARGE (line 24) | EBPF_PROGRAM_TOO_LARGE constant EBPF_RPC_EXCEPTION (line 25) | EBPF_RPC_EXCEPTION constant EBPF_ALREADY_INITIALIZED (line 26) | EBPF_ALREADY_INITIALIZED constant EBPF_ELF_PARSING_FAILED (line 27) | EBPF_ELF_PARSING_FAILED constant EBPF_FAILED (line 28) | EBPF_FAILED constant EBPF_OPERATION_NOT_SUPPORTED (line 29) | EBPF_OPERATION_NOT_SUPPORTED constant EBPF_KEY_NOT_FOUND (line 30) | EBPF_KEY_NOT_FOUND constant EBPF_ACCESS_DENIED (line 31) | EBPF_ACCESS_DENIED constant EBPF_BLOCKED_BY_POLICY (line 32) | EBPF_BLOCKED_BY_POLICY constant EBPF_ARITHMETIC_OVERFLOW (line 33) | EBPF_ARITHMETIC_OVERFLOW constant EBPF_EXTENSION_FAILED_TO_LOAD (line 34) | EBPF_EXTENSION_FAILED_TO_LOAD constant EBPF_INSUFFICIENT_BUFFER (line 35) | EBPF_INSUFFICIENT_BUFFER constant EBPF_NO_MORE_KEYS (line 36) | EBPF_NO_MORE_KEYS constant EBPF_KEY_ALREADY_EXISTS (line 37) | EBPF_KEY_ALREADY_EXISTS constant EBPF_NO_MORE_TAIL_CALLS (line 38) | EBPF_NO_MORE_TAIL_CALLS constant EBPF_PENDING (line 39) | EBPF_PENDING constant EBPF_OUT_OF_SPACE (line 40) | EBPF_OUT_OF_SPACE constant EBPF_CANCELED (line 41) | EBPF_CANCELED constant EBPF_INVALID_POINTER (line 42) | EBPF_INVALID_POINTER constant EBPF_TIMEOUT (line 43) | EBPF_TIMEOUT constant EBPF_STALE_ID (line 44) | EBPF_STALE_ID constant EBPF_INVALID_STATE (line 45) | EBPF_INVALID_STATE function resultToError (line 52) | func resultToError(res Result) error { FILE: internal/efw/result_string_windows.go function _ (line 7) | func _() { constant _Result_name (line 48) | _Result_name = "EBPF_SUCCESSEBPF_VERIFICATION_FAILEDEBPF_JIT_COMPILATION... method String (line 52) | func (i Result) String() string { FILE: internal/efw/result_test.go function TestResultToError (line 11) | func TestResultToError(t *testing.T) { FILE: internal/efw/structs.go constant _BPF_OBJ_NAME_LEN (line 8) | _BPF_OBJ_NAME_LEN = 64 type BpfMapInfo (line 11) | type BpfMapInfo struct type BpfProgInfo (line 25) | type BpfProgInfo struct FILE: internal/elf.go type SafeELFFile (line 9) | type SafeELFFile struct method Symbols (line 62) | func (se *SafeELFFile) Symbols() (syms []elf.Symbol, err error) { method DynamicSymbols (line 78) | func (se *SafeELFFile) DynamicSymbols() (syms []elf.Symbol, err error) { method SectionsByType (line 94) | func (se *SafeELFFile) SectionsByType(typ elf.SectionType) []*elf.Sect... function NewSafeELFFile (line 19) | func NewSafeELFFile(r io.ReaderAt) (safe *SafeELFFile, err error) { function OpenSafeELFFile (line 42) | func OpenSafeELFFile(path string) (safe *SafeELFFile, err error) { FILE: internal/epoll/poller.go type Poller (line 28) | type Poller struct method Close (line 90) | func (p *Poller) Close() error { method Add (line 130) | func (p *Poller) Add(fd int, id int) error { method Wait (line 166) | func (p *Poller) Wait(events []unix.EpollEvent, deadline time.Time) (i... method wakeWaitForClose (line 223) | func (p *Poller) wakeWaitForClose() error { method Flush (line 235) | func (p *Poller) Flush() error { function New (line 40) | func New() (_ *Poller, err error) { type temporaryError (line 218) | type temporaryError interface type eventFd (line 252) | type eventFd struct method close (line 268) | func (efd *eventFd) close() error { method add (line 272) | func (efd *eventFd) add(n uint64) error { method read (line 279) | func (efd *eventFd) read() (uint64, error) { function newEventFd (line 259) | func newEventFd() (*eventFd, error) { FILE: internal/epoll/poller_test.go function TestPoller (line 17) | func TestPoller(t *testing.T) { function TestPollerDeadline (line 86) | func TestPollerDeadline(t *testing.T) { function TestPollerFlush (line 114) | func TestPollerFlush(t *testing.T) { function mustNewPoller (line 135) | func mustNewPoller(t *testing.T) (*eventFd, *Poller) { FILE: internal/errors.go function ErrorWithLog (line 15) | func ErrorWithLog(source string, err error, log []byte) *VerifierError { type VerifierError (line 43) | type VerifierError struct method Unwrap (line 51) | func (le *VerifierError) Unwrap() error { method Error (line 55) | func (le *VerifierError) Error() string { method Format (line 128) | func (le *VerifierError) Format(f fmt.State, verb rune) { function includePreviousLine (line 91) | func includePreviousLine(line string) bool { FILE: internal/errors_test.go function TestVerifierErrorWhitespace (line 11) | func TestVerifierErrorWhitespace(t *testing.T) { function TestVerifierErrorWrapping (line 34) | func TestVerifierErrorWrapping(t *testing.T) { function TestVerifierErrorSummary (line 45) | func TestVerifierErrorSummary(t *testing.T) { function readErrorFromFile (line 69) | func readErrorFromFile(tb testing.TB, file string) *VerifierError { FILE: internal/feature.go type UnsupportedFeatureError (line 24) | type UnsupportedFeatureError struct method Error (line 37) | func (ufe *UnsupportedFeatureError) Error() string { method Is (line 45) | func (ufe *UnsupportedFeatureError) Is(target error) bool { type FeatureTest (line 52) | type FeatureTest struct method execute (line 109) | func (ft *FeatureTest) execute() error { type FeatureTestFn (line 73) | type FeatureTestFn function NewFeatureTest (line 81) | func NewFeatureTest(name string, fn FeatureTestFn, versions ...string) f... type FeatureMatrix (line 163) | type FeatureMatrix method Result (line 170) | func (fm FeatureMatrix[K]) Result(key K) error { type FeatureCache (line 186) | type FeatureCache struct function NewFeatureCache (line 192) | func NewFeatureCache[K comparable](newTest func(K) *FeatureTest) *Featur... method Result (line 199) | func (fc *FeatureCache[K]) Result(key K) error { method retrieve (line 208) | func (fc *FeatureCache[K]) retrieve(key K) *FeatureTest { FILE: internal/feature_test.go function TestMain (line 15) | func TestMain(m *testing.M) { function TestFeatureTest (line 19) | func TestFeatureTest(t *testing.T) { function TestFeatureTestNotSupportedOnOS (line 80) | func TestFeatureTestNotSupportedOnOS(t *testing.T) { FILE: internal/io.go function NewBufferedSectionReader (line 25) | func NewBufferedSectionReader(ra io.ReaderAt, off, n int64) *bufio.Reader { type DiscardZeroes (line 40) | type DiscardZeroes struct method Write (line 42) | func (DiscardZeroes) Write(p []byte) (int, error) { function ReadAllCompressed (line 52) | func ReadAllCompressed(file string) ([]byte, error) { function ReadUint64FromFile (line 71) | func ReadUint64FromFile(format string, path ...string) (uint64, error) { type uint64FromFileKey (line 90) | type uint64FromFileKey struct function ReadUint64FromFileOnce (line 102) | func ReadUint64FromFileOnce(format string, path ...string) (uint64, erro... FILE: internal/io_test.go function TestDiscardZero (line 9) | func TestDiscardZero(t *testing.T) { FILE: internal/kallsyms/cache.go type cache (line 5) | type cache struct method Load (line 9) | func (c *cache[K, V]) Load(key K) (value V, _ bool) { method Store (line 18) | func (c *cache[K, V]) Store(key K, value V) { FILE: internal/kallsyms/kallsyms.go function AssignAddresses (line 26) | func AssignAddresses(symbols map[string]uint64) error { function assignAddresses (line 74) | func assignAddresses(f io.Reader, symbols map[string]uint64) error { type ksym (line 119) | type ksym struct function parseSymbol (line 133) | func parseSymbol(r *reader, types []rune) (s ksym, err error, skip bool) { FILE: internal/kallsyms/kallsyms_test.go function TestParseSyms (line 30) | func TestParseSyms(t *testing.T) { function TestParseProcKallsyms (line 44) | func TestParseProcKallsyms(t *testing.T) { function TestAssignAddressesCaching (line 56) | func TestAssignAddressesCaching(t *testing.T) { function TestAssignAddresses (line 75) | func TestAssignAddresses(t *testing.T) { function BenchmarkAssignAddresses (line 96) | func BenchmarkAssignAddresses(b *testing.B) { function BenchmarkAssignAddressesKallsyms (line 111) | func BenchmarkAssignAddressesKallsyms(b *testing.B) { function mustOpenProcKallsyms (line 131) | func mustOpenProcKallsyms(tb testing.TB) *os.File { FILE: internal/kallsyms/reader.go type reader (line 16) | type reader struct method Bytes (line 31) | func (r *reader) Bytes() []byte { method Text (line 36) | func (r *reader) Text() string { method Line (line 49) | func (r *reader) Line() bool { method Word (line 72) | func (r *reader) Word() bool { method Err (line 87) | func (r *reader) Err() error { function newReader (line 24) | func newReader(r io.Reader) *reader { FILE: internal/kallsyms/reader_test.go function TestReader (line 10) | func TestReader(t *testing.T) { FILE: internal/kconfig/kconfig.go function Parse (line 23) | func Parse(source io.ReaderAt, filter map[string]struct{}) (map[string]s... function processKconfigLine (line 63) | func processKconfigLine(line []byte, m map[string]string, filter map[str... function PutValue (line 100) | func PutValue(data []byte, typ btf.Type, value string) error { type triState (line 117) | type triState constant TriNo (line 120) | TriNo triState = 0 constant TriYes (line 121) | TriYes triState = 1 constant TriModule (line 122) | TriModule triState = 2 function putValueTri (line 125) | func putValueTri(data []byte, typ btf.Type, value string) error { function putValueString (line 173) | func putValueString(data []byte, typ btf.Type, value string) error { function putValueNumber (line 207) | func putValueNumber(data []byte, typ btf.Type, value string) error { function PutInteger (line 241) | func PutInteger(data []byte, integer *btf.Int, n uint64) error { FILE: internal/kconfig/kconfig_test.go function BenchmarkParse (line 14) | func BenchmarkParse(b *testing.B) { function BenchmarkParseFiltered (line 31) | func BenchmarkParseFiltered(b *testing.B) { function TestParse (line 53) | func TestParse(t *testing.T) { function TestParseFiltered (line 80) | func TestParseFiltered(t *testing.T) { function TestParseGzipped (line 100) | func TestParseGzipped(t *testing.T) { function TestParseGzippedFiltered (line 115) | func TestParseGzippedFiltered(t *testing.T) { function TestProcessKconfigBadLine (line 135) | func TestProcessKconfigBadLine(t *testing.T) { function TestPutValue (line 147) | func TestPutValue(t *testing.T) { function TestPutInteger (line 413) | func TestPutInteger(t *testing.T) { function TestPutIntegerError (line 519) | func TestPutIntegerError(t *testing.T) { FILE: internal/linux/auxv.go type auxvPairReader (line 12) | type auxvPairReader interface constant _AT_NULL (line 19) | _AT_NULL = 0 constant _AT_SYSINFO_EHDR (line 20) | _AT_SYSINFO_EHDR = 33 type auxvRuntimeReader (line 23) | type auxvRuntimeReader struct method Close (line 28) | func (r *auxvRuntimeReader) Close() error { method ReadAuxvPair (line 32) | func (r *auxvRuntimeReader) ReadAuxvPair() (uint64, uint64, error) { function newAuxvRuntimeReader (line 49) | func newAuxvRuntimeReader() (auxvPairReader, error) { FILE: internal/linux/auxv_test.go type auxvFileReader (line 15) | type auxvFileReader struct method Close (line 21) | func (r *auxvFileReader) Close() error { method ReadAuxvPair (line 33) | func (r *auxvFileReader) ReadAuxvPair() (tag, value uint64, _ error) { type auxvPair32 (line 25) | type auxvPair32 struct type auxvPair64 (line 29) | type auxvPair64 struct function newAuxFileReader (line 49) | func newAuxFileReader(path string, order binary.ByteOrder, uintptrIs32bi... function newDefaultAuxvFileReader (line 68) | func newDefaultAuxvFileReader() (auxvPairReader, error) { function TestAuxvBothSourcesEqual (line 73) | func TestAuxvBothSourcesEqual(t *testing.T) { FILE: internal/linux/cpu.go function ParseCPUsFromFile (line 9) | func ParseCPUsFromFile(path string) (int, error) { function parseCPUs (line 29) | func parseCPUs(spec string) (int, error) { FILE: internal/linux/cpu_test.go function TestParseCPUs (line 7) | func TestParseCPUs(t *testing.T) { FILE: internal/linux/helper_test.go function skipIfNotSupportedOnOS (line 12) | func skipIfNotSupportedOnOS(tb testing.TB, err error) { FILE: internal/linux/kconfig.go function FindKConfig (line 13) | func FindKConfig() (*os.File, error) { FILE: internal/linux/platform.go function PlatformPrefix (line 12) | func PlatformPrefix() string { FILE: internal/linux/statfs.go function FSType (line 9) | func FSType(path string) (int64, error) { FILE: internal/linux/statfs_test.go function TestFSType (line 11) | func TestFSType(t *testing.T) { FILE: internal/linux/vdso.go function vdsoVersion (line 22) | func vdsoVersion() (uint32, error) { function vdsoMemoryAddress (line 53) | func vdsoMemoryAddress(r auxvPairReader) (uintptr, error) { type elfNoteHeader (line 77) | type elfNoteHeader struct function vdsoLinuxVersionCode (line 85) | func vdsoLinuxVersionCode(r io.ReaderAt) (uint32, error) { FILE: internal/linux/vdso_test.go function TestAuxvVDSOMemoryAddress (line 12) | func TestAuxvVDSOMemoryAddress(t *testing.T) { function TestAuxvNoVDSO (line 40) | func TestAuxvNoVDSO(t *testing.T) { function TestVDSOVersion (line 54) | func TestVDSOVersion(t *testing.T) { function TestLinuxVersionCodeEmbedded (line 60) | func TestLinuxVersionCodeEmbedded(t *testing.T) { FILE: internal/linux/version.go function detectKernelVersion (line 15) | func detectKernelVersion() (internal.Version, error) { function KernelRelease (line 27) | func KernelRelease() (string, error) { FILE: internal/linux/version_test.go function TestCurrentKernelVersion (line 9) | func TestCurrentKernelVersion(t *testing.T) { function TestKernelRelease (line 15) | func TestKernelRelease(t *testing.T) { FILE: internal/math.go function Align (line 4) | func Align[I Integer](n, alignment I) I { function IsPow (line 9) | func IsPow[I Integer](n I) bool { function Between (line 14) | func Between[I Integer](val, a, b I) I { type Integer (line 26) | type Integer interface FILE: internal/math_test.go function TestPow (line 14) | func TestPow(t *testing.T) { function TestIntegerConstraint (line 37) | func TestIntegerConstraint(t *testing.T) { function TestBetween (line 57) | func TestBetween(t *testing.T) { FILE: internal/nil.go function IsNil (line 10) | func IsNil(i any) error { FILE: internal/output.go function Identifier (line 15) | func Identifier(str string) string { function WriteFormatted (line 54) | func WriteFormatted(src []byte, out io.Writer) error { function GoTypeName (line 90) | func GoTypeName(t any) string { FILE: internal/output_test.go function TestIdentifier (line 9) | func TestIdentifier(t *testing.T) { type foo (line 32) | type foo struct function TestGoTypeName (line 34) | func TestGoTypeName(t *testing.T) { FILE: internal/platform/constants.go constant LinuxTag (line 9) | LinuxTag = uint32(iota) << platformShift constant WindowsTag (line 10) | WindowsTag constant platformMax (line 14) | platformMax = 1<<3 - 1 constant platformShift (line 15) | platformShift = 28 constant platformMask (line 16) | platformMask = platformMax << platformShift function tagForPlatform (line 19) | func tagForPlatform(platform string) (uint32, error) { function platformForConstant (line 30) | func platformForConstant(c uint32) string { function EncodeConstant (line 45) | func EncodeConstant[T ~uint32](platform string, c uint32) (T, error) { function DecodeConstant (line 59) | func DecodeConstant[T ~uint32](c T) (string, uint32) { FILE: internal/platform/constants_test.go function TestConstant (line 9) | func TestConstant(t *testing.T) { FILE: internal/platform/platform.go constant Linux (line 10) | Linux = "linux" constant Windows (line 11) | Windows = "windows" constant IsLinux (line 15) | IsLinux = runtime.GOOS == "linux" constant IsWindows (line 16) | IsWindows = runtime.GOOS == "windows" function SelectVersion (line 23) | func SelectVersion(versions []string) (string, error) { FILE: internal/platform/platform_linux.go constant Native (line 3) | Native = Linux FILE: internal/platform/platform_other.go constant Native (line 5) | Native = "" FILE: internal/platform/platform_windows.go constant Native (line 3) | Native = Windows FILE: internal/sys/fd.go constant invalidFd (line 19) | invalidFd = -1 function newFD (line 21) | func newFD(value int) *FD { method String (line 32) | func (fd *FD) String() string { method Int (line 36) | func (fd *FD) Int() int { method Uint (line 40) | func (fd *FD) Uint() uint32 { method Disown (line 52) | func (fd *FD) Disown() int { FILE: internal/sys/fd_linux_test.go function init (line 14) | func init() { function reserveFdZero (line 28) | func reserveFdZero() { function TestFD (line 38) | func TestFD(t *testing.T) { function TestFDFile (line 54) | func TestFDFile(t *testing.T) { function openFd (line 69) | func openFd(tb testing.TB) int { FILE: internal/sys/fd_other.go type FD (line 13) | type FD struct method Close (line 38) | func (fd *FD) Close() error { method Dup (line 46) | func (fd *FD) Dup() (*FD, error) { method File (line 66) | func (fd *FD) File(name string) (*os.File, error) { function NewFD (line 23) | func NewFD(value int) (*FD, error) { FILE: internal/sys/fd_windows.go type FD (line 15) | type FD struct method Close (line 36) | func (fd *FD) Close() error { method Dup (line 44) | func (fd *FD) Dup() (*FD, error) { method File (line 58) | func (fd *FD) File(name string) (*os.File, error) { function NewFD (line 23) | func NewFD(value int) (*FD, error) { FILE: internal/sys/pinning_other.go function Pin (line 16) | func Pin(currentPath, newPath string, fd *FD) error { function Unpin (line 58) | func Unpin(pinnedPath string) error { FILE: internal/sys/pinning_windows.go function Pin (line 10) | func Pin(currentPath, newPath string, fd *FD) error { function Unpin (line 33) | func Unpin(pinnedPath string) error { FILE: internal/sys/ptr.go function UnsafePointer (line 10) | func UnsafePointer(ptr unsafe.Pointer) Pointer { function UnsafeSlicePointer (line 15) | func UnsafeSlicePointer[T comparable](buf []T) Pointer { type TypedPointer (line 26) | type TypedPointer struct method IsNil (line 31) | func (p TypedPointer[T]) IsNil() bool { function SlicePointer (line 36) | func SlicePointer[T comparable](s []T) TypedPointer[T] { type StringPointer (line 41) | type StringPointer struct function NewStringPointer (line 47) | func NewStringPointer(str string) StringPointer { type StringSlicePointer (line 57) | type StringSlicePointer struct function NewStringSlicePointer (line 67) | func NewStringSlicePointer(strings []string) StringSlicePointer { FILE: internal/sys/ptr_32_be.go type Pointer (line 12) | type Pointer struct FILE: internal/sys/ptr_32_le.go type Pointer (line 12) | type Pointer struct FILE: internal/sys/ptr_64.go type Pointer (line 12) | type Pointer struct FILE: internal/sys/ptr_test.go function TestTypedPointer (line 12) | func TestTypedPointer(t *testing.T) { FILE: internal/sys/signals.go function init (line 16) | func init() { function maskProfilerSignal (line 27) | func maskProfilerSignal() { function unmaskProfilerSignal (line 40) | func unmaskProfilerSignal() { constant sigprofBit (line 50) | sigprofBit = int(unix.SIGPROF - 1) constant wordBits (line 52) | wordBits = int(unsafe.Sizeof(unix.Sigset_t{}.Val[0])) * 8 function sigsetAdd (line 60) | func sigsetAdd(set *unix.Sigset_t, signal unix.Signal) error { FILE: internal/sys/signals_test.go function TestSigset (line 15) | func TestSigset(t *testing.T) { function TestProfilerSignal (line 50) | func TestProfilerSignal(t *testing.T) { FILE: internal/sys/syscall.go constant ENOTSUPP (line 13) | ENOTSUPP = unix.Errno(524) type Info (line 21) | type Info interface method info (line 27) | func (i *MapInfo) info() (unsafe.Pointer, uint32) { method info (line 33) | func (i *ProgInfo) info() (unsafe.Pointer, uint32) { method info (line 39) | func (i *LinkInfo) info() (unsafe.Pointer, uint32) { method info (line 43) | func (i *TracingLinkInfo) info() (unsafe.Pointer, uint32) { method info (line 47) | func (i *CgroupLinkInfo) info() (unsafe.Pointer, uint32) { method info (line 51) | func (i *NetNsLinkInfo) info() (unsafe.Pointer, uint32) { method info (line 55) | func (i *XDPLinkInfo) info() (unsafe.Pointer, uint32) { method info (line 59) | func (i *TcxLinkInfo) info() (unsafe.Pointer, uint32) { method info (line 63) | func (i *NetfilterLinkInfo) info() (unsafe.Pointer, uint32) { method info (line 67) | func (i *NetkitLinkInfo) info() (unsafe.Pointer, uint32) { method info (line 71) | func (i *KprobeMultiLinkInfo) info() (unsafe.Pointer, uint32) { method info (line 75) | func (i *UprobeMultiLinkInfo) info() (unsafe.Pointer, uint32) { method info (line 79) | func (i *RawTracepointLinkInfo) info() (unsafe.Pointer, uint32) { method info (line 83) | func (i *KprobeLinkInfo) info() (unsafe.Pointer, uint32) { method info (line 87) | func (i *UprobeLinkInfo) info() (unsafe.Pointer, uint32) { method info (line 91) | func (i *TracepointLinkInfo) info() (unsafe.Pointer, uint32) { method info (line 95) | func (i *EventLinkInfo) info() (unsafe.Pointer, uint32) { method info (line 101) | func (i *BtfInfo) info() (unsafe.Pointer, uint32) { method info (line 105) | func (i *PerfEventLinkInfo) info() (unsafe.Pointer, uint32) { function ObjInfo (line 112) | func ObjInfo(fd *FD, info Info) error { type ObjName (line 125) | type ObjName function NewObjName (line 128) | func NewObjName(name string) ObjName { type LogLevel (line 135) | type LogLevel constant BPF_LOG_LEVEL1 (line 138) | BPF_LOG_LEVEL1 LogLevel = 1 << iota constant BPF_LOG_LEVEL2 (line 139) | BPF_LOG_LEVEL2 constant BPF_LOG_STATS (line 140) | BPF_LOG_STATS type MapID (line 144) | type MapID type ProgramID (line 147) | type ProgramID type LinkID (line 150) | type LinkID type BTFID (line 153) | type BTFID type TypeID (line 156) | type TypeID constant BPF_F_REPLACE (line 160) | BPF_F_REPLACE = 1 << (iota + 2) constant BPF_F_BEFORE (line 161) | BPF_F_BEFORE constant BPF_F_AFTER (line 162) | BPF_F_AFTER constant BPF_F_ID (line 163) | BPF_F_ID constant BPF_F_LINK_MPROG (line 164) | BPF_F_LINK_MPROG = 1 << 13 constant BPF_F_SLEEPABLE (line 169) | BPF_F_SLEEPABLE = 1 << 4 constant BPF_F_XDP_HAS_FRAGS (line 170) | BPF_F_XDP_HAS_FRAGS = 1 << 5 constant BPF_F_XDP_DEV_BOUND_ONLY (line 171) | BPF_F_XDP_DEV_BOUND_ONLY = 1 << 6 constant BPF_TAG_SIZE (line 174) | BPF_TAG_SIZE = 8 constant BPF_OBJ_NAME_LEN (line 175) | BPF_OBJ_NAME_LEN = 16 type wrappedErrno (line 181) | type wrappedErrno struct method Unwrap (line 185) | func (we wrappedErrno) Unwrap() error { method Error (line 189) | func (we wrappedErrno) Error() string { type syscallError (line 196) | type syscallError struct method Is (line 205) | func (se *syscallError) Is(target error) bool { method Unwrap (line 209) | func (se *syscallError) Unwrap() error { function Error (line 201) | func Error(err error, errno unix.Errno) error { FILE: internal/sys/syscall_other.go function BPF (line 19) | func BPF(cmd Cmd, attr unsafe.Pointer, size uintptr) (uintptr, error) { function ObjGetTyped (line 48) | func ObjGetTyped(attr *ObjGetAttr) (*FD, ObjType, error) { function readType (line 66) | func readType(fd *FD) (ObjType, error) { FILE: internal/sys/syscall_test.go function TestBPF (line 15) | func TestBPF(t *testing.T) { function TestBPFAllocations (line 26) | func TestBPFAllocations(t *testing.T) { function TestObjName (line 37) | func TestObjName(t *testing.T) { function TestWrappedErrno (line 47) | func TestWrappedErrno(t *testing.T) { function TestSyscallError (line 67) | func TestSyscallError(t *testing.T) { function TestMain (line 88) | func TestMain(m *testing.M) { FILE: internal/sys/syscall_windows.go function BPF (line 20) | func BPF(cmd Cmd, attr unsafe.Pointer, size uintptr) (uintptr, error) { function ObjGetTyped (line 45) | func ObjGetTyped(attr *ObjGetAttr) (*FD, ObjType, error) { FILE: internal/sys/types.go constant BPF_ADJ_ROOM_ENCAP_L2_MASK (line 11) | BPF_ADJ_ROOM_ENCAP_L2_MASK = 255 constant BPF_ADJ_ROOM_ENCAP_L2_SHIFT (line 12) | BPF_ADJ_ROOM_ENCAP_L2_SHIFT = 56 constant BPF_ANY (line 13) | BPF_ANY = 0 constant BPF_CSUM_LEVEL_DEC (line 14) | BPF_CSUM_LEVEL_DEC = 2 constant BPF_CSUM_LEVEL_INC (line 15) | BPF_CSUM_LEVEL_INC = 1 constant BPF_CSUM_LEVEL_QUERY (line 16) | BPF_CSUM_LEVEL_QUERY = 0 constant BPF_CSUM_LEVEL_RESET (line 17) | BPF_CSUM_LEVEL_RESET = 3 constant BPF_EXIST (line 18) | BPF_EXIST = 2 constant BPF_FIB_LKUP_RET_BLACKHOLE (line 19) | BPF_FIB_LKUP_RET_BLACKHOLE = 1 constant BPF_FIB_LKUP_RET_FRAG_NEEDED (line 20) | BPF_FIB_LKUP_RET_FRAG_NEEDED = 8 constant BPF_FIB_LKUP_RET_FWD_DISABLED (line 21) | BPF_FIB_LKUP_RET_FWD_DISABLED = 5 constant BPF_FIB_LKUP_RET_NOT_FWDED (line 22) | BPF_FIB_LKUP_RET_NOT_FWDED = 4 constant BPF_FIB_LKUP_RET_NO_NEIGH (line 23) | BPF_FIB_LKUP_RET_NO_NEIGH = 7 constant BPF_FIB_LKUP_RET_NO_SRC_ADDR (line 24) | BPF_FIB_LKUP_RET_NO_SRC_ADDR = 9 constant BPF_FIB_LKUP_RET_PROHIBIT (line 25) | BPF_FIB_LKUP_RET_PROHIBIT = 3 constant BPF_FIB_LKUP_RET_SUCCESS (line 26) | BPF_FIB_LKUP_RET_SUCCESS = 0 constant BPF_FIB_LKUP_RET_UNREACHABLE (line 27) | BPF_FIB_LKUP_RET_UNREACHABLE = 2 constant BPF_FIB_LKUP_RET_UNSUPP_LWT (line 28) | BPF_FIB_LKUP_RET_UNSUPP_LWT = 6 constant BPF_FIB_LOOKUP_DIRECT (line 29) | BPF_FIB_LOOKUP_DIRECT = 1 constant BPF_FIB_LOOKUP_MARK (line 30) | BPF_FIB_LOOKUP_MARK = 32 constant BPF_FIB_LOOKUP_OUTPUT (line 31) | BPF_FIB_LOOKUP_OUTPUT = 2 constant BPF_FIB_LOOKUP_SKIP_NEIGH (line 32) | BPF_FIB_LOOKUP_SKIP_NEIGH = 4 constant BPF_FIB_LOOKUP_SRC (line 33) | BPF_FIB_LOOKUP_SRC = 16 constant BPF_FIB_LOOKUP_TBID (line 34) | BPF_FIB_LOOKUP_TBID = 8 constant BPF_FLOW_DISSECTOR_F_PARSE_1ST_FRAG (line 35) | BPF_FLOW_DISSECTOR_F_PARSE_1ST_FRAG = 1 constant BPF_FLOW_DISSECTOR_F_STOP_AT_ENCAP (line 36) | BPF_FLOW_DISSECTOR_F_STOP_AT_ENCAP = 4 constant BPF_FLOW_DISSECTOR_F_STOP_AT_FLOW_LABEL (line 37) | BPF_FLOW_DISSECTOR_F_STOP_AT_FLOW_LABEL = 2 constant BPF_F_ADJ_ROOM_DECAP_L3_IPV4 (line 38) | BPF_F_ADJ_ROOM_DECAP_L3_IPV4 = 128 constant BPF_F_ADJ_ROOM_DECAP_L3_IPV6 (line 39) | BPF_F_ADJ_ROOM_DECAP_L3_IPV6 = 256 constant BPF_F_ADJ_ROOM_ENCAP_L2_ETH (line 40) | BPF_F_ADJ_ROOM_ENCAP_L2_ETH = 64 constant BPF_F_ADJ_ROOM_ENCAP_L3_IPV4 (line 41) | BPF_F_ADJ_ROOM_ENCAP_L3_IPV4 = 2 constant BPF_F_ADJ_ROOM_ENCAP_L3_IPV6 (line 42) | BPF_F_ADJ_ROOM_ENCAP_L3_IPV6 = 4 constant BPF_F_ADJ_ROOM_ENCAP_L4_GRE (line 43) | BPF_F_ADJ_ROOM_ENCAP_L4_GRE = 8 constant BPF_F_ADJ_ROOM_ENCAP_L4_UDP (line 44) | BPF_F_ADJ_ROOM_ENCAP_L4_UDP = 16 constant BPF_F_ADJ_ROOM_FIXED_GSO (line 45) | BPF_F_ADJ_ROOM_FIXED_GSO = 1 constant BPF_F_ADJ_ROOM_NO_CSUM_RESET (line 46) | BPF_F_ADJ_ROOM_NO_CSUM_RESET = 32 constant BPF_F_BPRM_SECUREEXEC (line 47) | BPF_F_BPRM_SECUREEXEC = 1 constant BPF_F_BROADCAST (line 48) | BPF_F_BROADCAST = 8 constant BPF_F_CLONE (line 49) | BPF_F_CLONE = 512 constant BPF_F_CTXLEN_MASK (line 50) | BPF_F_CTXLEN_MASK = 4503595332403200 constant BPF_F_CURRENT_CPU (line 51) | BPF_F_CURRENT_CPU = 4294967295 constant BPF_F_CURRENT_NETNS (line 52) | BPF_F_CURRENT_NETNS = 18446744073709551615 constant BPF_F_DONT_FRAGMENT (line 53) | BPF_F_DONT_FRAGMENT = 4 constant BPF_F_EXCLUDE_INGRESS (line 54) | BPF_F_EXCLUDE_INGRESS = 16 constant BPF_F_FAST_STACK_CMP (line 55) | BPF_F_FAST_STACK_CMP = 512 constant BPF_F_GET_BRANCH_RECORDS_SIZE (line 56) | BPF_F_GET_BRANCH_RECORDS_SIZE = 1 constant BPF_F_HDR_FIELD_MASK (line 57) | BPF_F_HDR_FIELD_MASK = 15 constant BPF_F_INDEX_MASK (line 58) | BPF_F_INDEX_MASK = 4294967295 constant BPF_F_INGRESS (line 59) | BPF_F_INGRESS = 1 constant BPF_F_INNER_MAP (line 60) | BPF_F_INNER_MAP = 4096 constant BPF_F_INVALIDATE_HASH (line 61) | BPF_F_INVALIDATE_HASH = 2 constant BPF_F_IPV6 (line 62) | BPF_F_IPV6 = 128 constant BPF_F_KPROBE_MULTI_RETURN (line 63) | BPF_F_KPROBE_MULTI_RETURN = 1 constant BPF_F_LINK (line 64) | BPF_F_LINK = 8192 constant BPF_F_LOCK (line 65) | BPF_F_LOCK = 4 constant BPF_F_MARK_ENFORCE (line 66) | BPF_F_MARK_ENFORCE = 64 constant BPF_F_MARK_MANGLED_0 (line 67) | BPF_F_MARK_MANGLED_0 = 32 constant BPF_F_MMAPABLE (line 68) | BPF_F_MMAPABLE = 1024 constant BPF_F_NEIGH (line 69) | BPF_F_NEIGH = 65536 constant BPF_F_NEXTHOP (line 70) | BPF_F_NEXTHOP = 262144 constant BPF_F_NO_COMMON_LRU (line 71) | BPF_F_NO_COMMON_LRU = 2 constant BPF_F_NO_PREALLOC (line 72) | BPF_F_NO_PREALLOC = 1 constant BPF_F_NO_TUNNEL_KEY (line 73) | BPF_F_NO_TUNNEL_KEY = 16 constant BPF_F_NO_USER_CONV (line 74) | BPF_F_NO_USER_CONV = 262144 constant BPF_F_NUMA_NODE (line 75) | BPF_F_NUMA_NODE = 4 constant BPF_F_PATH_FD (line 76) | BPF_F_PATH_FD = 16384 constant BPF_F_PEER (line 77) | BPF_F_PEER = 131072 constant BPF_F_PRESERVE_ELEMS (line 78) | BPF_F_PRESERVE_ELEMS = 2048 constant BPF_F_PSEUDO_HDR (line 79) | BPF_F_PSEUDO_HDR = 16 constant BPF_F_RDONLY (line 80) | BPF_F_RDONLY = 8 constant BPF_F_RDONLY_PROG (line 81) | BPF_F_RDONLY_PROG = 128 constant BPF_F_RECOMPUTE_CSUM (line 82) | BPF_F_RECOMPUTE_CSUM = 1 constant BPF_F_REUSE_STACKID (line 83) | BPF_F_REUSE_STACKID = 1024 constant BPF_F_SEGV_ON_FAULT (line 84) | BPF_F_SEGV_ON_FAULT = 131072 constant BPF_F_SEQ_NUMBER (line 85) | BPF_F_SEQ_NUMBER = 8 constant BPF_F_SKIP_FIELD_MASK (line 86) | BPF_F_SKIP_FIELD_MASK = 255 constant BPF_F_STACK_BUILD_ID (line 87) | BPF_F_STACK_BUILD_ID = 32 constant BPF_F_SYSCTL_BASE_NAME (line 88) | BPF_F_SYSCTL_BASE_NAME = 1 constant BPF_F_TIMER_ABS (line 89) | BPF_F_TIMER_ABS = 1 constant BPF_F_TIMER_CPU_PIN (line 90) | BPF_F_TIMER_CPU_PIN = 2 constant BPF_F_TOKEN_FD (line 91) | BPF_F_TOKEN_FD = 65536 constant BPF_F_TUNINFO_FLAGS (line 92) | BPF_F_TUNINFO_FLAGS = 16 constant BPF_F_TUNINFO_IPV6 (line 93) | BPF_F_TUNINFO_IPV6 = 1 constant BPF_F_UPROBE_MULTI_RETURN (line 94) | BPF_F_UPROBE_MULTI_RETURN = 1 constant BPF_F_USER_BUILD_ID (line 95) | BPF_F_USER_BUILD_ID = 2048 constant BPF_F_USER_STACK (line 96) | BPF_F_USER_STACK = 256 constant BPF_F_VTYPE_BTF_OBJ_FD (line 97) | BPF_F_VTYPE_BTF_OBJ_FD = 32768 constant BPF_F_WRONLY (line 98) | BPF_F_WRONLY = 16 constant BPF_F_WRONLY_PROG (line 99) | BPF_F_WRONLY_PROG = 256 constant BPF_F_ZERO_CSUM_TX (line 100) | BPF_F_ZERO_CSUM_TX = 2 constant BPF_F_ZERO_SEED (line 101) | BPF_F_ZERO_SEED = 64 constant BPF_LOAD_HDR_OPT_TCP_SYN (line 102) | BPF_LOAD_HDR_OPT_TCP_SYN = 1 constant BPF_LOCAL_STORAGE_GET_F_CREATE (line 103) | BPF_LOCAL_STORAGE_GET_F_CREATE = 1 constant BPF_MAX_LOOPS (line 104) | BPF_MAX_LOOPS = 8388608 constant BPF_MAX_TIMED_LOOPS (line 105) | BPF_MAX_TIMED_LOOPS = 65535 constant BPF_MAX_TRAMP_LINKS (line 106) | BPF_MAX_TRAMP_LINKS = 38 constant BPF_NOEXIST (line 107) | BPF_NOEXIST = 1 constant BPF_RB_AVAIL_DATA (line 108) | BPF_RB_AVAIL_DATA = 0 constant BPF_RB_CONS_POS (line 109) | BPF_RB_CONS_POS = 2 constant BPF_RB_FORCE_WAKEUP (line 110) | BPF_RB_FORCE_WAKEUP = 2 constant BPF_RB_NO_WAKEUP (line 111) | BPF_RB_NO_WAKEUP = 1 constant BPF_RB_PROD_POS (line 112) | BPF_RB_PROD_POS = 3 constant BPF_RB_RING_SIZE (line 113) | BPF_RB_RING_SIZE = 1 constant BPF_REG_0 (line 114) | BPF_REG_0 = 0 constant BPF_REG_1 (line 115) | BPF_REG_1 = 1 constant BPF_REG_10 (line 116) | BPF_REG_10 = 10 constant BPF_REG_2 (line 117) | BPF_REG_2 = 2 constant BPF_REG_3 (line 118) | BPF_REG_3 = 3 constant BPF_REG_4 (line 119) | BPF_REG_4 = 4 constant BPF_REG_5 (line 120) | BPF_REG_5 = 5 constant BPF_REG_6 (line 121) | BPF_REG_6 = 6 constant BPF_REG_7 (line 122) | BPF_REG_7 = 7 constant BPF_REG_8 (line 123) | BPF_REG_8 = 8 constant BPF_REG_9 (line 124) | BPF_REG_9 = 9 constant BPF_RINGBUF_BUSY_BIT (line 125) | BPF_RINGBUF_BUSY_BIT = 2147483648 constant BPF_RINGBUF_DISCARD_BIT (line 126) | BPF_RINGBUF_DISCARD_BIT = 1073741824 constant BPF_RINGBUF_HDR_SZ (line 127) | BPF_RINGBUF_HDR_SZ = 8 constant BPF_SKB_CLOCK_MONOTONIC (line 128) | BPF_SKB_CLOCK_MONOTONIC = 1 constant BPF_SKB_CLOCK_REALTIME (line 129) | BPF_SKB_CLOCK_REALTIME = 0 constant BPF_SKB_CLOCK_TAI (line 130) | BPF_SKB_CLOCK_TAI = 2 constant BPF_SKB_TSTAMP_DELIVERY_MONO (line 131) | BPF_SKB_TSTAMP_DELIVERY_MONO = 1 constant BPF_SKB_TSTAMP_UNSPEC (line 132) | BPF_SKB_TSTAMP_UNSPEC = 0 constant BPF_SK_LOOKUP_F_NO_REUSEPORT (line 133) | BPF_SK_LOOKUP_F_NO_REUSEPORT = 2 constant BPF_SK_LOOKUP_F_REPLACE (line 134) | BPF_SK_LOOKUP_F_REPLACE = 1 constant BPF_SK_STORAGE_GET_F_CREATE (line 135) | BPF_SK_STORAGE_GET_F_CREATE = 1 constant BPF_SOCK_OPS_ACTIVE_ESTABLISHED_CB (line 136) | BPF_SOCK_OPS_ACTIVE_ESTABLISHED_CB = 4 constant BPF_SOCK_OPS_ALL_CB_FLAGS (line 137) | BPF_SOCK_OPS_ALL_CB_FLAGS = 127 constant BPF_SOCK_OPS_BASE_RTT (line 138) | BPF_SOCK_OPS_BASE_RTT = 7 constant BPF_SOCK_OPS_HDR_OPT_LEN_CB (line 139) | BPF_SOCK_OPS_HDR_OPT_LEN_CB = 14 constant BPF_SOCK_OPS_NEEDS_ECN (line 140) | BPF_SOCK_OPS_NEEDS_ECN = 6 constant BPF_SOCK_OPS_PARSE_ALL_HDR_OPT_CB_FLAG (line 141) | BPF_SOCK_OPS_PARSE_ALL_HDR_OPT_CB_FLAG = 16 constant BPF_SOCK_OPS_PARSE_HDR_OPT_CB (line 142) | BPF_SOCK_OPS_PARSE_HDR_OPT_CB = 13 constant BPF_SOCK_OPS_PARSE_UNKNOWN_HDR_OPT_CB_FLAG (line 143) | BPF_SOCK_OPS_PARSE_UNKNOWN_HDR_OPT_CB_FLAG = 32 constant BPF_SOCK_OPS_PASSIVE_ESTABLISHED_CB (line 144) | BPF_SOCK_OPS_PASSIVE_ESTABLISHED_CB = 5 constant BPF_SOCK_OPS_RETRANS_CB (line 145) | BPF_SOCK_OPS_RETRANS_CB = 9 constant BPF_SOCK_OPS_RETRANS_CB_FLAG (line 146) | BPF_SOCK_OPS_RETRANS_CB_FLAG = 2 constant BPF_SOCK_OPS_RTO_CB (line 147) | BPF_SOCK_OPS_RTO_CB = 8 constant BPF_SOCK_OPS_RTO_CB_FLAG (line 148) | BPF_SOCK_OPS_RTO_CB_FLAG = 1 constant BPF_SOCK_OPS_RTT_CB (line 149) | BPF_SOCK_OPS_RTT_CB = 12 constant BPF_SOCK_OPS_RTT_CB_FLAG (line 150) | BPF_SOCK_OPS_RTT_CB_FLAG = 8 constant BPF_SOCK_OPS_RWND_INIT (line 151) | BPF_SOCK_OPS_RWND_INIT = 2 constant BPF_SOCK_OPS_STATE_CB (line 152) | BPF_SOCK_OPS_STATE_CB = 10 constant BPF_SOCK_OPS_STATE_CB_FLAG (line 153) | BPF_SOCK_OPS_STATE_CB_FLAG = 4 constant BPF_SOCK_OPS_TCP_CONNECT_CB (line 154) | BPF_SOCK_OPS_TCP_CONNECT_CB = 3 constant BPF_SOCK_OPS_TCP_LISTEN_CB (line 155) | BPF_SOCK_OPS_TCP_LISTEN_CB = 11 constant BPF_SOCK_OPS_TIMEOUT_INIT (line 156) | BPF_SOCK_OPS_TIMEOUT_INIT = 1 constant BPF_SOCK_OPS_TSTAMP_ACK_CB (line 157) | BPF_SOCK_OPS_TSTAMP_ACK_CB = 19 constant BPF_SOCK_OPS_TSTAMP_SCHED_CB (line 158) | BPF_SOCK_OPS_TSTAMP_SCHED_CB = 16 constant BPF_SOCK_OPS_TSTAMP_SENDMSG_CB (line 159) | BPF_SOCK_OPS_TSTAMP_SENDMSG_CB = 20 constant BPF_SOCK_OPS_TSTAMP_SND_HW_CB (line 160) | BPF_SOCK_OPS_TSTAMP_SND_HW_CB = 18 constant BPF_SOCK_OPS_TSTAMP_SND_SW_CB (line 161) | BPF_SOCK_OPS_TSTAMP_SND_SW_CB = 17 constant BPF_SOCK_OPS_VOID (line 162) | BPF_SOCK_OPS_VOID = 0 constant BPF_SOCK_OPS_WRITE_HDR_OPT_CB (line 163) | BPF_SOCK_OPS_WRITE_HDR_OPT_CB = 15 constant BPF_SOCK_OPS_WRITE_HDR_OPT_CB_FLAG (line 164) | BPF_SOCK_OPS_WRITE_HDR_OPT_CB_FLAG = 64 constant BPF_STREAM_MAX_CAPACITY (line 165) | BPF_STREAM_MAX_CAPACITY = 100000 constant BPF_TASK_ITER_ALL_PROCS (line 166) | BPF_TASK_ITER_ALL_PROCS = 0 constant BPF_TASK_ITER_ALL_THREADS (line 167) | BPF_TASK_ITER_ALL_THREADS = 1 constant BPF_TASK_ITER_PROC_THREADS (line 168) | BPF_TASK_ITER_PROC_THREADS = 2 constant BPF_TCP_BOUND_INACTIVE (line 169) | BPF_TCP_BOUND_INACTIVE = 13 constant BPF_TCP_CLOSE (line 170) | BPF_TCP_CLOSE = 7 constant BPF_TCP_CLOSE_WAIT (line 171) | BPF_TCP_CLOSE_WAIT = 8 constant BPF_TCP_CLOSING (line 172) | BPF_TCP_CLOSING = 11 constant BPF_TCP_ESTABLISHED (line 173) | BPF_TCP_ESTABLISHED = 1 constant BPF_TCP_FIN_WAIT1 (line 174) | BPF_TCP_FIN_WAIT1 = 4 constant BPF_TCP_FIN_WAIT2 (line 175) | BPF_TCP_FIN_WAIT2 = 5 constant BPF_TCP_LAST_ACK (line 176) | BPF_TCP_LAST_ACK = 9 constant BPF_TCP_LISTEN (line 177) | BPF_TCP_LISTEN = 10 constant BPF_TCP_MAX_STATES (line 178) | BPF_TCP_MAX_STATES = 14 constant BPF_TCP_NEW_SYN_RECV (line 179) | BPF_TCP_NEW_SYN_RECV = 12 constant BPF_TCP_SYN_RECV (line 180) | BPF_TCP_SYN_RECV = 3 constant BPF_TCP_SYN_SENT (line 181) | BPF_TCP_SYN_SENT = 2 constant BPF_TCP_TIME_WAIT (line 182) | BPF_TCP_TIME_WAIT = 6 constant BPF_WRITE_HDR_TCP_CURRENT_MSS (line 183) | BPF_WRITE_HDR_TCP_CURRENT_MSS = 1 constant BPF_WRITE_HDR_TCP_SYNACK_COOKIE (line 184) | BPF_WRITE_HDR_TCP_SYNACK_COOKIE = 2 constant BPF_XFRM_STATE_OPTS_SZ (line 185) | BPF_XFRM_STATE_OPTS_SZ = 36 type AdjRoomMode (line 188) | type AdjRoomMode constant BPF_ADJ_ROOM_NET (line 191) | BPF_ADJ_ROOM_NET AdjRoomMode = 0 constant BPF_ADJ_ROOM_MAC (line 192) | BPF_ADJ_ROOM_MAC AdjRoomMode = 1 type AttachType (line 195) | type AttachType constant BPF_CGROUP_INET_INGRESS (line 198) | BPF_CGROUP_INET_INGRESS AttachType = 0 constant BPF_CGROUP_INET_EGRESS (line 199) | BPF_CGROUP_INET_EGRESS AttachType = 1 constant BPF_CGROUP_INET_SOCK_CREATE (line 200) | BPF_CGROUP_INET_SOCK_CREATE AttachType = 2 constant BPF_CGROUP_SOCK_OPS (line 201) | BPF_CGROUP_SOCK_OPS AttachType = 3 constant BPF_SK_SKB_STREAM_PARSER (line 202) | BPF_SK_SKB_STREAM_PARSER AttachType = 4 constant BPF_SK_SKB_STREAM_VERDICT (line 203) | BPF_SK_SKB_STREAM_VERDICT AttachType = 5 constant BPF_CGROUP_DEVICE (line 204) | BPF_CGROUP_DEVICE AttachType = 6 constant BPF_SK_MSG_VERDICT (line 205) | BPF_SK_MSG_VERDICT AttachType = 7 constant BPF_CGROUP_INET4_BIND (line 206) | BPF_CGROUP_INET4_BIND AttachType = 8 constant BPF_CGROUP_INET6_BIND (line 207) | BPF_CGROUP_INET6_BIND AttachType = 9 constant BPF_CGROUP_INET4_CONNECT (line 208) | BPF_CGROUP_INET4_CONNECT AttachType = 10 constant BPF_CGROUP_INET6_CONNECT (line 209) | BPF_CGROUP_INET6_CONNECT AttachType = 11 constant BPF_CGROUP_INET4_POST_BIND (line 210) | BPF_CGROUP_INET4_POST_BIND AttachType = 12 constant BPF_CGROUP_INET6_POST_BIND (line 211) | BPF_CGROUP_INET6_POST_BIND AttachType = 13 constant BPF_CGROUP_UDP4_SENDMSG (line 212) | BPF_CGROUP_UDP4_SENDMSG AttachType = 14 constant BPF_CGROUP_UDP6_SENDMSG (line 213) | BPF_CGROUP_UDP6_SENDMSG AttachType = 15 constant BPF_LIRC_MODE2 (line 214) | BPF_LIRC_MODE2 AttachType = 16 constant BPF_FLOW_DISSECTOR (line 215) | BPF_FLOW_DISSECTOR AttachType = 17 constant BPF_CGROUP_SYSCTL (line 216) | BPF_CGROUP_SYSCTL AttachType = 18 constant BPF_CGROUP_UDP4_RECVMSG (line 217) | BPF_CGROUP_UDP4_RECVMSG AttachType = 19 constant BPF_CGROUP_UDP6_RECVMSG (line 218) | BPF_CGROUP_UDP6_RECVMSG AttachType = 20 constant BPF_CGROUP_GETSOCKOPT (line 219) | BPF_CGROUP_GETSOCKOPT AttachType = 21 constant BPF_CGROUP_SETSOCKOPT (line 220) | BPF_CGROUP_SETSOCKOPT AttachType = 22 constant BPF_TRACE_RAW_TP (line 221) | BPF_TRACE_RAW_TP AttachType = 23 constant BPF_TRACE_FENTRY (line 222) | BPF_TRACE_FENTRY AttachType = 24 constant BPF_TRACE_FEXIT (line 223) | BPF_TRACE_FEXIT AttachType = 25 constant BPF_MODIFY_RETURN (line 224) | BPF_MODIFY_RETURN AttachType = 26 constant BPF_LSM_MAC (line 225) | BPF_LSM_MAC AttachType = 27 constant BPF_TRACE_ITER (line 226) | BPF_TRACE_ITER AttachType = 28 constant BPF_CGROUP_INET4_GETPEERNAME (line 227) | BPF_CGROUP_INET4_GETPEERNAME AttachType = 29 constant BPF_CGROUP_INET6_GETPEERNAME (line 228) | BPF_CGROUP_INET6_GETPEERNAME AttachType = 30 constant BPF_CGROUP_INET4_GETSOCKNAME (line 229) | BPF_CGROUP_INET4_GETSOCKNAME AttachType = 31 constant BPF_CGROUP_INET6_GETSOCKNAME (line 230) | BPF_CGROUP_INET6_GETSOCKNAME AttachType = 32 constant BPF_XDP_DEVMAP (line 231) | BPF_XDP_DEVMAP AttachType = 33 constant BPF_CGROUP_INET_SOCK_RELEASE (line 232) | BPF_CGROUP_INET_SOCK_RELEASE AttachType = 34 constant BPF_XDP_CPUMAP (line 233) | BPF_XDP_CPUMAP AttachType = 35 constant BPF_SK_LOOKUP (line 234) | BPF_SK_LOOKUP AttachType = 36 constant BPF_XDP (line 235) | BPF_XDP AttachType = 37 constant BPF_SK_SKB_VERDICT (line 236) | BPF_SK_SKB_VERDICT AttachType = 38 constant BPF_SK_REUSEPORT_SELECT (line 237) | BPF_SK_REUSEPORT_SELECT AttachType = 39 constant BPF_SK_REUSEPORT_SELECT_OR_MIGRATE (line 238) | BPF_SK_REUSEPORT_SELECT_OR_MIGRATE AttachType = 40 constant BPF_PERF_EVENT (line 239) | BPF_PERF_EVENT AttachType = 41 constant BPF_TRACE_KPROBE_MULTI (line 240) | BPF_TRACE_KPROBE_MULTI AttachType = 42 constant BPF_LSM_CGROUP (line 241) | BPF_LSM_CGROUP AttachType = 43 constant BPF_STRUCT_OPS (line 242) | BPF_STRUCT_OPS AttachType = 44 constant BPF_NETFILTER (line 243) | BPF_NETFILTER AttachType = 45 constant BPF_TCX_INGRESS (line 244) | BPF_TCX_INGRESS AttachType = 46 constant BPF_TCX_EGRESS (line 245) | BPF_TCX_EGRESS AttachType = 47 constant BPF_TRACE_UPROBE_MULTI (line 246) | BPF_TRACE_UPROBE_MULTI AttachType = 48 constant BPF_CGROUP_UNIX_CONNECT (line 247) | BPF_CGROUP_UNIX_CONNECT AttachType = 49 constant BPF_CGROUP_UNIX_SENDMSG (line 248) | BPF_CGROUP_UNIX_SENDMSG AttachType = 50 constant BPF_CGROUP_UNIX_RECVMSG (line 249) | BPF_CGROUP_UNIX_RECVMSG AttachType = 51 constant BPF_CGROUP_UNIX_GETPEERNAME (line 250) | BPF_CGROUP_UNIX_GETPEERNAME AttachType = 52 constant BPF_CGROUP_UNIX_GETSOCKNAME (line 251) | BPF_CGROUP_UNIX_GETSOCKNAME AttachType = 53 constant BPF_NETKIT_PRIMARY (line 252) | BPF_NETKIT_PRIMARY AttachType = 54 constant BPF_NETKIT_PEER (line 253) | BPF_NETKIT_PEER AttachType = 55 constant BPF_TRACE_KPROBE_SESSION (line 254) | BPF_TRACE_KPROBE_SESSION AttachType = 56 constant BPF_TRACE_UPROBE_SESSION (line 255) | BPF_TRACE_UPROBE_SESSION AttachType = 57 constant __MAX_BPF_ATTACH_TYPE (line 256) | __MAX_BPF_ATTACH_TYPE AttachType = 58 type Cmd (line 259) | type Cmd constant BPF_MAP_CREATE (line 262) | BPF_MAP_CREATE Cmd = 0 constant BPF_MAP_LOOKUP_ELEM (line 263) | BPF_MAP_LOOKUP_ELEM Cmd = 1 constant BPF_MAP_UPDATE_ELEM (line 264) | BPF_MAP_UPDATE_ELEM Cmd = 2 constant BPF_MAP_DELETE_ELEM (line 265) | BPF_MAP_DELETE_ELEM Cmd = 3 constant BPF_MAP_GET_NEXT_KEY (line 266) | BPF_MAP_GET_NEXT_KEY Cmd = 4 constant BPF_PROG_LOAD (line 267) | BPF_PROG_LOAD Cmd = 5 constant BPF_OBJ_PIN (line 268) | BPF_OBJ_PIN Cmd = 6 constant BPF_OBJ_GET (line 269) | BPF_OBJ_GET Cmd = 7 constant BPF_PROG_ATTACH (line 270) | BPF_PROG_ATTACH Cmd = 8 constant BPF_PROG_DETACH (line 271) | BPF_PROG_DETACH Cmd = 9 constant BPF_PROG_TEST_RUN (line 272) | BPF_PROG_TEST_RUN Cmd = 10 constant BPF_PROG_RUN (line 273) | BPF_PROG_RUN Cmd = 10 constant BPF_PROG_GET_NEXT_ID (line 274) | BPF_PROG_GET_NEXT_ID Cmd = 11 constant BPF_MAP_GET_NEXT_ID (line 275) | BPF_MAP_GET_NEXT_ID Cmd = 12 constant BPF_PROG_GET_FD_BY_ID (line 276) | BPF_PROG_GET_FD_BY_ID Cmd = 13 constant BPF_MAP_GET_FD_BY_ID (line 277) | BPF_MAP_GET_FD_BY_ID Cmd = 14 constant BPF_OBJ_GET_INFO_BY_FD (line 278) | BPF_OBJ_GET_INFO_BY_FD Cmd = 15 constant BPF_PROG_QUERY (line 279) | BPF_PROG_QUERY Cmd = 16 constant BPF_RAW_TRACEPOINT_OPEN (line 280) | BPF_RAW_TRACEPOINT_OPEN Cmd = 17 constant BPF_BTF_LOAD (line 281) | BPF_BTF_LOAD Cmd = 18 constant BPF_BTF_GET_FD_BY_ID (line 282) | BPF_BTF_GET_FD_BY_ID Cmd = 19 constant BPF_TASK_FD_QUERY (line 283) | BPF_TASK_FD_QUERY Cmd = 20 constant BPF_MAP_LOOKUP_AND_DELETE_ELEM (line 284) | BPF_MAP_LOOKUP_AND_DELETE_ELEM Cmd = 21 constant BPF_MAP_FREEZE (line 285) | BPF_MAP_FREEZE Cmd = 22 constant BPF_BTF_GET_NEXT_ID (line 286) | BPF_BTF_GET_NEXT_ID Cmd = 23 constant BPF_MAP_LOOKUP_BATCH (line 287) | BPF_MAP_LOOKUP_BATCH Cmd = 24 constant BPF_MAP_LOOKUP_AND_DELETE_BATCH (line 288) | BPF_MAP_LOOKUP_AND_DELETE_BATCH Cmd = 25 constant BPF_MAP_UPDATE_BATCH (line 289) | BPF_MAP_UPDATE_BATCH Cmd = 26 constant BPF_MAP_DELETE_BATCH (line 290) | BPF_MAP_DELETE_BATCH Cmd = 27 constant BPF_LINK_CREATE (line 291) | BPF_LINK_CREATE Cmd = 28 constant BPF_LINK_UPDATE (line 292) | BPF_LINK_UPDATE Cmd = 29 constant BPF_LINK_GET_FD_BY_ID (line 293) | BPF_LINK_GET_FD_BY_ID Cmd = 30 constant BPF_LINK_GET_NEXT_ID (line 294) | BPF_LINK_GET_NEXT_ID Cmd = 31 constant BPF_ENABLE_STATS (line 295) | BPF_ENABLE_STATS Cmd = 32 constant BPF_ITER_CREATE (line 296) | BPF_ITER_CREATE Cmd = 33 constant BPF_LINK_DETACH (line 297) | BPF_LINK_DETACH Cmd = 34 constant BPF_PROG_BIND_MAP (line 298) | BPF_PROG_BIND_MAP Cmd = 35 constant BPF_TOKEN_CREATE (line 299) | BPF_TOKEN_CREATE Cmd = 36 constant BPF_PROG_STREAM_READ_BY_FD (line 300) | BPF_PROG_STREAM_READ_BY_FD Cmd = 37 constant __MAX_BPF_CMD (line 301) | __MAX_BPF_CMD Cmd = 38 type FunctionId (line 304) | type FunctionId constant BPF_FUNC_unspec (line 307) | BPF_FUNC_unspec FunctionId = 0 constant BPF_FUNC_map_lookup_elem (line 308) | BPF_FUNC_map_lookup_elem FunctionId = 1 constant BPF_FUNC_map_update_elem (line 309) | BPF_FUNC_map_update_elem FunctionId = 2 constant BPF_FUNC_map_delete_elem (line 310) | BPF_FUNC_map_delete_elem FunctionId = 3 constant BPF_FUNC_probe_read (line 311) | BPF_FUNC_probe_read FunctionId = 4 constant BPF_FUNC_ktime_get_ns (line 312) | BPF_FUNC_ktime_get_ns FunctionId = 5 constant BPF_FUNC_trace_printk (line 313) | BPF_FUNC_trace_printk FunctionId = 6 constant BPF_FUNC_get_prandom_u32 (line 314) | BPF_FUNC_get_prandom_u32 FunctionId = 7 constant BPF_FUNC_get_smp_processor_id (line 315) | BPF_FUNC_get_smp_processor_id FunctionId = 8 constant BPF_FUNC_skb_store_bytes (line 316) | BPF_FUNC_skb_store_bytes FunctionId = 9 constant BPF_FUNC_l3_csum_replace (line 317) | BPF_FUNC_l3_csum_replace FunctionId = 10 constant BPF_FUNC_l4_csum_replace (line 318) | BPF_FUNC_l4_csum_replace FunctionId = 11 constant BPF_FUNC_tail_call (line 319) | BPF_FUNC_tail_call FunctionId = 12 constant BPF_FUNC_clone_redirect (line 320) | BPF_FUNC_clone_redirect FunctionId = 13 constant BPF_FUNC_get_current_pid_tgid (line 321) | BPF_FUNC_get_current_pid_tgid FunctionId = 14 constant BPF_FUNC_get_current_uid_gid (line 322) | BPF_FUNC_get_current_uid_gid FunctionId = 15 constant BPF_FUNC_get_current_comm (line 323) | BPF_FUNC_get_current_comm FunctionId = 16 constant BPF_FUNC_get_cgroup_classid (line 324) | BPF_FUNC_get_cgroup_classid FunctionId = 17 constant BPF_FUNC_skb_vlan_push (line 325) | BPF_FUNC_skb_vlan_push FunctionId = 18 constant BPF_FUNC_skb_vlan_pop (line 326) | BPF_FUNC_skb_vlan_pop FunctionId = 19 constant BPF_FUNC_skb_get_tunnel_key (line 327) | BPF_FUNC_skb_get_tunnel_key FunctionId = 20 constant BPF_FUNC_skb_set_tunnel_key (line 328) | BPF_FUNC_skb_set_tunnel_key FunctionId = 21 constant BPF_FUNC_perf_event_read (line 329) | BPF_FUNC_perf_event_read FunctionId = 22 constant BPF_FUNC_redirect (line 330) | BPF_FUNC_redirect FunctionId = 23 constant BPF_FUNC_get_route_realm (line 331) | BPF_FUNC_get_route_realm FunctionId = 24 constant BPF_FUNC_perf_event_output (line 332) | BPF_FUNC_perf_event_output FunctionId = 25 constant BPF_FUNC_skb_load_bytes (line 333) | BPF_FUNC_skb_load_bytes FunctionId = 26 constant BPF_FUNC_get_stackid (line 334) | BPF_FUNC_get_stackid FunctionId = 27 constant BPF_FUNC_csum_diff (line 335) | BPF_FUNC_csum_diff FunctionId = 28 constant BPF_FUNC_skb_get_tunnel_opt (line 336) | BPF_FUNC_skb_get_tunnel_opt FunctionId = 29 constant BPF_FUNC_skb_set_tunnel_opt (line 337) | BPF_FUNC_skb_set_tunnel_opt FunctionId = 30 constant BPF_FUNC_skb_change_proto (line 338) | BPF_FUNC_skb_change_proto FunctionId = 31 constant BPF_FUNC_skb_change_type (line 339) | BPF_FUNC_skb_change_type FunctionId = 32 constant BPF_FUNC_skb_under_cgroup (line 340) | BPF_FUNC_skb_under_cgroup FunctionId = 33 constant BPF_FUNC_get_hash_recalc (line 341) | BPF_FUNC_get_hash_recalc FunctionId = 34 constant BPF_FUNC_get_current_task (line 342) | BPF_FUNC_get_current_task FunctionId = 35 constant BPF_FUNC_probe_write_user (line 343) | BPF_FUNC_probe_write_user FunctionId = 36 constant BPF_FUNC_current_task_under_cgroup (line 344) | BPF_FUNC_current_task_under_cgroup FunctionId = 37 constant BPF_FUNC_skb_change_tail (line 345) | BPF_FUNC_skb_change_tail FunctionId = 38 constant BPF_FUNC_skb_pull_data (line 346) | BPF_FUNC_skb_pull_data FunctionId = 39 constant BPF_FUNC_csum_update (line 347) | BPF_FUNC_csum_update FunctionId = 40 constant BPF_FUNC_set_hash_invalid (line 348) | BPF_FUNC_set_hash_invalid FunctionId = 41 constant BPF_FUNC_get_numa_node_id (line 349) | BPF_FUNC_get_numa_node_id FunctionId = 42 constant BPF_FUNC_skb_change_head (line 350) | BPF_FUNC_skb_change_head FunctionId = 43 constant BPF_FUNC_xdp_adjust_head (line 351) | BPF_FUNC_xdp_adjust_head FunctionId = 44 constant BPF_FUNC_probe_read_str (line 352) | BPF_FUNC_probe_read_str FunctionId = 45 constant BPF_FUNC_get_socket_cookie (line 353) | BPF_FUNC_get_socket_cookie FunctionId = 46 constant BPF_FUNC_get_socket_uid (line 354) | BPF_FUNC_get_socket_uid FunctionId = 47 constant BPF_FUNC_set_hash (line 355) | BPF_FUNC_set_hash FunctionId = 48 constant BPF_FUNC_setsockopt (line 356) | BPF_FUNC_setsockopt FunctionId = 49 constant BPF_FUNC_skb_adjust_room (line 357) | BPF_FUNC_skb_adjust_room FunctionId = 50 constant BPF_FUNC_redirect_map (line 358) | BPF_FUNC_redirect_map FunctionId = 51 constant BPF_FUNC_sk_redirect_map (line 359) | BPF_FUNC_sk_redirect_map FunctionId = 52 constant BPF_FUNC_sock_map_update (line 360) | BPF_FUNC_sock_map_update FunctionId = 53 constant BPF_FUNC_xdp_adjust_meta (line 361) | BPF_FUNC_xdp_adjust_meta FunctionId = 54 constant BPF_FUNC_perf_event_read_value (line 362) | BPF_FUNC_perf_event_read_value FunctionId = 55 constant BPF_FUNC_perf_prog_read_value (line 363) | BPF_FUNC_perf_prog_read_value FunctionId = 56 constant BPF_FUNC_getsockopt (line 364) | BPF_FUNC_getsockopt FunctionId = 57 constant BPF_FUNC_override_return (line 365) | BPF_FUNC_override_return FunctionId = 58 constant BPF_FUNC_sock_ops_cb_flags_set (line 366) | BPF_FUNC_sock_ops_cb_flags_set FunctionId = 59 constant BPF_FUNC_msg_redirect_map (line 367) | BPF_FUNC_msg_redirect_map FunctionId = 60 constant BPF_FUNC_msg_apply_bytes (line 368) | BPF_FUNC_msg_apply_bytes FunctionId = 61 constant BPF_FUNC_msg_cork_bytes (line 369) | BPF_FUNC_msg_cork_bytes FunctionId = 62 constant BPF_FUNC_msg_pull_data (line 370) | BPF_FUNC_msg_pull_data FunctionId = 63 constant BPF_FUNC_bind (line 371) | BPF_FUNC_bind FunctionId = 64 constant BPF_FUNC_xdp_adjust_tail (line 372) | BPF_FUNC_xdp_adjust_tail FunctionId = 65 constant BPF_FUNC_skb_get_xfrm_state (line 373) | BPF_FUNC_skb_get_xfrm_state FunctionId = 66 constant BPF_FUNC_get_stack (line 374) | BPF_FUNC_get_stack FunctionId = 67 constant BPF_FUNC_skb_load_bytes_relative (line 375) | BPF_FUNC_skb_load_bytes_relative FunctionId = 68 constant BPF_FUNC_fib_lookup (line 376) | BPF_FUNC_fib_lookup FunctionId = 69 constant BPF_FUNC_sock_hash_update (line 377) | BPF_FUNC_sock_hash_update FunctionId = 70 constant BPF_FUNC_msg_redirect_hash (line 378) | BPF_FUNC_msg_redirect_hash FunctionId = 71 constant BPF_FUNC_sk_redirect_hash (line 379) | BPF_FUNC_sk_redirect_hash FunctionId = 72 constant BPF_FUNC_lwt_push_encap (line 380) | BPF_FUNC_lwt_push_encap FunctionId = 73 constant BPF_FUNC_lwt_seg6_store_bytes (line 381) | BPF_FUNC_lwt_seg6_store_bytes FunctionId = 74 constant BPF_FUNC_lwt_seg6_adjust_srh (line 382) | BPF_FUNC_lwt_seg6_adjust_srh FunctionId = 75 constant BPF_FUNC_lwt_seg6_action (line 383) | BPF_FUNC_lwt_seg6_action FunctionId = 76 constant BPF_FUNC_rc_repeat (line 384) | BPF_FUNC_rc_repeat FunctionId = 77 constant BPF_FUNC_rc_keydown (line 385) | BPF_FUNC_rc_keydown FunctionId = 78 constant BPF_FUNC_skb_cgroup_id (line 386) | BPF_FUNC_skb_cgroup_id FunctionId = 79 constant BPF_FUNC_get_current_cgroup_id (line 387) | BPF_FUNC_get_current_cgroup_id FunctionId = 80 constant BPF_FUNC_get_local_storage (line 388) | BPF_FUNC_get_local_storage FunctionId = 81 constant BPF_FUNC_sk_select_reuseport (line 389) | BPF_FUNC_sk_select_reuseport FunctionId = 82 constant BPF_FUNC_skb_ancestor_cgroup_id (line 390) | BPF_FUNC_skb_ancestor_cgroup_id FunctionId = 83 constant BPF_FUNC_sk_lookup_tcp (line 391) | BPF_FUNC_sk_lookup_tcp FunctionId = 84 constant BPF_FUNC_sk_lookup_udp (line 392) | BPF_FUNC_sk_lookup_udp FunctionId = 85 constant BPF_FUNC_sk_release (line 393) | BPF_FUNC_sk_release FunctionId = 86 constant BPF_FUNC_map_push_elem (line 394) | BPF_FUNC_map_push_elem FunctionId = 87 constant BPF_FUNC_map_pop_elem (line 395) | BPF_FUNC_map_pop_elem FunctionId = 88 constant BPF_FUNC_map_peek_elem (line 396) | BPF_FUNC_map_peek_elem FunctionId = 89 constant BPF_FUNC_msg_push_data (line 397) | BPF_FUNC_msg_push_data FunctionId = 90 constant BPF_FUNC_msg_pop_data (line 398) | BPF_FUNC_msg_pop_data FunctionId = 91 constant BPF_FUNC_rc_pointer_rel (line 399) | BPF_FUNC_rc_pointer_rel FunctionId = 92 constant BPF_FUNC_spin_lock (line 400) | BPF_FUNC_spin_lock FunctionId = 93 constant BPF_FUNC_spin_unlock (line 401) | BPF_FUNC_spin_unlock FunctionId = 94 constant BPF_FUNC_sk_fullsock (line 402) | BPF_FUNC_sk_fullsock FunctionId = 95 constant BPF_FUNC_tcp_sock (line 403) | BPF_FUNC_tcp_sock FunctionId = 96 constant BPF_FUNC_skb_ecn_set_ce (line 404) | BPF_FUNC_skb_ecn_set_ce FunctionId = 97 constant BPF_FUNC_get_listener_sock (line 405) | BPF_FUNC_get_listener_sock FunctionId = 98 constant BPF_FUNC_skc_lookup_tcp (line 406) | BPF_FUNC_skc_lookup_tcp FunctionId = 99 constant BPF_FUNC_tcp_check_syncookie (line 407) | BPF_FUNC_tcp_check_syncookie FunctionId = 100 constant BPF_FUNC_sysctl_get_name (line 408) | BPF_FUNC_sysctl_get_name FunctionId = 101 constant BPF_FUNC_sysctl_get_current_value (line 409) | BPF_FUNC_sysctl_get_current_value FunctionId = 102 constant BPF_FUNC_sysctl_get_new_value (line 410) | BPF_FUNC_sysctl_get_new_value FunctionId = 103 constant BPF_FUNC_sysctl_set_new_value (line 411) | BPF_FUNC_sysctl_set_new_value FunctionId = 104 constant BPF_FUNC_strtol (line 412) | BPF_FUNC_strtol FunctionId = 105 constant BPF_FUNC_strtoul (line 413) | BPF_FUNC_strtoul FunctionId = 106 constant BPF_FUNC_sk_storage_get (line 414) | BPF_FUNC_sk_storage_get FunctionId = 107 constant BPF_FUNC_sk_storage_delete (line 415) | BPF_FUNC_sk_storage_delete FunctionId = 108 constant BPF_FUNC_send_signal (line 416) | BPF_FUNC_send_signal FunctionId = 109 constant BPF_FUNC_tcp_gen_syncookie (line 417) | BPF_FUNC_tcp_gen_syncookie FunctionId = 110 constant BPF_FUNC_skb_output (line 418) | BPF_FUNC_skb_output FunctionId = 111 constant BPF_FUNC_probe_read_user (line 419) | BPF_FUNC_probe_read_user FunctionId = 112 constant BPF_FUNC_probe_read_kernel (line 420) | BPF_FUNC_probe_read_kernel FunctionId = 113 constant BPF_FUNC_probe_read_user_str (line 421) | BPF_FUNC_probe_read_user_str FunctionId = 114 constant BPF_FUNC_probe_read_kernel_str (line 422) | BPF_FUNC_probe_read_kernel_str FunctionId = 115 constant BPF_FUNC_tcp_send_ack (line 423) | BPF_FUNC_tcp_send_ack FunctionId = 116 constant BPF_FUNC_send_signal_thread (line 424) | BPF_FUNC_send_signal_thread FunctionId = 117 constant BPF_FUNC_jiffies64 (line 425) | BPF_FUNC_jiffies64 FunctionId = 118 constant BPF_FUNC_read_branch_records (line 426) | BPF_FUNC_read_branch_records FunctionId = 119 constant BPF_FUNC_get_ns_current_pid_tgid (line 427) | BPF_FUNC_get_ns_current_pid_tgid FunctionId = 120 constant BPF_FUNC_xdp_output (line 428) | BPF_FUNC_xdp_output FunctionId = 121 constant BPF_FUNC_get_netns_cookie (line 429) | BPF_FUNC_get_netns_cookie FunctionId = 122 constant BPF_FUNC_get_current_ancestor_cgroup_id (line 430) | BPF_FUNC_get_current_ancestor_cgroup_id FunctionId = 123 constant BPF_FUNC_sk_assign (line 431) | BPF_FUNC_sk_assign FunctionId = 124 constant BPF_FUNC_ktime_get_boot_ns (line 432) | BPF_FUNC_ktime_get_boot_ns FunctionId = 125 constant BPF_FUNC_seq_printf (line 433) | BPF_FUNC_seq_printf FunctionId = 126 constant BPF_FUNC_seq_write (line 434) | BPF_FUNC_seq_write FunctionId = 127 constant BPF_FUNC_sk_cgroup_id (line 435) | BPF_FUNC_sk_cgroup_id FunctionId = 128 constant BPF_FUNC_sk_ancestor_cgroup_id (line 436) | BPF_FUNC_sk_ancestor_cgroup_id FunctionId = 129 constant BPF_FUNC_ringbuf_output (line 437) | BPF_FUNC_ringbuf_output FunctionId = 130 constant BPF_FUNC_ringbuf_reserve (line 438) | BPF_FUNC_ringbuf_reserve FunctionId = 131 constant BPF_FUNC_ringbuf_submit (line 439) | BPF_FUNC_ringbuf_submit FunctionId = 132 constant BPF_FUNC_ringbuf_discard (line 440) | BPF_FUNC_ringbuf_discard FunctionId = 133 constant BPF_FUNC_ringbuf_query (line 441) | BPF_FUNC_ringbuf_query FunctionId = 134 constant BPF_FUNC_csum_level (line 442) | BPF_FUNC_csum_level FunctionId = 135 constant BPF_FUNC_skc_to_tcp6_sock (line 443) | BPF_FUNC_skc_to_tcp6_sock FunctionId = 136 constant BPF_FUNC_skc_to_tcp_sock (line 444) | BPF_FUNC_skc_to_tcp_sock FunctionId = 137 constant BPF_FUNC_skc_to_tcp_timewait_sock (line 445) | BPF_FUNC_skc_to_tcp_timewait_sock FunctionId = 138 constant BPF_FUNC_skc_to_tcp_request_sock (line 446) | BPF_FUNC_skc_to_tcp_request_sock FunctionId = 139 constant BPF_FUNC_skc_to_udp6_sock (line 447) | BPF_FUNC_skc_to_udp6_sock FunctionId = 140 constant BPF_FUNC_get_task_stack (line 448) | BPF_FUNC_get_task_stack FunctionId = 141 constant BPF_FUNC_load_hdr_opt (line 449) | BPF_FUNC_load_hdr_opt FunctionId = 142 constant BPF_FUNC_store_hdr_opt (line 450) | BPF_FUNC_store_hdr_opt FunctionId = 143 constant BPF_FUNC_reserve_hdr_opt (line 451) | BPF_FUNC_reserve_hdr_opt FunctionId = 144 constant BPF_FUNC_inode_storage_get (line 452) | BPF_FUNC_inode_storage_get FunctionId = 145 constant BPF_FUNC_inode_storage_delete (line 453) | BPF_FUNC_inode_storage_delete FunctionId = 146 constant BPF_FUNC_d_path (line 454) | BPF_FUNC_d_path FunctionId = 147 constant BPF_FUNC_copy_from_user (line 455) | BPF_FUNC_copy_from_user FunctionId = 148 constant BPF_FUNC_snprintf_btf (line 456) | BPF_FUNC_snprintf_btf FunctionId = 149 constant BPF_FUNC_seq_printf_btf (line 457) | BPF_FUNC_seq_printf_btf FunctionId = 150 constant BPF_FUNC_skb_cgroup_classid (line 458) | BPF_FUNC_skb_cgroup_classid FunctionId = 151 constant BPF_FUNC_redirect_neigh (line 459) | BPF_FUNC_redirect_neigh FunctionId = 152 constant BPF_FUNC_per_cpu_ptr (line 460) | BPF_FUNC_per_cpu_ptr FunctionId = 153 constant BPF_FUNC_this_cpu_ptr (line 461) | BPF_FUNC_this_cpu_ptr FunctionId = 154 constant BPF_FUNC_redirect_peer (line 462) | BPF_FUNC_redirect_peer FunctionId = 155 constant BPF_FUNC_task_storage_get (line 463) | BPF_FUNC_task_storage_get FunctionId = 156 constant BPF_FUNC_task_storage_delete (line 464) | BPF_FUNC_task_storage_delete FunctionId = 157 constant BPF_FUNC_get_current_task_btf (line 465) | BPF_FUNC_get_current_task_btf FunctionId = 158 constant BPF_FUNC_bprm_opts_set (line 466) | BPF_FUNC_bprm_opts_set FunctionId = 159 constant BPF_FUNC_ktime_get_coarse_ns (line 467) | BPF_FUNC_ktime_get_coarse_ns FunctionId = 160 constant BPF_FUNC_ima_inode_hash (line 468) | BPF_FUNC_ima_inode_hash FunctionId = 161 constant BPF_FUNC_sock_from_file (line 469) | BPF_FUNC_sock_from_file FunctionId = 162 constant BPF_FUNC_check_mtu (line 470) | BPF_FUNC_check_mtu FunctionId = 163 constant BPF_FUNC_for_each_map_elem (line 471) | BPF_FUNC_for_each_map_elem FunctionId = 164 constant BPF_FUNC_snprintf (line 472) | BPF_FUNC_snprintf FunctionId = 165 constant BPF_FUNC_sys_bpf (line 473) | BPF_FUNC_sys_bpf FunctionId = 166 constant BPF_FUNC_btf_find_by_name_kind (line 474) | BPF_FUNC_btf_find_by_name_kind FunctionId = 167 constant BPF_FUNC_sys_close (line 475) | BPF_FUNC_sys_close FunctionId = 168 constant BPF_FUNC_timer_init (line 476) | BPF_FUNC_timer_init FunctionId = 169 constant BPF_FUNC_timer_set_callback (line 477) | BPF_FUNC_timer_set_callback FunctionId = 170 constant BPF_FUNC_timer_start (line 478) | BPF_FUNC_timer_start FunctionId = 171 constant BPF_FUNC_timer_cancel (line 479) | BPF_FUNC_timer_cancel FunctionId = 172 constant BPF_FUNC_get_func_ip (line 480) | BPF_FUNC_get_func_ip FunctionId = 173 constant BPF_FUNC_get_attach_cookie (line 481) | BPF_FUNC_get_attach_cookie FunctionId = 174 constant BPF_FUNC_task_pt_regs (line 482) | BPF_FUNC_task_pt_regs FunctionId = 175 constant BPF_FUNC_get_branch_snapshot (line 483) | BPF_FUNC_get_branch_snapshot FunctionId = 176 constant BPF_FUNC_trace_vprintk (line 484) | BPF_FUNC_trace_vprintk FunctionId = 177 constant BPF_FUNC_skc_to_unix_sock (line 485) | BPF_FUNC_skc_to_unix_sock FunctionId = 178 constant BPF_FUNC_kallsyms_lookup_name (line 486) | BPF_FUNC_kallsyms_lookup_name FunctionId = 179 constant BPF_FUNC_find_vma (line 487) | BPF_FUNC_find_vma FunctionId = 180 constant BPF_FUNC_loop (line 488) | BPF_FUNC_loop FunctionId = 181 constant BPF_FUNC_strncmp (line 489) | BPF_FUNC_strncmp FunctionId = 182 constant BPF_FUNC_get_func_arg (line 490) | BPF_FUNC_get_func_arg FunctionId = 183 constant BPF_FUNC_get_func_ret (line 491) | BPF_FUNC_get_func_ret FunctionId = 184 constant BPF_FUNC_get_func_arg_cnt (line 492) | BPF_FUNC_get_func_arg_cnt FunctionId = 185 constant BPF_FUNC_get_retval (line 493) | BPF_FUNC_get_retval FunctionId = 186 constant BPF_FUNC_set_retval (line 494) | BPF_FUNC_set_retval FunctionId = 187 constant BPF_FUNC_xdp_get_buff_len (line 495) | BPF_FUNC_xdp_get_buff_len FunctionId = 188 constant BPF_FUNC_xdp_load_bytes (line 496) | BPF_FUNC_xdp_load_bytes FunctionId = 189 constant BPF_FUNC_xdp_store_bytes (line 497) | BPF_FUNC_xdp_store_bytes FunctionId = 190 constant BPF_FUNC_copy_from_user_task (line 498) | BPF_FUNC_copy_from_user_task FunctionId = 191 constant BPF_FUNC_skb_set_tstamp (line 499) | BPF_FUNC_skb_set_tstamp FunctionId = 192 constant BPF_FUNC_ima_file_hash (line 500) | BPF_FUNC_ima_file_hash FunctionId = 193 constant BPF_FUNC_kptr_xchg (line 501) | BPF_FUNC_kptr_xchg FunctionId = 194 constant BPF_FUNC_map_lookup_percpu_elem (line 502) | BPF_FUNC_map_lookup_percpu_elem FunctionId = 195 constant BPF_FUNC_skc_to_mptcp_sock (line 503) | BPF_FUNC_skc_to_mptcp_sock FunctionId = 196 constant BPF_FUNC_dynptr_from_mem (line 504) | BPF_FUNC_dynptr_from_mem FunctionId = 197 constant BPF_FUNC_ringbuf_reserve_dynptr (line 505) | BPF_FUNC_ringbuf_reserve_dynptr FunctionId = 198 constant BPF_FUNC_ringbuf_submit_dynptr (line 506) | BPF_FUNC_ringbuf_submit_dynptr FunctionId = 199 constant BPF_FUNC_ringbuf_discard_dynptr (line 507) | BPF_FUNC_ringbuf_discard_dynptr FunctionId = 200 constant BPF_FUNC_dynptr_read (line 508) | BPF_FUNC_dynptr_read FunctionId = 201 constant BPF_FUNC_dynptr_write (line 509) | BPF_FUNC_dynptr_write FunctionId = 202 constant BPF_FUNC_dynptr_data (line 510) | BPF_FUNC_dynptr_data FunctionId = 203 constant BPF_FUNC_tcp_raw_gen_syncookie_ipv4 (line 511) | BPF_FUNC_tcp_raw_gen_syncookie_ipv4 FunctionId = 204 constant BPF_FUNC_tcp_raw_gen_syncookie_ipv6 (line 512) | BPF_FUNC_tcp_raw_gen_syncookie_ipv6 FunctionId = 205 constant BPF_FUNC_tcp_raw_check_syncookie_ipv4 (line 513) | BPF_FUNC_tcp_raw_check_syncookie_ipv4 FunctionId = 206 constant BPF_FUNC_tcp_raw_check_syncookie_ipv6 (line 514) | BPF_FUNC_tcp_raw_check_syncookie_ipv6 FunctionId = 207 constant BPF_FUNC_ktime_get_tai_ns (line 515) | BPF_FUNC_ktime_get_tai_ns FunctionId = 208 constant BPF_FUNC_user_ringbuf_drain (line 516) | BPF_FUNC_user_ringbuf_drain FunctionId = 209 constant BPF_FUNC_cgrp_storage_get (line 517) | BPF_FUNC_cgrp_storage_get FunctionId = 210 constant BPF_FUNC_cgrp_storage_delete (line 518) | BPF_FUNC_cgrp_storage_delete FunctionId = 211 constant __BPF_FUNC_MAX_ID (line 519) | __BPF_FUNC_MAX_ID FunctionId = 212 type HdrStartOff (line 522) | type HdrStartOff constant BPF_HDR_START_MAC (line 525) | BPF_HDR_START_MAC HdrStartOff = 0 constant BPF_HDR_START_NET (line 526) | BPF_HDR_START_NET HdrStartOff = 1 type LinkType (line 529) | type LinkType constant BPF_LINK_TYPE_UNSPEC (line 532) | BPF_LINK_TYPE_UNSPEC LinkType = 0 constant BPF_LINK_TYPE_RAW_TRACEPOINT (line 533) | BPF_LINK_TYPE_RAW_TRACEPOINT LinkType = 1 constant BPF_LINK_TYPE_TRACING (line 534) | BPF_LINK_TYPE_TRACING LinkType = 2 constant BPF_LINK_TYPE_CGROUP (line 535) | BPF_LINK_TYPE_CGROUP LinkType = 3 constant BPF_LINK_TYPE_ITER (line 536) | BPF_LINK_TYPE_ITER LinkType = 4 constant BPF_LINK_TYPE_NETNS (line 537) | BPF_LINK_TYPE_NETNS LinkType = 5 constant BPF_LINK_TYPE_XDP (line 538) | BPF_LINK_TYPE_XDP LinkType = 6 constant BPF_LINK_TYPE_PERF_EVENT (line 539) | BPF_LINK_TYPE_PERF_EVENT LinkType = 7 constant BPF_LINK_TYPE_KPROBE_MULTI (line 540) | BPF_LINK_TYPE_KPROBE_MULTI LinkType = 8 constant BPF_LINK_TYPE_STRUCT_OPS (line 541) | BPF_LINK_TYPE_STRUCT_OPS LinkType = 9 constant BPF_LINK_TYPE_NETFILTER (line 542) | BPF_LINK_TYPE_NETFILTER LinkType = 10 constant BPF_LINK_TYPE_TCX (line 543) | BPF_LINK_TYPE_TCX LinkType = 11 constant BPF_LINK_TYPE_UPROBE_MULTI (line 544) | BPF_LINK_TYPE_UPROBE_MULTI LinkType = 12 constant BPF_LINK_TYPE_NETKIT (line 545) | BPF_LINK_TYPE_NETKIT LinkType = 13 constant BPF_LINK_TYPE_SOCKMAP (line 546) | BPF_LINK_TYPE_SOCKMAP LinkType = 14 constant __MAX_BPF_LINK_TYPE (line 547) | __MAX_BPF_LINK_TYPE LinkType = 15 type MapType (line 550) | type MapType constant BPF_MAP_TYPE_UNSPEC (line 553) | BPF_MAP_TYPE_UNSPEC MapType = 0 constant BPF_MAP_TYPE_HASH (line 554) | BPF_MAP_TYPE_HASH MapType = 1 constant BPF_MAP_TYPE_ARRAY (line 555) | BPF_MAP_TYPE_ARRAY MapType = 2 constant BPF_MAP_TYPE_PROG_ARRAY (line 556) | BPF_MAP_TYPE_PROG_ARRAY MapType = 3 constant BPF_MAP_TYPE_PERF_EVENT_ARRAY (line 557) | BPF_MAP_TYPE_PERF_EVENT_ARRAY MapType = 4 constant BPF_MAP_TYPE_PERCPU_HASH (line 558) | BPF_MAP_TYPE_PERCPU_HASH MapType = 5 constant BPF_MAP_TYPE_PERCPU_ARRAY (line 559) | BPF_MAP_TYPE_PERCPU_ARRAY MapType = 6 constant BPF_MAP_TYPE_STACK_TRACE (line 560) | BPF_MAP_TYPE_STACK_TRACE MapType = 7 constant BPF_MAP_TYPE_CGROUP_ARRAY (line 561) | BPF_MAP_TYPE_CGROUP_ARRAY MapType = 8 constant BPF_MAP_TYPE_LRU_HASH (line 562) | BPF_MAP_TYPE_LRU_HASH MapType = 9 constant BPF_MAP_TYPE_LRU_PERCPU_HASH (line 563) | BPF_MAP_TYPE_LRU_PERCPU_HASH MapType = 10 constant BPF_MAP_TYPE_LPM_TRIE (line 564) | BPF_MAP_TYPE_LPM_TRIE MapType = 11 constant BPF_MAP_TYPE_ARRAY_OF_MAPS (line 565) | BPF_MAP_TYPE_ARRAY_OF_MAPS MapType = 12 constant BPF_MAP_TYPE_HASH_OF_MAPS (line 566) | BPF_MAP_TYPE_HASH_OF_MAPS MapType = 13 constant BPF_MAP_TYPE_DEVMAP (line 567) | BPF_MAP_TYPE_DEVMAP MapType = 14 constant BPF_MAP_TYPE_SOCKMAP (line 568) | BPF_MAP_TYPE_SOCKMAP MapType = 15 constant BPF_MAP_TYPE_CPUMAP (line 569) | BPF_MAP_TYPE_CPUMAP MapType = 16 constant BPF_MAP_TYPE_XSKMAP (line 570) | BPF_MAP_TYPE_XSKMAP MapType = 17 constant BPF_MAP_TYPE_SOCKHASH (line 571) | BPF_MAP_TYPE_SOCKHASH MapType = 18 constant BPF_MAP_TYPE_CGROUP_STORAGE_DEPRECATED (line 572) | BPF_MAP_TYPE_CGROUP_STORAGE_DEPRECATED MapType = 19 constant BPF_MAP_TYPE_CGROUP_STORAGE (line 573) | BPF_MAP_TYPE_CGROUP_STORAGE MapType = 19 constant BPF_MAP_TYPE_REUSEPORT_SOCKARRAY (line 574) | BPF_MAP_TYPE_REUSEPORT_SOCKARRAY MapType = 20 constant BPF_MAP_TYPE_PERCPU_CGROUP_STORAGE_DEPRECATED (line 575) | BPF_MAP_TYPE_PERCPU_CGROUP_STORAGE_DEPRECATED MapType = 21 constant BPF_MAP_TYPE_PERCPU_CGROUP_STORAGE (line 576) | BPF_MAP_TYPE_PERCPU_CGROUP_STORAGE MapType = 21 constant BPF_MAP_TYPE_QUEUE (line 577) | BPF_MAP_TYPE_QUEUE MapType = 22 constant BPF_MAP_TYPE_STACK (line 578) | BPF_MAP_TYPE_STACK MapType = 23 constant BPF_MAP_TYPE_SK_STORAGE (line 579) | BPF_MAP_TYPE_SK_STORAGE MapType = 24 constant BPF_MAP_TYPE_DEVMAP_HASH (line 580) | BPF_MAP_TYPE_DEVMAP_HASH MapType = 25 constant BPF_MAP_TYPE_STRUCT_OPS (line 581) | BPF_MAP_TYPE_STRUCT_OPS MapType = 26 constant BPF_MAP_TYPE_RINGBUF (line 582) | BPF_MAP_TYPE_RINGBUF MapType = 27 constant BPF_MAP_TYPE_INODE_STORAGE (line 583) | BPF_MAP_TYPE_INODE_STORAGE MapType = 28 constant BPF_MAP_TYPE_TASK_STORAGE (line 584) | BPF_MAP_TYPE_TASK_STORAGE MapType = 29 constant BPF_MAP_TYPE_BLOOM_FILTER (line 585) | BPF_MAP_TYPE_BLOOM_FILTER MapType = 30 constant BPF_MAP_TYPE_USER_RINGBUF (line 586) | BPF_MAP_TYPE_USER_RINGBUF MapType = 31 constant BPF_MAP_TYPE_CGRP_STORAGE (line 587) | BPF_MAP_TYPE_CGRP_STORAGE MapType = 32 constant BPF_MAP_TYPE_ARENA (line 588) | BPF_MAP_TYPE_ARENA MapType = 33 constant __MAX_BPF_MAP_TYPE (line 589) | __MAX_BPF_MAP_TYPE MapType = 34 type NetfilterInetHook (line 592) | type NetfilterInetHook constant NF_INET_PRE_ROUTING (line 595) | NF_INET_PRE_ROUTING NetfilterInetHook = 0 constant NF_INET_LOCAL_IN (line 596) | NF_INET_LOCAL_IN NetfilterInetHook = 1 constant NF_INET_FORWARD (line 597) | NF_INET_FORWARD NetfilterInetHook = 2 constant NF_INET_LOCAL_OUT (line 598) | NF_INET_LOCAL_OUT NetfilterInetHook = 3 constant NF_INET_POST_ROUTING (line 599) | NF_INET_POST_ROUTING NetfilterInetHook = 4 constant NF_INET_NUMHOOKS (line 600) | NF_INET_NUMHOOKS NetfilterInetHook = 5 constant NF_INET_INGRESS (line 601) | NF_INET_INGRESS NetfilterInetHook = 5 type ObjType (line 604) | type ObjType constant BPF_TYPE_UNSPEC (line 607) | BPF_TYPE_UNSPEC ObjType = 0 constant BPF_TYPE_PROG (line 608) | BPF_TYPE_PROG ObjType = 1 constant BPF_TYPE_MAP (line 609) | BPF_TYPE_MAP ObjType = 2 constant BPF_TYPE_LINK (line 610) | BPF_TYPE_LINK ObjType = 3 type PerfEventType (line 613) | type PerfEventType constant BPF_PERF_EVENT_UNSPEC (line 616) | BPF_PERF_EVENT_UNSPEC PerfEventType = 0 constant BPF_PERF_EVENT_UPROBE (line 617) | BPF_PERF_EVENT_UPROBE PerfEventType = 1 constant BPF_PERF_EVENT_URETPROBE (line 618) | BPF_PERF_EVENT_URETPROBE PerfEventType = 2 constant BPF_PERF_EVENT_KPROBE (line 619) | BPF_PERF_EVENT_KPROBE PerfEventType = 3 constant BPF_PERF_EVENT_KRETPROBE (line 620) | BPF_PERF_EVENT_KRETPROBE PerfEventType = 4 constant BPF_PERF_EVENT_TRACEPOINT (line 621) | BPF_PERF_EVENT_TRACEPOINT PerfEventType = 5 constant BPF_PERF_EVENT_EVENT (line 622) | BPF_PERF_EVENT_EVENT PerfEventType = 6 type ProgType (line 625) | type ProgType constant BPF_PROG_TYPE_UNSPEC (line 628) | BPF_PROG_TYPE_UNSPEC ProgType = 0 constant BPF_PROG_TYPE_SOCKET_FILTER (line 629) | BPF_PROG_TYPE_SOCKET_FILTER ProgType = 1 constant BPF_PROG_TYPE_KPROBE (line 630) | BPF_PROG_TYPE_KPROBE ProgType = 2 constant BPF_PROG_TYPE_SCHED_CLS (line 631) | BPF_PROG_TYPE_SCHED_CLS ProgType = 3 constant BPF_PROG_TYPE_SCHED_ACT (line 632) | BPF_PROG_TYPE_SCHED_ACT ProgType = 4 constant BPF_PROG_TYPE_TRACEPOINT (line 633) | BPF_PROG_TYPE_TRACEPOINT ProgType = 5 constant BPF_PROG_TYPE_XDP (line 634) | BPF_PROG_TYPE_XDP ProgType = 6 constant BPF_PROG_TYPE_PERF_EVENT (line 635) | BPF_PROG_TYPE_PERF_EVENT ProgType = 7 constant BPF_PROG_TYPE_CGROUP_SKB (line 636) | BPF_PROG_TYPE_CGROUP_SKB ProgType = 8 constant BPF_PROG_TYPE_CGROUP_SOCK (line 637) | BPF_PROG_TYPE_CGROUP_SOCK ProgType = 9 constant BPF_PROG_TYPE_LWT_IN (line 638) | BPF_PROG_TYPE_LWT_IN ProgType = 10 constant BPF_PROG_TYPE_LWT_OUT (line 639) | BPF_PROG_TYPE_LWT_OUT ProgType = 11 constant BPF_PROG_TYPE_LWT_XMIT (line 640) | BPF_PROG_TYPE_LWT_XMIT ProgType = 12 constant BPF_PROG_TYPE_SOCK_OPS (line 641) | BPF_PROG_TYPE_SOCK_OPS ProgType = 13 constant BPF_PROG_TYPE_SK_SKB (line 642) | BPF_PROG_TYPE_SK_SKB ProgType = 14 constant BPF_PROG_TYPE_CGROUP_DEVICE (line 643) | BPF_PROG_TYPE_CGROUP_DEVICE ProgType = 15 constant BPF_PROG_TYPE_SK_MSG (line 644) | BPF_PROG_TYPE_SK_MSG ProgType = 16 constant BPF_PROG_TYPE_RAW_TRACEPOINT (line 645) | BPF_PROG_TYPE_RAW_TRACEPOINT ProgType = 17 constant BPF_PROG_TYPE_CGROUP_SOCK_ADDR (line 646) | BPF_PROG_TYPE_CGROUP_SOCK_ADDR ProgType = 18 constant BPF_PROG_TYPE_LWT_SEG6LOCAL (line 647) | BPF_PROG_TYPE_LWT_SEG6LOCAL ProgType = 19 constant BPF_PROG_TYPE_LIRC_MODE2 (line 648) | BPF_PROG_TYPE_LIRC_MODE2 ProgType = 20 constant BPF_PROG_TYPE_SK_REUSEPORT (line 649) | BPF_PROG_TYPE_SK_REUSEPORT ProgType = 21 constant BPF_PROG_TYPE_FLOW_DISSECTOR (line 650) | BPF_PROG_TYPE_FLOW_DISSECTOR ProgType = 22 constant BPF_PROG_TYPE_CGROUP_SYSCTL (line 651) | BPF_PROG_TYPE_CGROUP_SYSCTL ProgType = 23 constant BPF_PROG_TYPE_RAW_TRACEPOINT_WRITABLE (line 652) | BPF_PROG_TYPE_RAW_TRACEPOINT_WRITABLE ProgType = 24 constant BPF_PROG_TYPE_CGROUP_SOCKOPT (line 653) | BPF_PROG_TYPE_CGROUP_SOCKOPT ProgType = 25 constant BPF_PROG_TYPE_TRACING (line 654) | BPF_PROG_TYPE_TRACING ProgType = 26 constant BPF_PROG_TYPE_STRUCT_OPS (line 655) | BPF_PROG_TYPE_STRUCT_OPS ProgType = 27 constant BPF_PROG_TYPE_EXT (line 656) | BPF_PROG_TYPE_EXT ProgType = 28 constant BPF_PROG_TYPE_LSM (line 657) | BPF_PROG_TYPE_LSM ProgType = 29 constant BPF_PROG_TYPE_SK_LOOKUP (line 658) | BPF_PROG_TYPE_SK_LOOKUP ProgType = 30 constant BPF_PROG_TYPE_SYSCALL (line 659) | BPF_PROG_TYPE_SYSCALL ProgType = 31 constant BPF_PROG_TYPE_NETFILTER (line 660) | BPF_PROG_TYPE_NETFILTER ProgType = 32 constant __MAX_BPF_PROG_TYPE (line 661) | __MAX_BPF_PROG_TYPE ProgType = 33 type RetCode (line 664) | type RetCode constant BPF_OK (line 667) | BPF_OK RetCode = 0 constant BPF_DROP (line 668) | BPF_DROP RetCode = 2 constant BPF_REDIRECT (line 669) | BPF_REDIRECT RetCode = 7 constant BPF_LWT_REROUTE (line 670) | BPF_LWT_REROUTE RetCode = 128 constant BPF_FLOW_DISSECTOR_CONTINUE (line 671) | BPF_FLOW_DISSECTOR_CONTINUE RetCode = 129 type SkAction (line 674) | type SkAction constant SK_DROP (line 677) | SK_DROP SkAction = 0 constant SK_PASS (line 678) | SK_PASS SkAction = 1 type StackBuildIdStatus (line 681) | type StackBuildIdStatus constant BPF_STACK_BUILD_ID_EMPTY (line 684) | BPF_STACK_BUILD_ID_EMPTY StackBuildIdStatus = 0 constant BPF_STACK_BUILD_ID_VALID (line 685) | BPF_STACK_BUILD_ID_VALID StackBuildIdStatus = 1 constant BPF_STACK_BUILD_ID_IP (line 686) | BPF_STACK_BUILD_ID_IP StackBuildIdStatus = 2 type StatsType (line 689) | type StatsType constant BPF_STATS_RUN_TIME (line 692) | BPF_STATS_RUN_TIME StatsType = 0 type TcxActionBase (line 695) | type TcxActionBase constant TCX_NEXT (line 698) | TCX_NEXT TcxActionBase = -1 constant TCX_PASS (line 699) | TCX_PASS TcxActionBase = 0 constant TCX_DROP (line 700) | TCX_DROP TcxActionBase = 2 constant TCX_REDIRECT (line 701) | TCX_REDIRECT TcxActionBase = 7 type XdpAction (line 704) | type XdpAction constant XDP_ABORTED (line 707) | XDP_ABORTED XdpAction = 0 constant XDP_DROP (line 708) | XDP_DROP XdpAction = 1 constant XDP_PASS (line 709) | XDP_PASS XdpAction = 2 constant XDP_TX (line 710) | XDP_TX XdpAction = 3 constant XDP_REDIRECT (line 711) | XDP_REDIRECT XdpAction = 4 type NetfilterProtocolFamily (line 714) | type NetfilterProtocolFamily constant NFPROTO_UNSPEC (line 717) | NFPROTO_UNSPEC NetfilterProtocolFamily = 0 constant NFPROTO_INET (line 718) | NFPROTO_INET NetfilterProtocolFamily = 1 constant NFPROTO_IPV4 (line 719) | NFPROTO_IPV4 NetfilterProtocolFamily = 2 constant NFPROTO_ARP (line 720) | NFPROTO_ARP NetfilterProtocolFamily = 3 constant NFPROTO_NETDEV (line 721) | NFPROTO_NETDEV NetfilterProtocolFamily = 5 constant NFPROTO_BRIDGE (line 722) | NFPROTO_BRIDGE NetfilterProtocolFamily = 7 constant NFPROTO_IPV6 (line 723) | NFPROTO_IPV6 NetfilterProtocolFamily = 10 constant NFPROTO_NUMPROTO (line 724) | NFPROTO_NUMPROTO NetfilterProtocolFamily = 11 type BtfInfo (line 727) | type BtfInfo struct type FuncInfo (line 737) | type FuncInfo struct type LineInfo (line 743) | type LineInfo struct type LinkInfo (line 751) | type LinkInfo struct type MapInfo (line 760) | type MapInfo struct type ProgInfo (line 783) | type ProgInfo struct type SkLookup (line 826) | type SkLookup struct type XdpMd (line 842) | type XdpMd struct type BtfGetFdByIdAttr (line 852) | type BtfGetFdByIdAttr struct function BtfGetFdById (line 857) | func BtfGetFdById(attr *BtfGetFdByIdAttr) (*FD, error) { type BtfGetNextIdAttr (line 865) | type BtfGetNextIdAttr struct function BtfGetNextId (line 871) | func BtfGetNextId(attr *BtfGetNextIdAttr) error { type BtfLoadAttr (line 876) | type BtfLoadAttr struct function BtfLoad (line 888) | func BtfLoad(attr *BtfLoadAttr) (*FD, error) { type EnableStatsAttr (line 896) | type EnableStatsAttr struct function EnableStats (line 901) | func EnableStats(attr *EnableStatsAttr) (*FD, error) { type IterCreateAttr (line 909) | type IterCreateAttr struct function IterCreate (line 915) | func IterCreate(attr *IterCreateAttr) (*FD, error) { type LinkCreateAttr (line 923) | type LinkCreateAttr struct function LinkCreate (line 933) | func LinkCreate(attr *LinkCreateAttr) (*FD, error) { type LinkCreateIterAttr (line 941) | type LinkCreateIterAttr struct function LinkCreateIter (line 952) | func LinkCreateIter(attr *LinkCreateIterAttr) (*FD, error) { type LinkCreateKprobeMultiAttr (line 960) | type LinkCreateKprobeMultiAttr struct function LinkCreateKprobeMulti (line 974) | func LinkCreateKprobeMulti(attr *LinkCreateKprobeMultiAttr) (*FD, error) { type LinkCreateNetfilterAttr (line 982) | type LinkCreateNetfilterAttr struct function LinkCreateNetfilter (line 995) | func LinkCreateNetfilter(attr *LinkCreateNetfilterAttr) (*FD, error) { type LinkCreateNetkitAttr (line 1003) | type LinkCreateNetkitAttr struct function LinkCreateNetkit (line 1015) | func LinkCreateNetkit(attr *LinkCreateNetkitAttr) (*FD, error) { type LinkCreatePerfEventAttr (line 1023) | type LinkCreatePerfEventAttr struct function LinkCreatePerfEvent (line 1033) | func LinkCreatePerfEvent(attr *LinkCreatePerfEventAttr) (*FD, error) { type LinkCreateTcxAttr (line 1041) | type LinkCreateTcxAttr struct function LinkCreateTcx (line 1053) | func LinkCreateTcx(attr *LinkCreateTcxAttr) (*FD, error) { type LinkCreateTracingAttr (line 1061) | type LinkCreateTracingAttr struct function LinkCreateTracing (line 1073) | func LinkCreateTracing(attr *LinkCreateTracingAttr) (*FD, error) { type LinkCreateUprobeMultiAttr (line 1081) | type LinkCreateUprobeMultiAttr struct function LinkCreateUprobeMulti (line 1097) | func LinkCreateUprobeMulti(attr *LinkCreateUprobeMultiAttr) (*FD, error) { type LinkDetachAttr (line 1105) | type LinkDetachAttr struct function LinkDetach (line 1110) | func LinkDetach(attr *LinkDetachAttr) error { type LinkGetFdByIdAttr (line 1115) | type LinkGetFdByIdAttr struct function LinkGetFdById (line 1120) | func LinkGetFdById(attr *LinkGetFdByIdAttr) (*FD, error) { type LinkGetNextIdAttr (line 1128) | type LinkGetNextIdAttr struct function LinkGetNextId (line 1134) | func LinkGetNextId(attr *LinkGetNextIdAttr) error { type LinkUpdateAttr (line 1139) | type LinkUpdateAttr struct function LinkUpdate (line 1147) | func LinkUpdate(attr *LinkUpdateAttr) error { type MapCreateAttr (line 1152) | type MapCreateAttr struct function MapCreate (line 1175) | func MapCreate(attr *MapCreateAttr) (*FD, error) { type MapDeleteBatchAttr (line 1183) | type MapDeleteBatchAttr struct function MapDeleteBatch (line 1195) | func MapDeleteBatch(attr *MapDeleteBatchAttr) error { type MapDeleteElemAttr (line 1200) | type MapDeleteElemAttr struct function MapDeleteElem (line 1209) | func MapDeleteElem(attr *MapDeleteElemAttr) error { type MapFreezeAttr (line 1214) | type MapFreezeAttr struct function MapFreeze (line 1219) | func MapFreeze(attr *MapFreezeAttr) error { type MapGetFdByIdAttr (line 1224) | type MapGetFdByIdAttr struct function MapGetFdById (line 1229) | func MapGetFdById(attr *MapGetFdByIdAttr) (*FD, error) { type MapGetNextIdAttr (line 1237) | type MapGetNextIdAttr struct function MapGetNextId (line 1243) | func MapGetNextId(attr *MapGetNextIdAttr) error { type MapGetNextKeyAttr (line 1248) | type MapGetNextKeyAttr struct function MapGetNextKey (line 1256) | func MapGetNextKey(attr *MapGetNextKeyAttr) error { type MapLookupAndDeleteBatchAttr (line 1261) | type MapLookupAndDeleteBatchAttr struct function MapLookupAndDeleteBatch (line 1273) | func MapLookupAndDeleteBatch(attr *MapLookupAndDeleteBatchAttr) error { type MapLookupAndDeleteElemAttr (line 1278) | type MapLookupAndDeleteElemAttr struct function MapLookupAndDeleteElem (line 1287) | func MapLookupAndDeleteElem(attr *MapLookupAndDeleteElemAttr) error { type MapLookupBatchAttr (line 1292) | type MapLookupBatchAttr struct function MapLookupBatch (line 1304) | func MapLookupBatch(attr *MapLookupBatchAttr) error { type MapLookupElemAttr (line 1309) | type MapLookupElemAttr struct function MapLookupElem (line 1318) | func MapLookupElem(attr *MapLookupElemAttr) error { type MapUpdateBatchAttr (line 1323) | type MapUpdateBatchAttr struct function MapUpdateBatch (line 1335) | func MapUpdateBatch(attr *MapUpdateBatchAttr) error { type MapUpdateElemAttr (line 1340) | type MapUpdateElemAttr struct function MapUpdateElem (line 1349) | func MapUpdateElem(attr *MapUpdateElemAttr) error { type ObjGetAttr (line 1354) | type ObjGetAttr struct function ObjGet (line 1363) | func ObjGet(attr *ObjGetAttr) (*FD, error) { type ObjGetInfoByFdAttr (line 1371) | type ObjGetInfoByFdAttr struct function ObjGetInfoByFd (line 1378) | func ObjGetInfoByFd(attr *ObjGetInfoByFdAttr) error { type ObjPinAttr (line 1383) | type ObjPinAttr struct function ObjPin (line 1392) | func ObjPin(attr *ObjPinAttr) error { type ProgAttachAttr (line 1397) | type ProgAttachAttr struct function ProgAttach (line 1408) | func ProgAttach(attr *ProgAttachAttr) error { type ProgBindMapAttr (line 1413) | type ProgBindMapAttr struct function ProgBindMap (line 1420) | func ProgBindMap(attr *ProgBindMapAttr) error { type ProgDetachAttr (line 1425) | type ProgDetachAttr struct function ProgDetach (line 1436) | func ProgDetach(attr *ProgDetachAttr) error { type ProgGetFdByIdAttr (line 1441) | type ProgGetFdByIdAttr struct function ProgGetFdById (line 1446) | func ProgGetFdById(attr *ProgGetFdByIdAttr) (*FD, error) { type ProgGetNextIdAttr (line 1454) | type ProgGetNextIdAttr struct function ProgGetNextId (line 1460) | func ProgGetNextId(attr *ProgGetNextIdAttr) error { type ProgLoadAttr (line 1465) | type ProgLoadAttr struct function ProgLoad (line 1500) | func ProgLoad(attr *ProgLoadAttr) (*FD, error) { type ProgQueryAttr (line 1508) | type ProgQueryAttr struct function ProgQuery (line 1523) | func ProgQuery(attr *ProgQueryAttr) error { type ProgRunAttr (line 1528) | type ProgRunAttr struct function ProgRun (line 1548) | func ProgRun(attr *ProgRunAttr) error { type RawTracepointOpenAttr (line 1553) | type RawTracepointOpenAttr struct function RawTracepointOpen (line 1561) | func RawTracepointOpen(attr *RawTracepointOpenAttr) (*FD, error) { type CgroupLinkInfo (line 1569) | type CgroupLinkInfo struct type EventLinkInfo (line 1580) | type EventLinkInfo struct type IterLinkInfo (line 1595) | type IterLinkInfo struct type KprobeLinkInfo (line 1605) | type KprobeLinkInfo struct type KprobeMultiLinkInfo (line 1621) | type KprobeMultiLinkInfo struct type NetNsLinkInfo (line 1635) | type NetNsLinkInfo struct type NetfilterLinkInfo (line 1646) | type NetfilterLinkInfo struct type NetkitLinkInfo (line 1659) | type NetkitLinkInfo struct type PerfEventLinkInfo (line 1670) | type PerfEventLinkInfo struct type RawTracepointLinkInfo (line 1679) | type RawTracepointLinkInfo struct type TcxLinkInfo (line 1692) | type TcxLinkInfo struct type TracepointLinkInfo (line 1703) | type TracepointLinkInfo struct type TracingLinkInfo (line 1718) | type TracingLinkInfo struct type UprobeLinkInfo (line 1732) | type UprobeLinkInfo struct type UprobeMultiLinkInfo (line 1748) | type UprobeMultiLinkInfo struct type XDPLinkInfo (line 1764) | type XDPLinkInfo struct FILE: internal/sysenc/buffer.go type Buffer (line 9) | type Buffer struct method CopyTo (line 53) | func (b Buffer) CopyTo(dst []byte) int { method AppendTo (line 58) | func (b Buffer) AppendTo(dst []byte) []byte { method Pointer (line 63) | func (b Buffer) Pointer() sys.Pointer { method Unmarshal (line 70) | func (b Buffer) Unmarshal(data any) error { method Bytes (line 80) | func (b Buffer) Bytes() []byte { constant syscallPointerOnly (line 16) | syscallPointerOnly = -1 function newBuffer (line 18) | func newBuffer(buf []byte) Buffer { function UnsafeBuffer (line 29) | func UnsafeBuffer(ptr unsafe.Pointer) Buffer { function SyscallOutput (line 40) | func SyscallOutput(dst any, size int) Buffer { FILE: internal/sysenc/buffer_test.go function TestZeroBuffer (line 13) | func TestZeroBuffer(t *testing.T) { function TestUnsafeBuffer (line 21) | func TestUnsafeBuffer(t *testing.T) { FILE: internal/sysenc/layout.go function hasUnexportedFields (line 14) | func hasUnexportedFields(typ reflect.Type) bool { FILE: internal/sysenc/layout_test.go function TestHasUnexportedFields (line 11) | func TestHasUnexportedFields(t *testing.T) { FILE: internal/sysenc/marshal.go function Marshal (line 23) | func Marshal(data any, size int) (Buffer, error) { function Unmarshal (line 71) | func Unmarshal(data interface{}, buf []byte) error { function unsafeBackingMemory (line 109) | func unsafeBackingMemory(data any) []byte { FILE: internal/sysenc/marshal_test.go type testcase (line 17) | type testcase struct type struc (line 22) | type struc struct type explicitPad (line 27) | type explicitPad struct function testcases (line 31) | func testcases() []testcase { function TestMarshal (line 59) | func TestMarshal(t *testing.T) { function TestMarshalAllocations (line 77) | func TestMarshalAllocations(t *testing.T) { function TestUnmarshal (line 100) | func TestUnmarshal(t *testing.T) { function TestUnmarshalAllocations (line 117) | func TestUnmarshalAllocations(t *testing.T) { function TestUnsafeBackingMemory (line 140) | func TestUnsafeBackingMemory(t *testing.T) { function BenchmarkMarshal (line 246) | func BenchmarkMarshal(b *testing.B) { function BenchmarkUnmarshal (line 259) | func BenchmarkUnmarshal(b *testing.B) { function randomiseValue (line 277) | func randomiseValue(tb testing.TB, value any) []byte { function canUnmarshalInto (line 296) | func canUnmarshalInto(data any) bool { FILE: internal/testutils/bpffs_other.go function TempBPFFS (line 13) | func TempBPFFS(tb testing.TB) string { FILE: internal/testutils/bpffs_windows.go function TempBPFFS (line 17) | func TempBPFFS(tb testing.TB) string { FILE: internal/testutils/bpffs_windows_test.go function TestTempBPFFS (line 17) | func TestTempBPFFS(t *testing.T) { FILE: internal/testutils/cap.go type Capability (line 11) | type Capability constant CAP_NET_ADMIN (line 15) | CAP_NET_ADMIN Capability = 12 constant CAP_SYS_ADMIN (line 16) | CAP_SYS_ADMIN Capability = 21 constant CAP_SYS_RESOURCE (line 17) | CAP_SYS_RESOURCE Capability = 24 constant CAP_PERFMON (line 18) | CAP_PERFMON Capability = 38 constant CAP_BPF (line 19) | CAP_BPF Capability = 39 function WithCapabilities (line 35) | func WithCapabilities(tb testing.TB, caps []Capability, f func()) { type capUserData (line 68) | type capUserData struct function capget (line 74) | func capget() (capUserData, error) { function capset (line 92) | func capset(data capUserData) error { FILE: internal/testutils/cgroup.go function CreateCgroup (line 31) | func CreateCgroup(tb testing.TB) *os.File { function GetCgroupIno (line 57) | func GetCgroupIno(t *testing.T, cgroup *os.File) uint64 { FILE: internal/testutils/chan.go function WaitChan (line 10) | func WaitChan[T any](tb testing.TB, ch <-chan T, timeout time.Duration) { FILE: internal/testutils/checkers.go function Contains (line 14) | func Contains[T, I any](i I) bool { function IsDeepCopy (line 24) | func IsDeepCopy[T any](got, want T) qt.Checker { type pair (line 28) | type pair struct type deepCopyChecker (line 32) | type deepCopyChecker struct method Check (line 37) | func (dcc *deepCopyChecker[T]) Check(_ func(key string, value any)) error { method check (line 41) | func (dcc *deepCopyChecker[T]) check(got, want reflect.Value) error { method Args (line 161) | func (dcc *deepCopyChecker[T]) Args() []qt.Arg { FILE: internal/testutils/checkers_test.go function TestIsDeepCopy (line 9) | func TestIsDeepCopy(t *testing.T) { FILE: internal/testutils/cpu.go function LockOSThreadToSingleCPU (line 13) | func LockOSThreadToSingleCPU(tb testing.TB) { FILE: internal/testutils/fd_other.go function DupFD (line 13) | func DupFD(tb testing.TB, fd int) int { FILE: internal/testutils/fd_windows.go function DupFD (line 10) | func DupFD(tb testing.TB, fd int) int { FILE: internal/testutils/feature.go constant ignoreVersionEnvVar (line 18) | ignoreVersionEnvVar = "EBPF_TEST_IGNORE_VERSION" function CheckFeatureTest (line 21) | func CheckFeatureTest(t *testing.T, fn func() error) { function checkFeatureTestError (line 27) | func checkFeatureTestError(t *testing.T, err error) { function CheckFeatureMatrix (line 46) | func CheckFeatureMatrix[K comparable](t *testing.T, fm internal.FeatureM... function SkipIfNotSupported (line 56) | func SkipIfNotSupported(tb testing.TB, err error) { function SkipIfNotSupportedOnOS (line 73) | func SkipIfNotSupportedOnOS(tb testing.TB, err error) { function checkVersion (line 85) | func checkVersion(tb testing.TB, ufe *internal.UnsupportedFeatureError) { function SkipOnOldKernel (line 106) | func SkipOnOldKernel(tb testing.TB, minVersion, feature string) { function IsVersionLessThan (line 120) | func IsVersionLessThan(tb testing.TB, minVersions ...string) bool { function isPlatformVersionLessThan (line 140) | func isPlatformVersionLessThan(tb testing.TB, minv, runv internal.Versio... function ignoreVersionCheck (line 169) | func ignoreVersionCheck(tName string) bool { function SkipNonNativeEndian (line 186) | func SkipNonNativeEndian(tb testing.TB, bo binary.ByteOrder) { FILE: internal/testutils/feature_other.go function platformVersion (line 12) | func platformVersion(tb testing.TB) internal.Version { FILE: internal/testutils/feature_test.go function TestIgnoreKernelVersionCheckWhenEnvVarIsSet (line 9) | func TestIgnoreKernelVersionCheckWhenEnvVarIsSet(t *testing.T) { function TestPlatformVersion (line 58) | func TestPlatformVersion(t *testing.T) { FILE: internal/testutils/feature_windows.go function platformVersion (line 12) | func platformVersion(tb testing.TB) internal.Version { FILE: internal/testutils/glob.go function Files (line 15) | func Files(t *testing.T, files []string, fn func(*testing.T, string)) { function Glob (line 35) | func Glob(tb testing.TB, pattern string, excludes ...string) []string { function NativeFile (line 65) | func NativeFile(tb testing.TB, path string) string { FILE: internal/testutils/netns_linux.go type NetNS (line 17) | type NetNS struct method Do (line 43) | func (h *NetNS) Do(f func() error) error { method close (line 126) | func (h *NetNS) close() error { function NewNetNS (line 22) | func NewNetNS(tb testing.TB) *NetNS { function newNetNS (line 79) | func newNetNS() (*NetNS, error) { function lockOSThread (line 142) | func lockOSThread() (func() error, error) { function unshare (line 171) | func unshare() error { function set (line 180) | func set(f *os.File) error { function getCurrent (line 185) | func getCurrent() (*os.File, error) { function getFromPath (line 190) | func getFromPath(path string) (*os.File, error) { function getFromThread (line 196) | func getFromThread(pid, tid int) (*os.File, error) { FILE: internal/testutils/netns_other.go type NetNS (line 12) | type NetNS struct method Do (line 19) | func (h *NetNS) Do(f func() error) error { function NewNetNS (line 15) | func NewNetNS(tb testing.TB) *NetNS { FILE: internal/testutils/programs.go function ClangBin (line 9) | func ClangBin(tb testing.TB) string { FILE: internal/testutils/rlimit.go function init (line 10) | func init() { FILE: internal/testutils/seed.go function Rand (line 17) | func Rand(tb testing.TB) *rand.Rand { FILE: internal/testutils/testmain/fd_trace.go function onLeakFD (line 15) | func onLeakFD(fs *runtime.Frames) { function TraceFD (line 28) | func TraceFD(raw int, skip int) { function ForgetFD (line 43) | func ForgetFD(raw int) { function LeakFD (line 53) | func LeakFD(raw int) { function flushFrames (line 70) | func flushFrames() []*runtime.Frames { function callersFrames (line 80) | func callersFrames(skip int) *runtime.Frames { function formatFrames (line 93) | func formatFrames(fs *runtime.Frames) string { FILE: internal/testutils/testmain/main.go type testingM (line 12) | type testingM interface function Run (line 19) | func Run(m testingM) { FILE: internal/testutils/testmain/windows.go type tracelogKeywords (line 16) | type tracelogKeywords method UnmarshalText (line 35) | func (kw *tracelogKeywords) UnmarshalText(text []byte) error { method decode (line 44) | func (kw tracelogKeywords) decode() []string { type traceSession (line 58) | type traceSession struct method Close (line 82) | func (ts *traceSession) Close() error { method stop (line 90) | func (ts *traceSession) stop(file string) error { method Dump (line 104) | func (ts *traceSession) Dump(w io.Writer) error { function newTraceSession (line 66) | func newTraceSession() (*traceSession, error) { function summariseWPRTrace (line 134) | func summariseWPRTrace(r io.Reader, w io.Writer) error { FILE: internal/testutils/testmain/windows_test.go function TestSummariseWPRTrace (line 12) | func TestSummariseWPRTrace(t *testing.T) { FILE: internal/tracefs/kprobe.go type ProbeType (line 28) | type ProbeType method eventsFile (line 35) | func (pt ProbeType) eventsFile() (*os.File, error) { constant Kprobe (line 31) | Kprobe ProbeType = iota constant Uprobe (line 32) | Uprobe type ProbeArgs (line 44) | type ProbeArgs struct function RandomGroup (line 56) | func RandomGroup(prefix string) (string, error) { function validIdentifier (line 80) | func validIdentifier(s string) bool { function sanitizeTracefsPath (line 99) | func sanitizeTracefsPath(path ...string) (string, error) { function sanitizeIdentifier (line 141) | func sanitizeIdentifier(s string) string { function EventID (line 163) | func EventID(group, name string) (uint64, error) { function probePrefix (line 187) | func probePrefix(ret bool, maxActive int) string { type Event (line 198) | type Event struct method Close (line 332) | func (evt *Event) Close() error { method ID (line 360) | func (evt *Event) ID() uint64 { method Group (line 365) | func (evt *Event) Group() string { function NewEvent (line 214) | func NewEvent(args ProbeArgs) (*Event, error) { function removeEvent (line 343) | func removeEvent(typ ProbeType, pe string) error { function KprobeToken (line 370) | func KprobeToken(args ProbeArgs) string { FILE: internal/tracefs/kprobe_test.go constant ksym (line 14) | ksym = "vprintk" function TestKprobeTraceFSGroup (line 16) | func TestKprobeTraceFSGroup(t *testing.T) { function TestKprobeToken (line 35) | func TestKprobeToken(t *testing.T) { function TestNewEvent (line 56) | func TestNewEvent(t *testing.T) { FILE: internal/tracefs/perf_event_test.go function TestEventID (line 14) | func TestEventID(t *testing.T) { function TestSanitizePath (line 21) | func TestSanitizePath(t *testing.T) { function TestValidIdentifier (line 34) | func TestValidIdentifier(t *testing.T) { function TestSanitizeIdentifier (line 64) | func TestSanitizeIdentifier(t *testing.T) { function TestGetTracefsPath (line 87) | func TestGetTracefsPath(t *testing.T) { FILE: internal/tracefs/probetype_string.go function _ (line 7) | func _() { constant _ProbeType_name (line 15) | _ProbeType_name = "kprobeuprobe" method String (line 19) | func (i ProbeType) String() string { FILE: internal/tracefs/uprobe.go function UprobeToken (line 6) | func UprobeToken(args ProbeArgs) string { FILE: internal/tracefs/uprobe_test.go function TestUprobeToken (line 8) | func TestUprobeToken(t *testing.T) { FILE: internal/unix/errno_linux.go constant E2BIG (line 12) | E2BIG = linux.E2BIG constant EACCES (line 13) | EACCES = linux.EACCES constant EAGAIN (line 14) | EAGAIN = linux.EAGAIN constant EBADF (line 15) | EBADF = linux.EBADF constant EEXIST (line 16) | EEXIST = linux.EEXIST constant EFAULT (line 17) | EFAULT = linux.EFAULT constant EILSEQ (line 18) | EILSEQ = linux.EILSEQ constant EINTR (line 19) | EINTR = linux.EINTR constant EINVAL (line 20) | EINVAL = linux.EINVAL constant ENODEV (line 21) | ENODEV = linux.ENODEV constant ENOENT (line 22) | ENOENT = linux.ENOENT constant ENOSPC (line 23) | ENOSPC = linux.ENOSPC constant EOPNOTSUPP (line 24) | EOPNOTSUPP = linux.EOPNOTSUPP constant EPERM (line 25) | EPERM = linux.EPERM constant EPOLLIN (line 26) | EPOLLIN = linux.EPOLLIN constant ESRCH (line 27) | ESRCH = linux.ESRCH constant ESTALE (line 28) | ESTALE = linux.ESTALE FILE: internal/unix/errno_linux_test.go function TestErrnoIsUnix (line 10) | func TestErrnoIsUnix(t *testing.T) { FILE: internal/unix/errno_other.go constant E2BIG (line 11) | E2BIG Errno = iota + 1 constant EACCES (line 12) | EACCES constant EAGAIN (line 13) | EAGAIN constant EBADF (line 14) | EBADF constant EEXIST (line 15) | EEXIST constant EFAULT (line 16) | EFAULT constant EILSEQ (line 17) | EILSEQ constant EINTR (line 18) | EINTR constant EINVAL (line 19) | EINVAL constant ENODEV (line 20) | ENODEV constant ENOENT (line 21) | ENOENT constant ENOSPC (line 22) | ENOSPC constant ENOTSUP (line 23) | ENOTSUP constant ENOTSUPP (line 24) | ENOTSUPP constant EOPNOTSUPP (line 25) | EOPNOTSUPP constant EPERM (line 26) | EPERM constant ESRCH (line 27) | ESRCH constant ESTALE (line 28) | ESTALE FILE: internal/unix/errno_string_windows.go function _ (line 7) | func _() { constant _Errno_name (line 31) | _Errno_name = "EPERMENOENTESRCHEINTRE2BIGEBADFEAGAINEACCESEFAULTEEXISTEN... method String (line 54) | func (i Errno) String() string { FILE: internal/unix/errno_test.go function TestErrno (line 10) | func TestErrno(t *testing.T) { FILE: internal/unix/errno_windows.go constant EPERM (line 20) | EPERM Errno = 1 constant ENOENT (line 21) | ENOENT Errno = 2 constant ESRCH (line 22) | ESRCH Errno = 3 constant EINTR (line 23) | EINTR Errno = 4 constant E2BIG (line 24) | E2BIG Errno = 7 constant EBADF (line 25) | EBADF Errno = 9 constant EAGAIN (line 26) | EAGAIN Errno = 11 constant EACCES (line 27) | EACCES Errno = 13 constant EFAULT (line 28) | EFAULT Errno = 14 constant EEXIST (line 29) | EEXIST Errno = 17 constant ENODEV (line 30) | ENODEV Errno = 19 constant EINVAL (line 31) | EINVAL Errno = 22 constant ENFILE (line 32) | ENFILE Errno = 23 constant EMFILE (line 33) | EMFILE Errno = 24 constant ENOSPC (line 34) | ENOSPC Errno = 28 constant ENOSYS (line 35) | ENOSYS Errno = 40 constant ENOTEMPTY (line 36) | ENOTEMPTY Errno = 41 constant EILSEQ (line 37) | EILSEQ Errno = 42 constant ENOTSUP (line 38) | ENOTSUP Errno = 129 constant EOPNOTSUPP (line 39) | EOPNOTSUPP Errno = 130 constant EOTHER (line 40) | EOTHER Errno = 131 constant ETIMEDOUT (line 41) | ETIMEDOUT Errno = 138 constant EWOULDBLOCK (line 42) | EWOULDBLOCK Errno = 140 constant ENOTSUPP (line 48) | ENOTSUPP Errno = Errno(syscall.APPLICATION_ERROR) + iota constant ESTALE (line 49) | ESTALE type Errno (line 53) | type Errno method Error (line 55) | func (e Errno) Error() string { method Is (line 59) | func (e Errno) Is(target error) bool { method Temporary (line 73) | func (e Errno) Temporary() bool { method Timeout (line 77) | func (e Errno) Timeout() bool { FILE: internal/unix/error.go function errNonLinux (line 13) | func errNonLinux() error { FILE: internal/unix/error_test.go function TestErrNonLinux (line 11) | func TestErrNonLinux(t *testing.T) { FILE: internal/unix/strings_other.go function BytePtrFromString (line 5) | func BytePtrFromString(s string) (*byte, error) { function ByteSliceToString (line 9) | func ByteSliceToString(s []byte) string { function ByteSliceFromString (line 13) | func ByteSliceFromString(s string) ([]byte, error) { FILE: internal/unix/strings_windows.go function BytePtrFromString (line 9) | func BytePtrFromString(s string) (*byte, error) { function ByteSliceToString (line 17) | func ByteSliceToString(s []byte) string { function ByteSliceFromString (line 21) | func ByteSliceFromString(s string) ([]byte, error) { FILE: internal/unix/types_linux.go constant BPF_F_NO_PREALLOC (line 13) | BPF_F_NO_PREALLOC = linux.BPF_F_NO_PREALLOC constant BPF_F_NUMA_NODE (line 14) | BPF_F_NUMA_NODE = linux.BPF_F_NUMA_NODE constant BPF_F_RDONLY (line 15) | BPF_F_RDONLY = linux.BPF_F_RDONLY constant BPF_F_WRONLY (line 16) | BPF_F_WRONLY = linux.BPF_F_WRONLY constant BPF_F_RDONLY_PROG (line 17) | BPF_F_RDONLY_PROG = linux.BPF_F_RDONLY_PROG constant BPF_F_WRONLY_PROG (line 18) | BPF_F_WRONLY_PROG = linux.BPF_F_WRONLY_PROG constant BPF_F_SLEEPABLE (line 19) | BPF_F_SLEEPABLE = linux.BPF_F_SLEEPABLE constant BPF_F_XDP_HAS_FRAGS (line 20) | BPF_F_XDP_HAS_FRAGS = linux.BPF_F_XDP_HAS_FRAGS constant BPF_F_MMAPABLE (line 21) | BPF_F_MMAPABLE = linux.BPF_F_MMAPABLE constant BPF_F_INNER_MAP (line 22) | BPF_F_INNER_MAP = linux.BPF_F_INNER_MAP constant BPF_F_KPROBE_MULTI_RETURN (line 23) | BPF_F_KPROBE_MULTI_RETURN = linux.BPF_F_KPROBE_MULTI_RETURN constant BPF_F_UPROBE_MULTI_RETURN (line 24) | BPF_F_UPROBE_MULTI_RETURN = linux.BPF_F_UPROBE_MULTI_RETURN constant BPF_F_LOCK (line 25) | BPF_F_LOCK = linux.BPF_F_LOCK constant BPF_OBJ_NAME_LEN (line 26) | BPF_OBJ_NAME_LEN = linux.BPF_OBJ_NAME_LEN constant BPF_TAG_SIZE (line 27) | BPF_TAG_SIZE = linux.BPF_TAG_SIZE constant BPF_RINGBUF_BUSY_BIT (line 28) | BPF_RINGBUF_BUSY_BIT = linux.BPF_RINGBUF_BUSY_BIT constant BPF_RINGBUF_DISCARD_BIT (line 29) | BPF_RINGBUF_DISCARD_BIT = linux.BPF_RINGBUF_DISCARD_BIT constant BPF_RINGBUF_HDR_SZ (line 30) | BPF_RINGBUF_HDR_SZ = linux.BPF_RINGBUF_HDR_SZ constant SYS_BPF (line 31) | SYS_BPF = linux.SYS_BPF constant F_DUPFD_CLOEXEC (line 32) | F_DUPFD_CLOEXEC = linux.F_DUPFD_CLOEXEC constant EPOLL_CTL_ADD (line 33) | EPOLL_CTL_ADD = linux.EPOLL_CTL_ADD constant EPOLL_CLOEXEC (line 34) | EPOLL_CLOEXEC = linux.EPOLL_CLOEXEC constant O_RDONLY (line 35) | O_RDONLY = linux.O_RDONLY constant O_CLOEXEC (line 36) | O_CLOEXEC = linux.O_CLOEXEC constant O_NONBLOCK (line 37) | O_NONBLOCK = linux.O_NONBLOCK constant PROT_NONE (line 38) | PROT_NONE = linux.PROT_NONE constant PROT_READ (line 39) | PROT_READ = linux.PROT_READ constant PROT_WRITE (line 40) | PROT_WRITE = linux.PROT_WRITE constant MAP_ANON (line 41) | MAP_ANON = linux.MAP_ANON constant MAP_SHARED (line 42) | MAP_SHARED = linux.MAP_SHARED constant MAP_FIXED (line 43) | MAP_FIXED = linux.MAP_FIXED constant MAP_PRIVATE (line 44) | MAP_PRIVATE = linux.MAP_PRIVATE constant PERF_ATTR_SIZE_VER1 (line 45) | PERF_ATTR_SIZE_VER1 = linux.PERF_ATTR_SIZE_VER1 constant PERF_TYPE_SOFTWARE (line 46) | PERF_TYPE_SOFTWARE = linux.PERF_TYPE_SOFTWARE constant PERF_TYPE_TRACEPOINT (line 47) | PERF_TYPE_TRACEPOINT = linux.PERF_TYPE_TRACEPOINT constant PERF_COUNT_SW_BPF_OUTPUT (line 48) | PERF_COUNT_SW_BPF_OUTPUT = linux.PERF_COUNT_SW_BPF_OUTPUT constant PERF_EVENT_IOC_DISABLE (line 49) | PERF_EVENT_IOC_DISABLE = linux.PERF_EVENT_IOC_DISABLE constant PERF_EVENT_IOC_ENABLE (line 50) | PERF_EVENT_IOC_ENABLE = linux.PERF_EVENT_IOC_ENABLE constant PERF_EVENT_IOC_SET_BPF (line 51) | PERF_EVENT_IOC_SET_BPF = linux.PERF_EVENT_IOC_SET_BPF constant PerfBitWatermark (line 52) | PerfBitWatermark = linux.PerfBitWatermark constant PerfBitWriteBackward (line 53) | PerfBitWriteBackward = linux.PerfBitWriteBackward constant PERF_SAMPLE_RAW (line 54) | PERF_SAMPLE_RAW = linux.PERF_SAMPLE_RAW constant PERF_FLAG_FD_CLOEXEC (line 55) | PERF_FLAG_FD_CLOEXEC = linux.PERF_FLAG_FD_CLOEXEC constant RLIM_INFINITY (line 56) | RLIM_INFINITY = linux.RLIM_INFINITY constant RLIMIT_MEMLOCK (line 57) | RLIMIT_MEMLOCK = linux.RLIMIT_MEMLOCK constant BPF_STATS_RUN_TIME (line 58) | BPF_STATS_RUN_TIME = linux.BPF_STATS_RUN_TIME constant PERF_RECORD_LOST (line 59) | PERF_RECORD_LOST = linux.PERF_RECORD_LOST constant PERF_RECORD_SAMPLE (line 60) | PERF_RECORD_SAMPLE = linux.PERF_RECORD_SAMPLE constant AT_FDCWD (line 61) | AT_FDCWD = linux.AT_FDCWD constant RENAME_NOREPLACE (line 62) | RENAME_NOREPLACE = linux.RENAME_NOREPLACE constant SO_ATTACH_BPF (line 63) | SO_ATTACH_BPF = linux.SO_ATTACH_BPF constant SO_DETACH_BPF (line 64) | SO_DETACH_BPF = linux.SO_DETACH_BPF constant SOL_SOCKET (line 65) | SOL_SOCKET = linux.SOL_SOCKET constant SIGPROF (line 66) | SIGPROF = linux.SIGPROF constant SIGUSR1 (line 67) | SIGUSR1 = linux.SIGUSR1 constant SIG_BLOCK (line 68) | SIG_BLOCK = linux.SIG_BLOCK constant SIG_UNBLOCK (line 69) | SIG_UNBLOCK = linux.SIG_UNBLOCK constant BPF_FS_MAGIC (line 70) | BPF_FS_MAGIC = linux.BPF_FS_MAGIC constant TRACEFS_MAGIC (line 71) | TRACEFS_MAGIC = linux.TRACEFS_MAGIC constant DEBUGFS_MAGIC (line 72) | DEBUGFS_MAGIC = linux.DEBUGFS_MAGIC constant BPF_RB_NO_WAKEUP (line 73) | BPF_RB_NO_WAKEUP = linux.BPF_RB_NO_WAKEUP constant BPF_RB_FORCE_WAKEUP (line 74) | BPF_RB_FORCE_WAKEUP = linux.BPF_RB_FORCE_WAKEUP constant AF_UNSPEC (line 75) | AF_UNSPEC = linux.AF_UNSPEC constant IFF_UP (line 76) | IFF_UP = linux.IFF_UP constant CLONE_NEWNET (line 77) | CLONE_NEWNET = linux.CLONE_NEWNET constant LINUX_CAPABILITY_VERSION_3 (line 78) | LINUX_CAPABILITY_VERSION_3 = linux.LINUX_CAPABILITY_VERSION_3 function Syscall (line 94) | func Syscall(trap, a1, a2, a3 uintptr) (r1, r2 uintptr, err syscall.Errn... function PthreadSigmask (line 98) | func PthreadSigmask(how int, set, oldset *Sigset_t) error { function FcntlInt (line 102) | func FcntlInt(fd uintptr, cmd, arg int) (int, error) { function IoctlSetInt (line 106) | func IoctlSetInt(fd int, req uint, value int) error { function Statfs (line 110) | func Statfs(path string, buf *Statfs_t) (err error) { function Close (line 114) | func Close(fd int) (err error) { function EpollWait (line 118) | func EpollWait(epfd int, events []EpollEvent, msec int) (n int, err erro... function EpollCtl (line 122) | func EpollCtl(epfd int, op int, fd int, event *EpollEvent) (err error) { function Eventfd (line 126) | func Eventfd(initval uint, flags int) (fd int, err error) { function Write (line 130) | func Write(fd int, p []byte) (n int, err error) { function EpollCreate1 (line 134) | func EpollCreate1(flag int) (fd int, err error) { function SetNonblock (line 138) | func SetNonblock(fd int, nonblocking bool) (err error) { function Mmap (line 142) | func Mmap(fd int, offset int64, length int, prot int, flags int) (data [... function MmapPtr (line 147) | func MmapPtr(fd int, offset int64, addr unsafe.Pointer, length uintptr, ... function Munmap (line 151) | func Munmap(b []byte) (err error) { function PerfEventOpen (line 155) | func PerfEventOpen(attr *PerfEventAttr, pid int, cpu int, groupFd int, f... function Uname (line 159) | func Uname(buf *Utsname) (err error) { function Getpid (line 163) | func Getpid() int { function Gettid (line 167) | func Gettid() int { function Tgkill (line 171) | func Tgkill(tgid int, tid int, sig syscall.Signal) (err error) { function BytePtrFromString (line 175) | func BytePtrFromString(s string) (*byte, error) { function ByteSliceToString (line 179) | func ByteSliceToString(s []byte) string { function ByteSliceFromString (line 183) | func ByteSliceFromString(s string) ([]byte, error) { function Renameat2 (line 187) | func Renameat2(olddirfd int, oldpath string, newdirfd int, newpath strin... function Prlimit (line 191) | func Prlimit(pid, resource int, new, old *Rlimit) error { function Open (line 195) | func Open(path string, mode int, perm uint32) (int, error) { function Fstat (line 199) | func Fstat(fd int, stat *Stat_t) error { function SetsockoptInt (line 203) | func SetsockoptInt(fd, level, opt, value int) error { function SchedSetaffinity (line 207) | func SchedSetaffinity(pid int, set *CPUSet) error { function SchedGetaffinity (line 211) | func SchedGetaffinity(pid int, set *CPUSet) error { function Auxv (line 215) | func Auxv() ([][2]uintptr, error) { function Unshare (line 219) | func Unshare(flag int) error { function Setns (line 223) | func Setns(fd int, nstype int) error { function Capget (line 227) | func Capget(hdr *CapUserHeader, data *CapUserData) (err error) { function Capset (line 231) | func Capset(hdr *CapUserHeader, data *CapUserData) (err error) { FILE: internal/unix/types_other.go constant BPF_F_NO_PREALLOC (line 12) | BPF_F_NO_PREALLOC = iota constant BPF_F_NUMA_NODE (line 13) | BPF_F_NUMA_NODE constant BPF_F_RDONLY (line 14) | BPF_F_RDONLY constant BPF_F_WRONLY (line 15) | BPF_F_WRONLY constant BPF_F_RDONLY_PROG (line 16) | BPF_F_RDONLY_PROG constant BPF_F_WRONLY_PROG (line 17) | BPF_F_WRONLY_PROG constant BPF_F_SLEEPABLE (line 18) | BPF_F_SLEEPABLE constant BPF_F_MMAPABLE (line 19) | BPF_F_MMAPABLE constant BPF_F_INNER_MAP (line 20) | BPF_F_INNER_MAP constant BPF_F_KPROBE_MULTI_RETURN (line 21) | BPF_F_KPROBE_MULTI_RETURN constant BPF_F_UPROBE_MULTI_RETURN (line 22) | BPF_F_UPROBE_MULTI_RETURN constant BPF_F_XDP_HAS_FRAGS (line 23) | BPF_F_XDP_HAS_FRAGS constant BPF_OBJ_NAME_LEN (line 24) | BPF_OBJ_NAME_LEN constant BPF_TAG_SIZE (line 25) | BPF_TAG_SIZE constant BPF_RINGBUF_BUSY_BIT (line 26) | BPF_RINGBUF_BUSY_BIT constant BPF_RINGBUF_DISCARD_BIT (line 27) | BPF_RINGBUF_DISCARD_BIT constant BPF_RINGBUF_HDR_SZ (line 28) | BPF_RINGBUF_HDR_SZ constant SYS_BPF (line 29) | SYS_BPF constant F_DUPFD_CLOEXEC (line 30) | F_DUPFD_CLOEXEC constant EPOLLIN (line 31) | EPOLLIN constant EPOLL_CTL_ADD (line 32) | EPOLL_CTL_ADD constant EPOLL_CLOEXEC (line 33) | EPOLL_CLOEXEC constant O_CLOEXEC (line 34) | O_CLOEXEC constant O_NONBLOCK (line 35) | O_NONBLOCK constant PROT_NONE (line 36) | PROT_NONE constant PROT_READ (line 37) | PROT_READ constant PROT_WRITE (line 38) | PROT_WRITE constant MAP_ANON (line 39) | MAP_ANON constant MAP_SHARED (line 40) | MAP_SHARED constant MAP_FIXED (line 41) | MAP_FIXED constant MAP_PRIVATE (line 42) | MAP_PRIVATE constant PERF_ATTR_SIZE_VER1 (line 43) | PERF_ATTR_SIZE_VER1 constant PERF_TYPE_SOFTWARE (line 44) | PERF_TYPE_SOFTWARE constant PERF_TYPE_TRACEPOINT (line 45) | PERF_TYPE_TRACEPOINT constant PERF_COUNT_SW_BPF_OUTPUT (line 46) | PERF_COUNT_SW_BPF_OUTPUT constant PERF_EVENT_IOC_DISABLE (line 47) | PERF_EVENT_IOC_DISABLE constant PERF_EVENT_IOC_ENABLE (line 48) | PERF_EVENT_IOC_ENABLE constant PERF_EVENT_IOC_SET_BPF (line 49) | PERF_EVENT_IOC_SET_BPF constant PerfBitWatermark (line 50) | PerfBitWatermark constant PerfBitWriteBackward (line 51) | PerfBitWriteBackward constant PERF_SAMPLE_RAW (line 52) | PERF_SAMPLE_RAW constant PERF_FLAG_FD_CLOEXEC (line 53) | PERF_FLAG_FD_CLOEXEC constant RLIM_INFINITY (line 54) | RLIM_INFINITY constant RLIMIT_MEMLOCK (line 55) | RLIMIT_MEMLOCK constant BPF_STATS_RUN_TIME (line 56) | BPF_STATS_RUN_TIME constant PERF_RECORD_LOST (line 57) | PERF_RECORD_LOST constant PERF_RECORD_SAMPLE (line 58) | PERF_RECORD_SAMPLE constant AT_FDCWD (line 59) | AT_FDCWD constant RENAME_NOREPLACE (line 60) | RENAME_NOREPLACE constant SO_ATTACH_BPF (line 61) | SO_ATTACH_BPF constant SO_DETACH_BPF (line 62) | SO_DETACH_BPF constant SOL_SOCKET (line 63) | SOL_SOCKET constant SIGPROF (line 64) | SIGPROF constant SIGUSR1 (line 65) | SIGUSR1 constant SIG_BLOCK (line 66) | SIG_BLOCK constant SIG_UNBLOCK (line 67) | SIG_UNBLOCK constant BPF_FS_MAGIC (line 68) | BPF_FS_MAGIC constant TRACEFS_MAGIC (line 69) | TRACEFS_MAGIC constant DEBUGFS_MAGIC (line 70) | DEBUGFS_MAGIC constant BPF_RB_NO_WAKEUP (line 71) | BPF_RB_NO_WAKEUP constant BPF_RB_FORCE_WAKEUP (line 72) | BPF_RB_FORCE_WAKEUP constant BPF_F_LOCK (line 73) | BPF_F_LOCK constant AF_UNSPEC (line 74) | AF_UNSPEC constant IFF_UP (line 75) | IFF_UP constant LINUX_CAPABILITY_VERSION_3 (line 76) | LINUX_CAPABILITY_VERSION_3 type Statfs_t (line 79) | type Statfs_t struct type Stat_t (line 94) | type Stat_t struct type Rlimit (line 108) | type Rlimit struct type Signal (line 113) | type Signal type Sigset_t (line 115) | type Sigset_t struct type CapUserHeader (line 119) | type CapUserHeader struct type CapUserData (line 124) | type CapUserData struct function Syscall (line 130) | func Syscall(trap, a1, a2, a3 uintptr) (r1, r2 uintptr, err Errno) { function PthreadSigmask (line 134) | func PthreadSigmask(how int, set, oldset *Sigset_t) error { function FcntlInt (line 138) | func FcntlInt(fd uintptr, cmd, arg int) (int, error) { function IoctlSetInt (line 142) | func IoctlSetInt(fd int, req uint, value int) error { function Statfs (line 146) | func Statfs(path string, buf *Statfs_t) error { function Close (line 150) | func Close(fd int) (err error) { type EpollEvent (line 154) | type EpollEvent struct function EpollWait (line 160) | func EpollWait(epfd int, events []EpollEvent, msec int) (n int, err erro... function EpollCtl (line 164) | func EpollCtl(epfd int, op int, fd int, event *EpollEvent) (err error) { function Eventfd (line 168) | func Eventfd(initval uint, flags int) (fd int, err error) { function Write (line 172) | func Write(fd int, p []byte) (n int, err error) { function EpollCreate1 (line 176) | func EpollCreate1(flag int) (fd int, err error) { type PerfEventMmapPage (line 180) | type PerfEventMmapPage struct function SetNonblock (line 206) | func SetNonblock(fd int, nonblocking bool) (err error) { function Mmap (line 210) | func Mmap(fd int, offset int64, length int, prot int, flags int) (data [... function MmapPtr (line 214) | func MmapPtr(fd int, offset int64, addr unsafe.Pointer, length uintptr, ... function Munmap (line 218) | func Munmap(b []byte) (err error) { type PerfEventAttr (line 222) | type PerfEventAttr struct function PerfEventOpen (line 243) | func PerfEventOpen(attr *PerfEventAttr, pid int, cpu int, groupFd int, f... type Utsname (line 247) | type Utsname struct function Uname (line 252) | func Uname(buf *Utsname) (err error) { function Getpid (line 256) | func Getpid() int { function Gettid (line 260) | func Gettid() int { function Tgkill (line 264) | func Tgkill(tgid int, tid int, sig syscall.Signal) (err error) { function Renameat2 (line 268) | func Renameat2(olddirfd int, oldpath string, newdirfd int, newpath strin... function Prlimit (line 272) | func Prlimit(pid, resource int, new, old *Rlimit) error { function Open (line 276) | func Open(path string, mode int, perm uint32) (int, error) { function Fstat (line 280) | func Fstat(fd int, stat *Stat_t) error { function SetsockoptInt (line 284) | func SetsockoptInt(fd, level, opt, value int) error { type CPUSet (line 288) | type CPUSet struct method Set (line 290) | func (*CPUSet) Set(int) {} function SchedSetaffinity (line 292) | func SchedSetaffinity(pid int, set *CPUSet) error { function SchedGetaffinity (line 296) | func SchedGetaffinity(pid int, set *CPUSet) error { function Auxv (line 300) | func Auxv() ([][2]uintptr, error) { function Capget (line 304) | func Capget(hdr *CapUserHeader, data *CapUserData) (err error) { function Capset (line 308) | func Capset(hdr *CapUserHeader, data *CapUserData) (err error) { FILE: internal/version.go constant MagicKernelVersion (line 12) | MagicKernelVersion = 0xFFFFFFFE type Version (line 16) | type Version method String (line 39) | func (v Version) String() string { method Less (line 47) | func (v Version) Less(other Version) bool { method Unspecified (line 58) | func (v Version) Unspecified() bool { method Kernel (line 64) | func (v Version) Kernel() uint32 { function NewVersion (line 21) | func NewVersion(ver string) (Version, error) { function NewVersionFromCode (line 31) | func NewVersionFromCode(code uint32) Version { FILE: internal/version_test.go function TestVersion (line 7) | func TestVersion(t *testing.T) { function TestKernelVersion (line 36) | func TestKernelVersion(t *testing.T) { function TestVersionFromCode (line 49) | func TestVersionFromCode(t *testing.T) { FILE: link/anchor.go constant anchorFlags (line 12) | anchorFlags = sys.BPF_F_REPLACE | type Anchor (line 22) | type Anchor interface type firstAnchor (line 34) | type firstAnchor struct method anchor (line 36) | func (firstAnchor) anchor() (fdOrID, flags uint32, _ error) { function Head (line 41) | func Head() Anchor { type lastAnchor (line 45) | type lastAnchor struct method anchor (line 47) | func (lastAnchor) anchor() (fdOrID, flags uint32, _ error) { function Tail (line 52) | func Tail() Anchor { function BeforeLink (line 57) | func BeforeLink(target Link) Anchor { function AfterLink (line 62) | func AfterLink(target Link) Anchor { function BeforeLinkByID (line 67) | func BeforeLinkByID(target ID) Anchor { function AfterLinkByID (line 72) | func AfterLinkByID(target ID) Anchor { function BeforeProgram (line 77) | func BeforeProgram(target *ebpf.Program) Anchor { function AfterProgram (line 82) | func AfterProgram(target *ebpf.Program) Anchor { function ReplaceProgram (line 87) | func ReplaceProgram(target *ebpf.Program) Anchor { function BeforeProgramByID (line 92) | func BeforeProgramByID(target ebpf.ProgramID) Anchor { function AfterProgramByID (line 97) | func AfterProgramByID(target ebpf.ProgramID) Anchor { function ReplaceProgramByID (line 102) | func ReplaceProgramByID(target ebpf.ProgramID) Anchor { type anchor (line 106) | type anchor struct method anchor (line 111) | func (ap anchor) anchor() (fdOrID, flags uint32, _ error) { FILE: link/cgroup.go type cgroupAttachFlags (line 14) | type cgroupAttachFlags constant flagAllowOverride (line 19) | flagAllowOverride cgroupAttachFlags = 1 << iota constant flagAllowMulti (line 22) | flagAllowMulti constant flagReplace (line 25) | flagReplace type CgroupOptions (line 28) | type CgroupOptions struct function AttachCgroup (line 45) | func AttachCgroup(opts CgroupOptions) (cg Link, err error) { type progAttachCgroup (line 77) | type progAttachCgroup struct method isLink (line 86) | func (cg *progAttachCgroup) isLink() {} method Close (line 117) | func (cg *progAttachCgroup) Close() error { method Update (line 132) | func (cg *progAttachCgroup) Update(prog *ebpf.Program) error { method Pin (line 162) | func (cg *progAttachCgroup) Pin(string) error { method Unpin (line 166) | func (cg *progAttachCgroup) Unpin() error { method Detach (line 170) | func (cg *progAttachCgroup) Detach() error { method Info (line 174) | func (cg *progAttachCgroup) Info() (*Info, error) { function newProgAttachCgroup (line 90) | func newProgAttachCgroup(cgroup *os.File, attach ebpf.AttachType, prog *... type linkCgroup (line 178) | type linkCgroup struct method Info (line 198) | func (cg *linkCgroup) Info() (*Info, error) { function newLinkCgroup (line 185) | func newLinkCgroup(cgroup *os.File, attach ebpf.AttachType, prog *ebpf.P... FILE: link/cgroup_test.go function TestAttachCgroup (line 12) | func TestAttachCgroup(t *testing.T) { function TestProgAttachCgroup (line 37) | func TestProgAttachCgroup(t *testing.T) { function TestProgAttachCgroupAllowMulti (line 48) | func TestProgAttachCgroupAllowMulti(t *testing.T) { function TestLinkCgroup (line 63) | func TestLinkCgroup(t *testing.T) { FILE: link/helpers_windows_test.go function windowsProgramTypeForGUID (line 16) | func windowsProgramTypeForGUID(tb testing.TB, guid windows.GUID) ebpf.Pr... function windowsAttachTypeForGUID (line 26) | func windowsAttachTypeForGUID(tb testing.TB, guid windows.GUID) ebpf.Att... FILE: link/iter.go type IterOptions (line 14) | type IterOptions struct function AttachIter (line 29) | func AttachIter(opts IterOptions) (*Iter, error) { type Iter (line 63) | type Iter struct method Open (line 70) | func (it *Iter) Open() (io.ReadCloser, error) { type bpfIterLinkInfoMap (line 84) | type bpfIterLinkInfoMap struct FILE: link/iter_test.go function TestIter (line 13) | func TestIter(t *testing.T) { function TestIterMapElements (line 43) | func TestIterMapElements(t *testing.T) { function TestUDPIter (line 84) | func TestUDPIter(t *testing.T) { FILE: link/kprobe.go type KprobeOptions (line 23) | type KprobeOptions struct method cookie (line 46) | func (ko *KprobeOptions) cookie() uint64 { function Kprobe (line 71) | func Kprobe(symbol string, prog *ebpf.Program, opts *KprobeOptions) (Lin... function Kretprobe (line 104) | func Kretprobe(symbol string, prog *ebpf.Program, opts *KprobeOptions) (... function isValidKprobeSymbol (line 121) | func isValidKprobeSymbol(s string) bool { function kprobe (line 148) | func kprobe(symbol string, prog *ebpf.Program, opts *KprobeOptions, ret ... function pmuProbe (line 214) | func pmuProbe(args tracefs.ProbeArgs) (*perfEvent, error) { function tracefsProbe (line 339) | func tracefsProbe(args tracefs.ProbeArgs) (*perfEvent, error) { FILE: link/kprobe_multi.go type KprobeMultiOptions (line 18) | type KprobeMultiOptions struct function KprobeMulti (line 58) | func KprobeMulti(prog *ebpf.Program, opts KprobeMultiOptions) (Link, err... function KretprobeMulti (line 70) | func KretprobeMulti(prog *ebpf.Program, opts KprobeMultiOptions) (Link, ... function kprobeMulti (line 74) | func kprobeMulti(prog *ebpf.Program, opts KprobeMultiOptions, flags uint... type kprobeMultiLink (line 146) | type kprobeMultiLink struct method Update (line 152) | func (kml *kprobeMultiLink) Update(_ *ebpf.Program) error { method Info (line 156) | func (kml *kprobeMultiLink) Info() (*Info, error) { FILE: link/kprobe_multi_test.go function TestKprobeMulti (line 21) | func TestKprobeMulti(t *testing.T) { function TestKprobeMultiInfo (line 35) | func TestKprobeMultiInfo(t *testing.T) { function TestKprobeMultiInput (line 58) | func TestKprobeMultiInput(t *testing.T) { function TestKprobeMultiErrors (line 87) | func TestKprobeMultiErrors(t *testing.T) { function TestKprobeMultiCookie (line 108) | func TestKprobeMultiCookie(t *testing.T) { function TestKprobeMultiProgramCall (line 123) | func TestKprobeMultiProgramCall(t *testing.T) { function TestKprobeSession (line 166) | func TestKprobeSession(t *testing.T) { FILE: link/kprobe_test.go function TestKprobe (line 30) | func TestKprobe(t *testing.T) { function TestKprobeInfo (line 56) | func TestKprobeInfo(t *testing.T) { function TestKprobeOffset (line 71) | func TestKprobeOffset(t *testing.T) { function TestKretprobeMaxActive (line 88) | func TestKretprobeMaxActive(t *testing.T) { function TestKretprobe (line 107) | func TestKretprobe(t *testing.T) { function TestKprobeErrors (line 135) | func TestKprobeErrors(t *testing.T) { function TestKprobeCreatePMU (line 152) | func TestKprobeCreatePMU(t *testing.T) { function TestKprobePMUUnavailable (line 178) | func TestKprobePMUUnavailable(t *testing.T) { function BenchmarkKprobeCreatePMU (line 189) | func BenchmarkKprobeCreatePMU(b *testing.B) { function TestKprobeTraceFS (line 203) | func TestKprobeTraceFS(t *testing.T) { function BenchmarkKprobeCreateTraceFS (line 253) | func BenchmarkKprobeCreateTraceFS(b *testing.B) { function TestKprobeProgramCall (line 268) | func TestKprobeProgramCall(t *testing.T) { function newUpdaterMapProg (line 302) | func newUpdaterMapProg(t *testing.T, typ ebpf.ProgramType, attach ebpf.A... function assertMapValue (line 369) | func assertMapValue(t *testing.T, m *ebpf.Map, k, v uint32) { function assertMapValueGE (line 379) | func assertMapValueGE(t *testing.T, m *ebpf.Map, k, v uint32) { function TestKprobeCookie (line 389) | func TestKprobeCookie(t *testing.T) { FILE: link/link.go type Link (line 21) | type Link interface function NewFromFD (line 61) | func NewFromFD(fd int) (Link, error) { function NewFromID (line 73) | func NewFromID(id ID) (Link, error) { function LoadPinnedLink (line 86) | func LoadPinnedLink(fileName string, opts *ebpf.LoadPinOptions) (Link, e... type RawLinkOptions (line 99) | type RawLinkOptions struct type Info (line 113) | type Info struct type RawLink (line 124) | type RawLink struct method isLink (line 146) | func (l *RawLink) isLink() {} method FD (line 149) | func (l *RawLink) FD() int { method Close (line 156) | func (l *RawLink) Close() error { method Pin (line 164) | func (l *RawLink) Pin(fileName string) error { method Unpin (line 173) | func (l *RawLink) Unpin() error { method IsPinned (line 182) | func (l *RawLink) IsPinned() bool { method Update (line 187) | func (l *RawLink) Update(new *ebpf.Program) error { method UpdateArgs (line 201) | func (l *RawLink) UpdateArgs(opts RawLinkUpdateOptions) error { method Detach (line 228) | func (l *RawLink) Detach() error { method Info (line 249) | func (l *RawLink) Info() (*Info, error) { function loadPinnedRawLink (line 129) | func loadPinnedRawLink(fileName string, opts *ebpf.LoadPinOptions) (*Raw... type RawLinkUpdateOptions (line 194) | type RawLinkUpdateOptions struct type Iterator (line 265) | type Iterator struct method Next (line 277) | func (it *Iterator) Next() bool { method Take (line 318) | func (it *Iterator) Take() Link { method Err (line 325) | func (it *Iterator) Err() error { method Close (line 329) | func (it *Iterator) Close() { FILE: link/link_other.go constant UnspecifiedType (line 15) | UnspecifiedType = sys.BPF_LINK_TYPE_UNSPEC constant RawTracepointType (line 16) | RawTracepointType = sys.BPF_LINK_TYPE_RAW_TRACEPOINT constant TracingType (line 17) | TracingType = sys.BPF_LINK_TYPE_TRACING constant CgroupType (line 18) | CgroupType = sys.BPF_LINK_TYPE_CGROUP constant IterType (line 19) | IterType = sys.BPF_LINK_TYPE_ITER constant NetNsType (line 20) | NetNsType = sys.BPF_LINK_TYPE_NETNS constant XDPType (line 21) | XDPType = sys.BPF_LINK_TYPE_XDP constant PerfEventType (line 22) | PerfEventType = sys.BPF_LINK_TYPE_PERF_EVENT constant KprobeMultiType (line 23) | KprobeMultiType = sys.BPF_LINK_TYPE_KPROBE_MULTI constant TCXType (line 24) | TCXType = sys.BPF_LINK_TYPE_TCX constant UprobeMultiType (line 25) | UprobeMultiType = sys.BPF_LINK_TYPE_UPROBE_MULTI constant NetfilterType (line 26) | NetfilterType = sys.BPF_LINK_TYPE_NETFILTER constant NetkitType (line 27) | NetkitType = sys.BPF_LINK_TYPE_NETKIT constant StructOpsType (line 28) | StructOpsType = sys.BPF_LINK_TYPE_STRUCT_OPS function AttachRawLink (line 32) | func AttachRawLink(opts RawLinkOptions) (*RawLink, error) { function wrapRawLink (line 69) | func wrapRawLink(raw *RawLink) (_ Link, err error) { type TracingInfo (line 113) | type TracingInfo struct type CgroupInfo (line 119) | type CgroupInfo struct type NetNsInfo (line 125) | type NetNsInfo struct type TCXInfo (line 130) | type TCXInfo struct type XDPInfo (line 135) | type XDPInfo struct type NetfilterInfo (line 139) | type NetfilterInfo struct type NetkitInfo (line 146) | type NetkitInfo struct type RawTracepointInfo (line 151) | type RawTracepointInfo struct type KprobeMultiInfo (line 155) | type KprobeMultiInfo struct method Addresses (line 170) | func (kpm *KprobeMultiInfo) Addresses() ([]KprobeMultiAddress, bool) { type KprobeMultiAddress (line 164) | type KprobeMultiAddress struct type UprobeMultiInfo (line 184) | type UprobeMultiInfo struct method Offsets (line 208) | func (umi *UprobeMultiInfo) Offsets() ([]UprobeMultiOffset, bool) { method Pid (line 226) | func (umi *UprobeMultiInfo) Pid() (uint32, bool) { type UprobeMultiOffset (line 201) | type UprobeMultiOffset struct constant PerfEventUnspecified (line 231) | PerfEventUnspecified = sys.BPF_PERF_EVENT_UNSPEC constant PerfEventUprobe (line 232) | PerfEventUprobe = sys.BPF_PERF_EVENT_UPROBE constant PerfEventUretprobe (line 233) | PerfEventUretprobe = sys.BPF_PERF_EVENT_URETPROBE constant PerfEventKprobe (line 234) | PerfEventKprobe = sys.BPF_PERF_EVENT_KPROBE constant PerfEventKretprobe (line 235) | PerfEventKretprobe = sys.BPF_PERF_EVENT_KRETPROBE constant PerfEventTracepoint (line 236) | PerfEventTracepoint = sys.BPF_PERF_EVENT_TRACEPOINT constant PerfEventEvent (line 237) | PerfEventEvent = sys.BPF_PERF_EVENT_EVENT type PerfEventInfo (line 240) | type PerfEventInfo struct method Kprobe (line 245) | func (r *PerfEventInfo) Kprobe() *KprobeInfo { method Uprobe (line 250) | func (r *PerfEventInfo) Uprobe() *UprobeInfo { method Tracepoint (line 255) | func (r *PerfEventInfo) Tracepoint() *TracepointInfo { method Event (line 260) | func (r *PerfEventInfo) Event() *EventInfo { type KprobeInfo (line 265) | type KprobeInfo struct type UprobeInfo (line 272) | type UprobeInfo struct type TracepointInfo (line 285) | type TracepointInfo struct type EventInfo (line 290) | type EventInfo struct method Tracing (line 299) | func (r Info) Tracing() *TracingInfo { method Cgroup (line 307) | func (r Info) Cgroup() *CgroupInfo { method NetNs (line 315) | func (r Info) NetNs() *NetNsInfo { method XDP (line 323) | func (r Info) XDP() *XDPInfo { method TCX (line 331) | func (r Info) TCX() *TCXInfo { method Netfilter (line 339) | func (r Info) Netfilter() *NetfilterInfo { method Netkit (line 347) | func (r Info) Netkit() *NetkitInfo { method KprobeMulti (line 355) | func (r Info) KprobeMulti() *KprobeMultiInfo { method UprobeMulti (line 363) | func (r Info) UprobeMulti() *UprobeMultiInfo { method PerfEvent (line 371) | func (r Info) PerfEvent() *PerfEventInfo { method RawTracepoint (line 379) | func (r Info) RawTracepoint() *RawTracepointInfo { FILE: link/link_other_test.go function testLinkArch (line 17) | func testLinkArch(t *testing.T, link Link) { function newRawLink (line 81) | func newRawLink(t *testing.T) (*RawLink, *ebpf.Program) { function mustCgroupFixtures (line 99) | func mustCgroupFixtures(t *testing.T) (*os.File, *ebpf.Program) { function mustLoadProgram (line 107) | func mustLoadProgram(tb testing.TB, typ ebpf.ProgramType, attachType ebp... function TestDetachLinkFail (line 137) | func TestDetachLinkFail(t *testing.T) { FILE: link/link_test.go function TestMain (line 18) | func TestMain(m *testing.M) { function TestRawLink (line 22) | func TestRawLink(t *testing.T) { function TestUnpinRawLink (line 47) | func TestUnpinRawLink(t *testing.T) { function TestDetachRawLink (line 59) | func TestDetachRawLink(t *testing.T) { function TestRawLinkLoadPinnedWithOptions (line 67) | func TestRawLinkLoadPinnedWithOptions(t *testing.T) { function TestIterator (line 83) | func TestIterator(t *testing.T) { function newPinnedRawLink (line 133) | func newPinnedRawLink(t *testing.T) (*RawLink, string) { function testLink (line 146) | func testLink(t *testing.T, link Link, prog *ebpf.Program) { function TestLoadWrongPin (line 231) | func TestLoadWrongPin(t *testing.T) { FILE: link/link_windows.go function AttachRawLink (line 13) | func AttachRawLink(opts RawLinkOptions) (*RawLink, error) { function wrapRawLink (line 46) | func wrapRawLink(raw *RawLink) (Link, error) { FILE: link/link_windows_test.go function testLinkArch (line 23) | func testLinkArch(t *testing.T, link Link) {} function newRawLink (line 25) | func newRawLink(t *testing.T) (*RawLink, *ebpf.Program) { function TestProcessLink (line 47) | func TestProcessLink(t *testing.T) { function makeGUID (line 100) | func makeGUID(data1 uint32, data2 uint16, data3 uint16, data4 [8]byte) w... FILE: link/netfilter.go constant NetfilterIPDefrag (line 12) | NetfilterIPDefrag NetfilterAttachFlags = 0 type NetfilterAttachFlags (line 14) | type NetfilterAttachFlags constant NetfilterInetPreRouting (line 19) | NetfilterInetPreRouting = sys.NF_INET_PRE_ROUTING constant NetfilterInetLocalIn (line 20) | NetfilterInetLocalIn = sys.NF_INET_LOCAL_IN constant NetfilterInetForward (line 21) | NetfilterInetForward = sys.NF_INET_FORWARD constant NetfilterInetLocalOut (line 22) | NetfilterInetLocalOut = sys.NF_INET_LOCAL_OUT constant NetfilterInetPostRouting (line 23) | NetfilterInetPostRouting = sys.NF_INET_POST_ROUTING constant NetfilterProtoUnspec (line 29) | NetfilterProtoUnspec = sys.NFPROTO_UNSPEC constant NetfilterProtoInet (line 30) | NetfilterProtoInet = sys.NFPROTO_INET constant NetfilterProtoIPv4 (line 31) | NetfilterProtoIPv4 = sys.NFPROTO_IPV4 constant NetfilterProtoARP (line 32) | NetfilterProtoARP = sys.NFPROTO_ARP constant NetfilterProtoNetdev (line 33) | NetfilterProtoNetdev = sys.NFPROTO_NETDEV constant NetfilterProtoBridge (line 34) | NetfilterProtoBridge = sys.NFPROTO_BRIDGE constant NetfilterProtoIPv6 (line 35) | NetfilterProtoIPv6 = sys.NFPROTO_IPV6 type NetfilterOptions (line 38) | type NetfilterOptions struct type netfilterLink (line 53) | type netfilterLink struct method Update (line 90) | func (*netfilterLink) Update(_ *ebpf.Program) error { method Info (line 94) | func (nf *netfilterLink) Info() (*Info, error) { function AttachNetfilter (line 58) | func AttachNetfilter(opts NetfilterOptions) (Link, error) { FILE: link/netfilter_test.go function TestAttachNetfilter (line 14) | func TestAttachNetfilter(t *testing.T) { FILE: link/netkit.go type NetkitOptions (line 13) | type NetkitOptions struct function AttachNetkit (line 29) | func AttachNetkit(opts NetkitOptions) (Link, error) { type netkitLink (line 69) | type netkitLink struct method Info (line 75) | func (netkit *netkitLink) Info() (*Info, error) { FILE: link/netkit_test.go function TestAttachNetkit (line 19) | func TestAttachNetkit(t *testing.T) { function TestNetkitAnchor (line 30) | func TestNetkitAnchor(t *testing.T) { function init (line 75) | func init() { prevIfindex.Store(1000 - 1) } function mustAttachNetkit (line 77) | func mustAttachNetkit(tb testing.TB, prog *ebpf.Program, attachType ebpf... FILE: link/netns.go type NetNsLink (line 13) | type NetNsLink struct method Info (line 41) | func (ns *NetNsLink) Info() (*Info, error) { function AttachNetNs (line 18) | func AttachNetNs(ns int, prog *ebpf.Program) (*NetNsLink, error) { FILE: link/netns_test.go function TestSkLookup (line 14) | func TestSkLookup(t *testing.T) { function createSkLookupProgram (line 33) | func createSkLookupProgram() (*ebpf.Program, error) { function ExampleAttachNetNs (line 49) | func ExampleAttachNetNs() { FILE: link/perf_event.go constant perfAllThreads (line 47) | perfAllThreads = -1 type perfEvent (line 53) | type perfEvent struct method Close (line 66) | func (pe *perfEvent) Close() error { function newPerfEvent (line 61) | func newPerfEvent(fd *sys.FD, event *tracefs.Event) *perfEvent { type PerfEvent (line 81) | type PerfEvent interface type perfEventLink (line 92) | type perfEventLink struct method isLink (line 97) | func (pl *perfEventLink) isLink() {} method Close (line 99) | func (pl *perfEventLink) Close() error { method Update (line 115) | func (pl *perfEventLink) Update(_ *ebpf.Program) error { method PerfEvent (line 121) | func (pl *perfEventLink) PerfEvent() (*os.File, error) { method Info (line 161) | func (pl *perfEventLink) Info() (*Info, error) { function queryInfoWithString (line 141) | func queryInfoWithString(fd *sys.FD, info sys.Info, stringField *sys.Typ... type perfEventIoctl (line 231) | type perfEventIoctl struct method isLink (line 235) | func (pi *perfEventIoctl) isLink() {} method Update (line 247) | func (pi *perfEventIoctl) Update(_ *ebpf.Program) error { method Pin (line 251) | func (pi *perfEventIoctl) Pin(string) error { method Unpin (line 255) | func (pi *perfEventIoctl) Unpin() error { method Detach (line 259) | func (pi *perfEventIoctl) Detach() error { method Info (line 263) | func (pi *perfEventIoctl) Info() (*Info, error) { method PerfEvent (line 269) | func (pi *perfEventIoctl) PerfEvent() (*os.File, error) { function attachPerfEvent (line 281) | func attachPerfEvent(pe *perfEvent, prog *ebpf.Program, cookie uint64) (... function attachPerfEventIoctl (line 300) | func attachPerfEventIoctl(pe *perfEvent, prog *ebpf.Program) (*perfEvent... function attachPerfEventLink (line 318) | func attachPerfEventLink(pe *perfEvent, prog *ebpf.Program, cookie uint6... function unsafeStringPtr (line 333) | func unsafeStringPtr(str string) (unsafe.Pointer, error) { function openTracepointPerfEvent (line 344) | func openTracepointPerfEvent(tid uint64, pid int) (*sys.FD, error) { FILE: link/perf_event_test.go function TestHaveBPFLinkPerfEvent (line 11) | func TestHaveBPFLinkPerfEvent(t *testing.T) { FILE: link/program.go type RawAttachProgramOptions (line 13) | type RawAttachProgramOptions struct function RawAttachProgram (line 34) | func RawAttachProgram(opts RawAttachProgramOptions) error { type RawDetachProgramOptions (line 73) | type RawDetachProgramOptions function RawDetachProgram (line 79) | func RawDetachProgram(opts RawDetachProgramOptions) error { FILE: link/program_test.go function TestProgramAlter (line 16) | func TestProgramAlter(t *testing.T) { function TestRawAttachProgramAnchor (line 52) | func TestRawAttachProgramAnchor(t *testing.T) { FILE: link/query.go type QueryOptions (line 14) | type QueryOptions struct type QueryResult (line 25) | type QueryResult struct method HaveLinkInfo (line 36) | func (qr *QueryResult) HaveLinkInfo() bool { type AttachedProgram (line 45) | type AttachedProgram struct method LinkID (line 54) | func (ap *AttachedProgram) LinkID() (ID, bool) { function QueryPrograms (line 64) | func QueryPrograms(opts QueryOptions) (*QueryResult, error) { FILE: link/query_test.go function TestQueryPrograms (line 16) | func TestQueryPrograms(t *testing.T) { function queryCgroupProgAttachFixtures (line 55) | func queryCgroupProgAttachFixtures(t *testing.T) (*ebpf.Program, Link, Q... function queryCgroupLinkFixtures (line 72) | func queryCgroupLinkFixtures(t *testing.T) (*ebpf.Program, Link, QueryOp... function queryNetNSFixtures (line 90) | func queryNetNSFixtures(t *testing.T) (*ebpf.Program, Link, QueryOptions) { function queryTCXFixtures (line 126) | func queryTCXFixtures(t *testing.T) (*ebpf.Program, Link, QueryOptions) { FILE: link/raw_tracepoint.go type RawTracepointOptions (line 13) | type RawTracepointOptions struct function AttachRawTracepoint (line 23) | func AttachRawTracepoint(opts RawTracepointOptions) (Link, error) { type simpleRawTracepoint (line 53) | type simpleRawTracepoint struct method isLink (line 59) | func (frt *simpleRawTracepoint) isLink() {} method Close (line 61) | func (frt *simpleRawTracepoint) Close() error { method Update (line 65) | func (frt *simpleRawTracepoint) Update(_ *ebpf.Program) error { method Pin (line 69) | func (frt *simpleRawTracepoint) Pin(string) error { method Unpin (line 73) | func (frt *simpleRawTracepoint) Unpin() error { method Detach (line 77) | func (frt *simpleRawTracepoint) Detach() error { method Info (line 81) | func (frt *simpleRawTracepoint) Info() (*Info, error) { type rawTracepoint (line 85) | type rawTracepoint struct method Update (line 91) | func (rt *rawTracepoint) Update(_ *ebpf.Program) error { method Info (line 95) | func (rt *rawTracepoint) Info() (*Info, error) { FILE: link/raw_tracepoint_test.go function TestRawTracepoint (line 14) | func TestRawTracepoint(t *testing.T) { function TestRawTracepointInfo (line 30) | func TestRawTracepointInfo(t *testing.T) { function TestRawTracepoint_writable (line 53) | func TestRawTracepoint_writable(t *testing.T) { FILE: link/socket_filter.go function AttachSocketFilter (line 13) | func AttachSocketFilter(conn syscall.Conn, program *ebpf.Program) error { function DetachSocketFilter (line 29) | func DetachSocketFilter(conn syscall.Conn) error { FILE: link/socket_filter_test.go function TestSocketFilterAttach (line 12) | func TestSocketFilterAttach(t *testing.T) { FILE: link/struct_ops.go type structOpsLink (line 10) | type structOpsLink struct method Update (line 14) | func (*structOpsLink) Update(*ebpf.Program) error { type StructOpsOptions (line 18) | type StructOpsOptions struct function AttachStructOps (line 24) | func AttachStructOps(opts StructOpsOptions) (Link, error) { FILE: link/struct_ops_test.go function TestStructOps (line 17) | func TestStructOps(t *testing.T) { function mustStructOpsFixtures (line 27) | func mustStructOpsFixtures(tb testing.TB) *ebpf.Map { FILE: link/syscalls_test.go function TestHaveProgAttach (line 11) | func TestHaveProgAttach(t *testing.T) { function TestHaveProgAttachReplace (line 15) | func TestHaveProgAttachReplace(t *testing.T) { function TestHaveBPFLink (line 19) | func TestHaveBPFLink(t *testing.T) { function TestHaveProgQuery (line 23) | func TestHaveProgQuery(t *testing.T) { function TestHaveTCX (line 27) | func TestHaveTCX(t *testing.T) { function TestHaveNetkit (line 31) | func TestHaveNetkit(t *testing.T) { FILE: link/tcx.go type TCXOptions (line 13) | type TCXOptions struct function AttachTCX (line 29) | func AttachTCX(opts TCXOptions) (Link, error) { type tcxLink (line 69) | type tcxLink struct method Info (line 75) | func (tcx *tcxLink) Info() (*Info, error) { FILE: link/tcx_test.go function TestAttachTCX (line 18) | func TestAttachTCX(t *testing.T) { function TestTCXAnchor (line 27) | func TestTCXAnchor(t *testing.T) { function TestTCXExpectedRevision (line 64) | func TestTCXExpectedRevision(t *testing.T) { function mustAttachTCX (line 79) | func mustAttachTCX(tb testing.TB, prog *ebpf.Program, attachType ebpf.At... FILE: link/tracepoint.go type TracepointOptions (line 14) | type TracepointOptions struct function Tracepoint (line 37) | func Tracepoint(group, name string, prog *ebpf.Program, opts *Tracepoint... FILE: link/tracepoint_test.go function TestTracepoint (line 17) | func TestTracepoint(t *testing.T) { function TestTracepointMissing (line 35) | func TestTracepointMissing(t *testing.T) { function TestTracepointErrors (line 47) | func TestTracepointErrors(t *testing.T) { function TestTracepointProgramCall (line 62) | func TestTracepointProgramCall(t *testing.T) { function TestTracepointInfo (line 99) | func TestTracepointInfo(t *testing.T) { FILE: link/tracing.go type tracing (line 15) | type tracing struct method Update (line 19) | func (f *tracing) Update(_ *ebpf.Program) error { method Info (line 23) | func (f *tracing) Info() (*Info, error) { function AttachFreplace (line 51) | func AttachFreplace(targetProg *ebpf.Program, name string, prog *ebpf.Pr... type TracingOptions (line 107) | type TracingOptions struct type LSMOptions (line 124) | type LSMOptions struct function attachBTFID (line 134) | func attachBTFID(program *ebpf.Program, at ebpf.AttachType, cookie uint6... function AttachTracing (line 197) | func AttachTracing(opts TracingOptions) (Link, error) { function AttachLSM (line 214) | func AttachLSM(opts LSMOptions) (Link, error) { FILE: link/tracing_test.go function TestFreplace (line 12) | func TestFreplace(t *testing.T) { function TestFentryFexit (line 46) | func TestFentryFexit(t *testing.T) { function TestTracing (line 90) | func TestTracing(t *testing.T) { function TestLSM (line 158) | func TestLSM(t *testing.T) { FILE: link/uprobe.go constant permExec (line 38) | permExec fs.FileMode = 0111 type Executable (line 41) | type Executable struct method load (line 131) | func (ex *Executable) load(f *internal.SafeELFFile) error { method lazyLoadSymbols (line 180) | func (ex *Executable) lazyLoadSymbols() error { method address (line 204) | func (ex *Executable) address(symbol string, address, offset uint64) (... method Symbol (line 247) | func (ex *Executable) Symbol(address uint64) (SymbolOffset, error) { method Uprobe (line 282) | func (ex *Executable) Uprobe(symbol string, prog *ebpf.Program, opts *... method Uretprobe (line 318) | func (ex *Executable) Uretprobe(symbol string, prog *ebpf.Program, opt... method uprobe (line 335) | func (ex *Executable) uprobe(symbol string, prog *ebpf.Program, opts *... type symbol (line 51) | type symbol struct method contains (line 58) | func (s symbol) contains(address uint64) bool { type UprobeOptions (line 64) | type UprobeOptions struct method cookie (line 99) | func (uo *UprobeOptions) cookie() uint64 { function OpenExecutable (line 111) | func OpenExecutable(path string) (*Executable, error) { type SymbolOffset (line 238) | type SymbolOffset struct FILE: link/uprobe_multi.go type UprobeMultiOptions (line 18) | type UprobeMultiOptions struct method UprobeMulti (line 41) | func (ex *Executable) UprobeMulti(symbols []string, prog *ebpf.Program, ... method UretprobeMulti (line 45) | func (ex *Executable) UretprobeMulti(symbols []string, prog *ebpf.Progra... method uprobeMulti (line 53) | func (ex *Executable) uprobeMulti(symbols []string, prog *ebpf.Program, ... method addresses (line 119) | func (ex *Executable) addresses(symbols []string, addresses, offsets []u... type uprobeMultiLink (line 168) | type uprobeMultiLink struct method Update (line 174) | func (kml *uprobeMultiLink) Update(_ *ebpf.Program) error { method Info (line 178) | func (kml *uprobeMultiLink) Info() (*Info, error) { FILE: link/uprobe_multi_test.go function TestUprobeMulti (line 19) | func TestUprobeMulti(t *testing.T) { function TestUprobeMultiInfo (line 43) | func TestUprobeMultiInfo(t *testing.T) { function TestUprobeMultiInput (line 79) | func TestUprobeMultiInput(t *testing.T) { function TestUprobeMultiResolveOk (line 150) | func TestUprobeMultiResolveOk(t *testing.T) { function TestUprobeMultiResolveFail (line 172) | func TestUprobeMultiResolveFail(t *testing.T) { function TestUprobeMultiCookie (line 186) | func TestUprobeMultiCookie(t *testing.T) { function TestUprobeMultiProgramCall (line 212) | func TestUprobeMultiProgramCall(t *testing.T) { FILE: link/uprobe_test.go function TestExecutable (line 28) | func TestExecutable(t *testing.T) { function TestExecutableOffset (line 80) | func TestExecutableOffset(t *testing.T) { function TestExecutableLazyLoadSymbols (line 105) | func TestExecutableLazyLoadSymbols(t *testing.T) { function TestUprobe (line 131) | func TestUprobe(t *testing.T) { function TestUprobeInfo (line 143) | func TestUprobeInfo(t *testing.T) { function TestUprobeExtNotFound (line 167) | func TestUprobeExtNotFound(t *testing.T) { function TestUprobeExtWithOpts (line 177) | func TestUprobeExtWithOpts(t *testing.T) { function TestUprobeWithPID (line 194) | func TestUprobeWithPID(t *testing.T) { function TestUprobeWithNonExistentPID (line 206) | func TestUprobeWithNonExistentPID(t *testing.T) { function TestUretprobe (line 216) | func TestUretprobe(t *testing.T) { function TestUprobeCreatePMU (line 229) | func TestUprobeCreatePMU(t *testing.T) { function TestUprobePMUUnavailable (line 259) | func TestUprobePMUUnavailable(t *testing.T) { function TestUprobeTraceFS (line 284) | func TestUprobeTraceFS(t *testing.T) { function TestUprobeProgramCall (line 337) | func TestUprobeProgramCall(t *testing.T) { function TestUprobeProgramWrongPID (line 419) | func TestUprobeProgramWrongPID(t *testing.T) { function TestHaveRefCtrOffsetPMU (line 450) | func TestHaveRefCtrOffsetPMU(t *testing.T) { FILE: link/xdp.go type XDPAttachFlags (line 13) | type XDPAttachFlags constant XDPGenericMode (line 18) | XDPGenericMode XDPAttachFlags = 1 << (iota + 1) constant XDPDriverMode (line 20) | XDPDriverMode constant XDPOffloadMode (line 22) | XDPOffloadMode type XDPOptions (line 25) | type XDPOptions struct function AttachXDP (line 40) | func AttachXDP(opts XDPOptions) (Link, error) { type xdpLink (line 63) | type xdpLink struct method Info (line 67) | func (xdp *xdpLink) Info() (*Info, error) { FILE: link/xdp_test.go constant IfIndexLO (line 15) | IfIndexLO = 1 function TestAttachXDP (line 17) | func TestAttachXDP(t *testing.T) { FILE: linker.go type handles (line 22) | type handles method add (line 24) | func (hs *handles) add(h *btf.Handle) (int, error) { method fdArray (line 39) | func (hs handles) fdArray() []int32 { method Close (line 49) | func (hs *handles) Close() error { function hasFunctionReferences (line 73) | func hasFunctionReferences(insns asm.Instructions) bool { function applyRelocations (line 85) | func applyRelocations(insns asm.Instructions, bo binary.ByteOrder, b *bt... function flattenPrograms (line 154) | func flattenPrograms(progs map[string]*ProgramSpec, names []string) { function flattenInstructions (line 181) | func flattenInstructions(name string, progs map[string]*ProgramSpec, ref... function fixupAndValidate (line 231) | func fixupAndValidate(insns asm.Instructions) error { constant kfuncCallPoisonBase (line 252) | kfuncCallPoisonBase = 0xdedc0de function fixupKfuncs (line 257) | func fixupKfuncs(insns asm.Instructions, cache *btf.Cache) (_ handles, e... type incompatibleKfuncError (line 365) | type incompatibleKfuncError struct method Error (line 370) | func (ike *incompatibleKfuncError) Error() string { function fixupProbeReadKernel (line 376) | func fixupProbeReadKernel(ins *asm.Instruction) { function resolveKconfigReferences (line 397) | func resolveKconfigReferences(insns asm.Instructions) (_ *Map, err error) { function resolveKsymReferences (line 454) | func resolveKsymReferences(insns asm.Instructions) error { FILE: linker_test.go function TestFindReferences (line 14) | func TestFindReferences(t *testing.T) { function TestForwardFunctionDeclaration (line 54) | func TestForwardFunctionDeclaration(t *testing.T) { function TestFlattenInstructionsAllocations (line 97) | func TestFlattenInstructionsAllocations(t *testing.T) { FILE: map.go type MapOptions (line 39) | type MapOptions struct type MapSpec (line 51) | type MapSpec struct method String (line 99) | func (ms *MapSpec) String() string { method Copy (line 106) | func (ms *MapSpec) Copy() *MapSpec { method fixupMagicFields (line 137) | func (spec *MapSpec) fixupMagicFields() (*MapSpec, error) { method dataSection (line 190) | func (ms *MapSpec) dataSection() ([]byte, error) { method updateDataSection (line 211) | func (ms *MapSpec) updateDataSection(vars map[string]*VariableSpec, se... method readOnly (line 256) | func (ms *MapSpec) readOnly() bool { method writeOnly (line 260) | func (ms *MapSpec) writeOnly() bool { method Compatible (line 274) | func (ms *MapSpec) Compatible(m *Map) error { method createMap (line 549) | func (spec *MapSpec) createMap(inner *sys.FD, c *btf.Cache) (_ *Map, e... type MapKV (line 265) | type MapKV struct type Map (line 322) | type Map struct method Memory (line 473) | func (m *Map) Memory() (*Memory, error) { method unsafeMemory (line 501) | func (m *Map) unsafeMemory() (*Memory, error) { method memorySize (line 529) | func (m *Map) memorySize() (int, error) { method String (line 758) | func (m *Map) String() string { method Type (line 766) | func (m *Map) Type() MapType { method KeySize (line 771) | func (m *Map) KeySize() uint32 { method ValueSize (line 776) | func (m *Map) ValueSize() uint32 { method MaxEntries (line 781) | func (m *Map) MaxEntries() uint32 { method Flags (line 786) | func (m *Map) Flags() uint32 { method Info (line 796) | func (m *Map) Info() (*MapInfo, error) { method Handle (line 804) | func (m *Map) Handle() (*btf.Handle, error) { method Lookup (line 830) | func (m *Map) Lookup(key, valueOut interface{}) error { method LookupWithFlags (line 844) | func (m *Map) LookupWithFlags(key, valueOut interface{}, flags MapLook... method LookupAndDelete (line 860) | func (m *Map) LookupAndDelete(key, valueOut interface{}) error { method LookupAndDeleteWithFlags (line 871) | func (m *Map) LookupAndDeleteWithFlags(key, valueOut interface{}, flag... method LookupBytes (line 886) | func (m *Map) LookupBytes(key interface{}) ([]byte, error) { method lookupPerCPU (line 898) | func (m *Map) lookupPerCPU(key, valueOut any, flags MapLookupFlags) er... method lookup (line 910) | func (m *Map) lookup(key interface{}, valueOut sys.Pointer, flags MapL... method lookupAndDeletePerCPU (line 932) | func (m *Map) lookupAndDeletePerCPU(key, valueOut any, flags MapLookup... method lookupAndDelete (line 982) | func (m *Map) lookupAndDelete(key any, valuePtr sys.Pointer, flags Map... method Put (line 1021) | func (m *Map) Put(key, value interface{}) error { method Update (line 1026) | func (m *Map) Update(key, value any, flags MapUpdateFlags) error { method updatePerCPU (line 1039) | func (m *Map) updatePerCPU(key, value any, flags MapUpdateFlags) error { method update (line 1048) | func (m *Map) update(key any, valuePtr sys.Pointer, flags MapUpdateFla... method Delete (line 1071) | func (m *Map) Delete(key interface{}) error { method NextKey (line 1093) | func (m *Map) NextKey(key, nextKeyOut interface{}) error { method NextKeyBytes (line 1113) | func (m *Map) NextKeyBytes(key interface{}) ([]byte, error) { method nextKey (line 1125) | func (m *Map) nextKey(key interface{}, nextKeyOut sys.Pointer) error { method guessNonExistentKey (line 1174) | func (m *Map) guessNonExistentKey() ([]byte, error) { method BatchLookup (line 1234) | func (m *Map) BatchLookup(cursor *MapBatchCursor, keysOut, valuesOut i... method BatchLookupAndDelete (line 1258) | func (m *Map) BatchLookupAndDelete(cursor *MapBatchCursor, keysOut, va... method batchLookup (line 1272) | func (m *Map) batchLookup(cmd sys.Cmd, cursor *MapBatchCursor, keysOut... method batchLookupPerCPU (line 1301) | func (m *Map) batchLookupPerCPU(cmd sys.Cmd, cursor *MapBatchCursor, k... method batchLookupCmd (line 1324) | func (m *Map) batchLookupCmd(cmd sys.Cmd, cursor *MapBatchCursor, coun... method BatchUpdate (line 1384) | func (m *Map) BatchUpdate(keys, values interface{}, opts *BatchOptions... method batchUpdate (line 1402) | func (m *Map) batchUpdate(count int, keys any, valuePtr sys.Pointer, o... method batchUpdatePerCPU (line 1430) | func (m *Map) batchUpdatePerCPU(keys, values any, opts *BatchOptions) ... method BatchDelete (line 1446) | func (m *Map) BatchDelete(keys interface{}, opts *BatchOptions) (int, ... method Iterate (line 1502) | func (m *Map) Iterate() *MapIterator { method Close (line 1508) | func (m *Map) Close() error { method FD (line 1521) | func (m *Map) FD() int { method Clone (line 1532) | func (m *Map) Clone() (*Map, error) { method Pin (line 1565) | func (m *Map) Pin(fileName string) error { method Unpin (line 1578) | func (m *Map) Unpin() error { method IsPinned (line 1587) | func (m *Map) IsPinned() bool { method Freeze (line 1594) | func (m *Map) Freeze() error { method finalize (line 1610) | func (m *Map) finalize(spec *MapSpec) error { method marshalKey (line 1626) | func (m *Map) marshalKey(data interface{}) (sys.Pointer, error) { method marshalValue (line 1638) | func (m *Map) marshalValue(data interface{}) (sys.Pointer, error) { method unmarshalValue (line 1668) | func (m *Map) unmarshalValue(value any, buf sysenc.Buffer) error { function NewMapFromFD (line 342) | func NewMapFromFD(fd int) (*Map, error) { function newMapFromFD (line 351) | func newMapFromFD(fd *sys.FD) (*Map, error) { function NewMap (line 364) | func NewMap(spec *MapSpec) (*Map, error) { function NewMapWithOptions (line 378) | func NewMapWithOptions(spec *MapSpec, opts MapOptions) (*Map, error) { function newMapWithOptions (line 392) | func newMapWithOptions(spec *MapSpec, opts MapOptions, c *btf.Cache) (_ ... function handleMapCreateError (line 663) | func handleMapCreateError(attr sys.MapCreateAttr, spec *MapSpec, err err... function newMapFromParts (line 731) | func newMapFromParts(fd *sys.FD, name string, typ MapType, keySize, valu... type MapLookupFlags (line 819) | type MapLookupFlags constant LookupLock (line 822) | LookupLock MapLookupFlags = sys.BPF_F_LOCK function ensurePerCPUSlice (line 945) | func ensurePerCPUSlice(sliceOrPtr any) (any, error) { type MapUpdateFlags (line 1005) | type MapUpdateFlags constant UpdateAny (line 1009) | UpdateAny MapUpdateFlags = iota constant UpdateNoExist (line 1011) | UpdateNoExist MapUpdateFlags = 1 << (iota - 1) constant UpdateExist (line 1013) | UpdateExist constant UpdateLock (line 1015) | UpdateLock type MapBatchCursor (line 1267) | type MapBatchCursor struct function batchCount (line 1478) | func batchCount(keys, values any) (int, error) { function LoadPinnedMap (line 1721) | func LoadPinnedMap(fileName string, opts *LoadPinOptions) (*Map, error) { function unmarshalMap (line 1744) | func unmarshalMap(buf sysenc.Buffer) (*Map, error) { function marshalMap (line 1753) | func marshalMap(m *Map, length int) ([]byte, error) { type MapIterator (line 1770) | type MapIterator struct method Next (line 1797) | func (mi *MapIterator) Next(keyOut, valueOut interface{}) bool { method Err (line 1861) | func (mi *MapIterator) Err() error { function newMapIterator (line 1780) | func newMapIterator(target *Map) *MapIterator { function MapGetNextID (line 1868) | func MapGetNextID(startID MapID) (MapID, error) { function NewMapFromID (line 1877) | func NewMapFromID(id MapID) (*Map, error) { function sliceLen (line 1889) | func sliceLen(slice any) (int, error) { FILE: map_test.go function TestMap (line 38) | func TestMap(t *testing.T) { function TestMapSpecCopy (line 84) | func TestMapSpecCopy(t *testing.T) { function TestMapBatch (line 108) | func TestMapBatch(t *testing.T) { function TestMapBatchCursorReuse (line 205) | func TestMapBatchCursorReuse(t *testing.T) { function TestMapLookupKeyTooSmall (line 220) | func TestMapLookupKeyTooSmall(t *testing.T) { function TestMapLookupKeyNotFoundAllocations (line 229) | func TestMapLookupKeyNotFoundAllocations(t *testing.T) { function TestBatchAPIMapDelete (line 242) | func TestBatchAPIMapDelete(t *testing.T) { function TestMapClose (line 283) | func TestMapClose(t *testing.T) { function TestBatchMapWithLock (line 299) | func TestBatchMapWithLock(t *testing.T) { function TestMapWithLock (line 351) | func TestMapWithLock(t *testing.T) { function TestMapCloneNil (line 407) | func TestMapCloneNil(t *testing.T) { function TestMapPin (line 418) | func TestMapPin(t *testing.T) { function TestNestedMapPin (line 454) | func TestNestedMapPin(t *testing.T) { function TestNestedMapPinNested (line 473) | func TestNestedMapPinNested(t *testing.T) { function TestMapPinMultiple (line 492) | func TestMapPinMultiple(t *testing.T) { function TestMapPinWithEmptyPath (line 518) | func TestMapPinWithEmptyPath(t *testing.T) { function TestMapPinFailReplace (line 526) | func TestMapPinFailReplace(t *testing.T) { function TestMapUnpin (line 542) | func TestMapUnpin(t *testing.T) { function TestMapLoadPinned (line 564) | func TestMapLoadPinned(t *testing.T) { function TestMapLoadReusePinned (line 582) | func TestMapLoadReusePinned(t *testing.T) { function TestMapLoadPinnedUnpin (line 607) | func TestMapLoadPinnedUnpin(t *testing.T) { function TestMapLoadPinnedWithOptions (line 627) | func TestMapLoadPinnedWithOptions(t *testing.T) { function TestMapPinFlags (line 682) | func TestMapPinFlags(t *testing.T) { function TestMapQueue (line 707) | func TestMapQueue(t *testing.T) { function TestMapInMap (line 755) | func TestMapInMap(t *testing.T) { function TestNewMapInMapFromFD (line 801) | func TestNewMapInMapFromFD(t *testing.T) { function TestPerfEventArray (line 811) | func TestPerfEventArray(t *testing.T) { function TestCPUMap (line 823) | func TestCPUMap(t *testing.T) { function TestMapInMapValueSize (line 830) | func TestMapInMapValueSize(t *testing.T) { function TestIterateEmptyMap (line 854) | func TestIterateEmptyMap(t *testing.T) { function TestMapIterate (line 907) | func TestMapIterate(t *testing.T) { function TestIterateWrongMap (line 932) | func TestIterateWrongMap(t *testing.T) { function TestMapIteratorAllocations (line 952) | func TestMapIteratorAllocations(t *testing.T) { function TestMapBatchLookupAllocations (line 968) | func TestMapBatchLookupAllocations(t *testing.T) { type customTestUnmarshaler (line 1008) | type customTestUnmarshaler method UnmarshalBinary (line 1010) | func (c customTestUnmarshaler) UnmarshalBinary(data []byte) error { function TestMapBatchLookupCustomUnmarshaler (line 1020) | func TestMapBatchLookupCustomUnmarshaler(t *testing.T) { function TestMapIterateHashKeyOneByteFull (line 1067) | func TestMapIterateHashKeyOneByteFull(t *testing.T) { function TestMapGuessNonExistentKey (line 1101) | func TestMapGuessNonExistentKey(t *testing.T) { function TestNotExist (line 1196) | func TestNotExist(t *testing.T) { function TestExist (line 1227) | func TestExist(t *testing.T) { function TestIterateMapInMap (line 1239) | func TestIterateMapInMap(t *testing.T) { function TestPerCPUMarshaling (line 1271) | func TestPerCPUMarshaling(t *testing.T) { type bpfCgroupStorageKey (line 1323) | type bpfCgroupStorageKey struct function TestCgroupPerCPUStorageMarshaling (line 1329) | func TestCgroupPerCPUStorageMarshaling(t *testing.T) { function TestMapMarshalUnsafe (line 1403) | func TestMapMarshalUnsafe(t *testing.T) { function TestMapName (line 1445) | func TestMapName(t *testing.T) { function TestMapFromFD (line 1465) | func TestMapFromFD(t *testing.T) { function TestMapContents (line 1491) | func TestMapContents(t *testing.T) { function TestMapFreeze (line 1528) | func TestMapFreeze(t *testing.T) { function TestMapGetNextID (line 1547) | func TestMapGetNextID(t *testing.T) { function TestNewMapFromID (line 1578) | func TestNewMapFromID(t *testing.T) { function TestMapPinning (line 1605) | func TestMapPinning(t *testing.T) { function TestMapHandle (line 1662) | func TestMapHandle(t *testing.T) { function TestPerfEventArrayCompatible (line 1687) | func TestPerfEventArrayCompatible(t *testing.T) { function TestLoadWrongPin (line 1699) | func TestLoadWrongPin(t *testing.T) { type benchValue (line 1731) | type benchValue struct type customBenchValue (line 1739) | type customBenchValue method UnmarshalBinary (line 1741) | func (cbv *customBenchValue) UnmarshalBinary(buf []byte) error { method MarshalBinary (line 1750) | func (cbv *customBenchValue) MarshalBinary() ([]byte, error) { type benchKey (line 1760) | type benchKey struct method MarshalBinary (line 1764) | func (bk *benchKey) MarshalBinary() ([]byte, error) { function BenchmarkMarshaling (line 1770) | func BenchmarkMarshaling(b *testing.B) { function BenchmarkPerCPUMarshalling (line 1855) | func BenchmarkPerCPUMarshalling(b *testing.B) { function BenchmarkMap (line 1887) | func BenchmarkMap(b *testing.B) { function BenchmarkIterate (line 1947) | func BenchmarkIterate(b *testing.B) { function ExampleMap_perCPU (line 2087) | func ExampleMap_perCPU() { function ExampleMap_zeroCopy (line 2156) | func ExampleMap_zeroCopy() { function ExampleMap_NextKey (line 2183) | func ExampleMap_NextKey() { function ExampleMap_Iterate (line 2220) | func ExampleMap_Iterate() { function ExampleMap_Iterate_nestedMapsAndProgramArrays (line 2259) | func ExampleMap_Iterate_nestedMapsAndProgramArrays() { FILE: marshaler_example_test.go type customEncoding (line 15) | type customEncoding struct method MarshalBinary (line 19) | func (ce *customEncoding) MarshalBinary() ([]byte, error) { method UnmarshalBinary (line 23) | func (ce *customEncoding) UnmarshalBinary(buf []byte) error { function Example_customMarshaler (line 29) | func Example_customMarshaler() { FILE: marshalers.go function marshalMapSyscallInput (line 21) | func marshalMapSyscallInput(data any, length int) (sys.Pointer, error) { function makeMapSyscallOutput (line 34) | func makeMapSyscallOutput(dst any, length int) sysenc.Buffer { function appendPerCPUSlice (line 51) | func appendPerCPUSlice(buf []byte, slice any, possibleCPUs, elemLength, ... function marshalPerCPUValue (line 86) | func marshalPerCPUValue(slice any, elemLength int) (sys.Pointer, error) { function marshalBatchPerCPUValue (line 104) | func marshalBatchPerCPUValue(slice any, batchLen, elemLength int) ([]byt... function unmarshalPerCPUValue (line 135) | func unmarshalPerCPUValue(slice any, elemLength int, buf []byte) error { function unmarshalBatchPerCPUValue (line 180) | func unmarshalBatchPerCPUValue(slice any, batchLen, elemLength int, buf ... FILE: marshalers_test.go function TestMarshalUnmarshalBatchPerCPUValue (line 11) | func TestMarshalUnmarshalBatchPerCPUValue(t *testing.T) { function TestMarshalBatchPerCPUValue (line 31) | func TestMarshalBatchPerCPUValue(t *testing.T) { function TestUnmarshalBatchPerCPUValue (line 60) | func TestUnmarshalBatchPerCPUValue(t *testing.T) { function TestUnmarshalPerCPUValue (line 98) | func TestUnmarshalPerCPUValue(t *testing.T) { function makeFilledSlice (line 126) | func makeFilledSlice(len int) []uint32 { FILE: memory.go type Memory (line 37) | type Memory struct method close (line 81) | func (mm *Memory) close() { method Size (line 88) | func (mm *Memory) Size() uint32 { method ReadOnly (line 93) | func (mm *Memory) ReadOnly() bool { method bounds (line 98) | func (mm *Memory) bounds(off, size uint32) bool { method ReadAt (line 108) | func (mm *Memory) ReadAt(p []byte, off int64) (int, error) { method WriteAt (line 133) | func (mm *Memory) WriteAt(p []byte, off int64) (int, error) { function newMemory (line 45) | func newMemory(fd, size int) (*Memory, error) { function memoryCleanupFunc (line 73) | func memoryCleanupFunc() func([]byte) { FILE: memory_test.go function mustMmapableArray (line 16) | func mustMmapableArray(tb testing.TB, extraFlags uint32) *Map { function TestMemory (line 32) | func TestMemory(t *testing.T) { function TestMemoryBounds (line 60) | func TestMemoryBounds(t *testing.T) { function TestMemoryReadOnly (line 76) | func TestMemoryReadOnly(t *testing.T) { function TestMemoryClose (line 91) | func TestMemoryClose(t *testing.T) { FILE: memory_unsafe.go function heapObjectsCanMove (line 41) | func heapObjectsCanMove() bool function newUnsafeMemory (line 51) | func newUnsafeMemory(fd, size int) (*Memory, error) { function allocate (line 100) | func allocate(size int) (unsafe.Pointer, error) { function mapmap (line 150) | func mapmap(fd int, addr unsafe.Pointer, size, flags int) error { function unmap (line 194) | func unmap(size int) func(*byte) { function checkUnsafeMemory (line 223) | func checkUnsafeMemory[T comparable](mm *Memory, off uint32) error { function checkType (line 265) | func checkType(name string, t reflect.Type) error { function memoryPointer (line 338) | func memoryPointer[T comparable](mm *Memory, off uint32) (*T, error) { FILE: memory_unsafe_tag.go function init (line 5) | func init() { FILE: memory_unsafe_test.go function TestUnsafeMemoryDisabled (line 15) | func TestUnsafeMemoryDisabled(t *testing.T) { function TestUnsafeMemoryUnmap (line 23) | func TestUnsafeMemoryUnmap(t *testing.T) { function TestUnsafeMemoryPointer (line 34) | func TestUnsafeMemoryPointer(t *testing.T) { function TestUnsafeMemoryReadOnly (line 59) | func TestUnsafeMemoryReadOnly(t *testing.T) { function TestCheckUnsafeMemory (line 80) | func TestCheckUnsafeMemory(t *testing.T) { FILE: perf/reader.go type perfEventHeader (line 30) | type perfEventHeader struct type Record (line 38) | type Record struct function readRecord (line 59) | func readRecord(rd io.Reader, rec *Record, buf []byte, overwritable bool... function readLostRecords (line 92) | func readLostRecords(rd io.Reader) (uint64, error) { type perfEventSample (line 110) | type perfEventSample struct function readRawSample (line 114) | func readRawSample(rd io.Reader, buf, sampleBuf []byte) ([]byte, error) { type Reader (line 139) | type Reader struct method Close (line 272) | func (pr *Reader) Close() error { method SetDeadline (line 305) | func (pr *Reader) SetDeadline(t time.Time) { method Read (line 328) | func (pr *Reader) Read() (Record, error) { method ReadInto (line 337) | func (pr *Reader) ReadInto(rec *Record) error { method Pause (line 409) | func (pr *Reader) Pause() error { method Resume (line 431) | func (pr *Reader) Resume() error { method BufferSize (line 455) | func (pr *Reader) BufferSize() int { method Flush (line 461) | func (pr *Reader) Flush() error { method readRecordFromRing (line 466) | func (pr *Reader) readRecordFromRing(rec *Record, ring *perfEventRing)... type ReaderOptions (line 165) | type ReaderOptions struct function NewReader (line 184) | func NewReader(array *ebpf.Map, perCPUBuffer int) (*Reader, error) { function NewReaderWithOptions (line 189) | func NewReaderWithOptions(array *ebpf.Map, perCPUBuffer int, opts Reader... type unknownEventError (line 478) | type unknownEventError struct method Error (line 482) | func (uev *unknownEventError) Error() string { function IsUnknownEvent (line 488) | func IsUnknownEvent(err error) bool { FILE: perf/reader_test.go function TestMain (line 29) | func TestMain(m *testing.M) { function TestPerfReader (line 33) | func TestPerfReader(t *testing.T) { function TestReaderSetDeadline (line 57) | func TestReaderSetDeadline(t *testing.T) { function TestReaderSetDeadlinePendingEvents (line 80) | func TestReaderSetDeadlinePendingEvents(t *testing.T) { function TestReaderFlushPendingEvents (line 107) | func TestReaderFlushPendingEvents(t *testing.T) { function outputSamples (line 146) | func outputSamples(tb testing.TB, events *ebpf.Map, sampleSizes ...byte) { function outputSamplesProg (line 169) | func outputSamplesProg(tb testing.TB, events *ebpf.Map, sampleSizes ...b... function checkRecord (line 236) | func checkRecord(tb testing.TB, rd *Reader) (id int, remaining int) { function TestPerfReaderLostSample (line 256) | func TestPerfReaderLostSample(t *testing.T) { function TestPerfReaderOverwritable (line 351) | func TestPerfReaderOverwritable(t *testing.T) { function TestPerfReaderOverwritableEmpty (line 393) | func TestPerfReaderOverwritableEmpty(t *testing.T) { function TestPerfReaderClose (line 416) | func TestPerfReaderClose(t *testing.T) { function TestCreatePerfEvent (line 456) | func TestCreatePerfEvent(t *testing.T) { function TestReadRecord (line 464) | func TestReadRecord(t *testing.T) { function TestPause (line 479) | func TestPause(t *testing.T) { function TestPerfReaderWakeupEvents (line 564) | func TestPerfReaderWakeupEvents(t *testing.T) { function TestReadWithoutWakeup (line 595) | func TestReadWithoutWakeup(t *testing.T) { function BenchmarkReader (line 616) | func BenchmarkReader(b *testing.B) { function BenchmarkReadInto (line 643) | func BenchmarkReadInto(b *testing.B) { function bpfPerfEventOutputProgram (line 675) | func bpfPerfEventOutputProgram() (*ebpf.Program, *ebpf.Map) { function ExampleReader (line 698) | func ExampleReader() { function ExampleReader_ReadInto (line 725) | func ExampleReader_ReadInto() { function perfEventArray (line 754) | func perfEventArray(tb testing.TB) *ebpf.Map { FILE: perf/ring.go type perfEventRing (line 21) | type perfEventRing struct method Close (line 100) | func (ring *perfEventRing) Close() error { function newPerfEventRing (line 28) | func newPerfEventRing(cpu, perCPUBuffer int, opts ReaderOptions) (_ *sys... function perfBufferSize (line 85) | func perfBufferSize(perCPUBuffer int) int { function createPerfEvent (line 107) | func createPerfEvent(cpu int, opts ReaderOptions) (*sys.FD, error) { type ringReader (line 140) | type ringReader interface type forwardReader (line 148) | type forwardReader struct method loadHead (line 166) | func (rr *forwardReader) loadHead() { method size (line 170) | func (rr *forwardReader) size() int { method remaining (line 174) | func (rr *forwardReader) remaining() int { method writeTail (line 178) | func (rr *forwardReader) writeTail() { method Read (line 184) | func (rr *forwardReader) Read(p []byte) (int, error) { function newForwardReader (line 155) | func newForwardReader(meta *unix.PerfEventMmapPage, ring []byte) *forwar... type reverseReader (line 208) | type reverseReader struct method loadHead (line 230) | func (rr *reverseReader) loadHead() { method size (line 261) | func (rr *reverseReader) size() int { method remaining (line 265) | func (rr *reverseReader) remaining() int { method writeTail (line 271) | func (rr *reverseReader) writeTail() { method Read (line 276) | func (rr *reverseReader) Read(p []byte) (int, error) { function newReverseReader (line 220) | func newReverseReader(meta *unix.PerfEventMmapPage, ring []byte) *revers... FILE: perf/ring_test.go function TestRingBufferReader (line 15) | func TestRingBufferReader(t *testing.T) { function TestRingBufferReverseReader (line 27) | func TestRingBufferReverseReader(t *testing.T) { function checkRead (line 85) | func checkRead(t *testing.T, r io.Reader, want []byte, wantErr error) { function checkReadBuffer (line 89) | func checkReadBuffer(t *testing.T, r io.Reader, want []byte, wantErr err... function makeBuffer (line 98) | func makeBuffer(size int) []byte { function makeReverseRing (line 106) | func makeReverseRing(size, offset int) *reverseReader { function makeForwardRing (line 120) | func makeForwardRing(size, offset int) *forwardReader { function TestPerfEventRing (line 134) | func TestPerfEventRing(t *testing.T) { FILE: pin/load.go type Pinner (line 14) | type Pinner interface function Load (line 23) | func Load(path string, opts *ebpf.LoadPinOptions) (Pinner, error) { FILE: pin/load_test.go function mustPinnedProgram (line 16) | func mustPinnedProgram(t *testing.T, path string) *ebpf.Program { function mustPinnedMap (line 47) | func mustPinnedMap(t *testing.T, path string) *ebpf.Map { function TestLoad (line 76) | func TestLoad(t *testing.T) { function TestMain (line 101) | func TestMain(m *testing.M) { FILE: pin/pin.go type Pin (line 6) | type Pin struct method close (line 11) | func (p *Pin) close() { method Take (line 20) | func (p *Pin) Take() { FILE: pin/walk_other.go function WalkDir (line 21) | func WalkDir(root string, opts *ebpf.LoadPinOptions) iter.Seq2[*Pin, err... FILE: pin/walk_test.go function TestWalkDir (line 17) | func TestWalkDir(t *testing.T) { FILE: pin/walk_windows.go function WalkDir (line 17) | func WalkDir(root string, opts *ebpf.LoadPinOptions) iter.Seq2[*Pin, err... FILE: prog.go constant outputPad (line 51) | outputPad = 256 + 2 constant minVerifierLogSize (line 56) | minVerifierLogSize = 64 * 1024 constant maxVerifierLogSize (line 61) | maxVerifierLogSize = math.MaxUint32 >> 2 constant maxVerifierAttempts (line 67) | maxVerifierAttempts = 30 type ProgramOptions (line 70) | type ProgramOptions struct type ProgramSpec (line 110) | type ProgramSpec struct method Copy (line 165) | func (ps *ProgramSpec) Copy() *ProgramSpec { method Tag (line 182) | func (ps *ProgramSpec) Tag() (string, error) { method Compatible (line 190) | func (ps *ProgramSpec) Compatible(info *ProgramInfo) error { method targetsKernelModule (line 209) | func (ps *ProgramSpec) targetsKernelModule() bool { type Program (line 236) | type Program struct method String (line 638) | func (p *Program) String() string { method Type (line 646) | func (p *Program) Type() ProgramType { method Info (line 653) | func (p *Program) Info() (*ProgramInfo, error) { method Stats (line 661) | func (p *Program) Stats() (*ProgramStats, error) { method Handle (line 669) | func (p *Program) Handle() (*btf.Handle, error) { method FD (line 686) | func (p *Program) FD() int { method Clone (line 695) | func (p *Program) Clone() (*Program, error) { method Pin (line 716) | func (p *Program) Pin(fileName string) error { method Unpin (line 729) | func (p *Program) Unpin() error { method IsPinned (line 738) | func (p *Program) IsPinned() bool { method Close (line 745) | func (p *Program) Close() error { method Test (line 795) | func (p *Program) Test(in []byte) (uint32, []byte, error) { method Run (line 822) | func (p *Program) Run(opts *RunOptions) (uint32, error) { method Benchmark (line 842) | func (p *Program) Benchmark(in []byte, repeat int, reset func()) (uint... method run (line 908) | func (p *Program) run(opts *RunOptions) (uint32, time.Duration, error) { method BindMap (line 1084) | func (p *Program) BindMap(m *Map) error { function NewProgram (line 253) | func NewProgram(spec *ProgramSpec) (*Program, error) { function NewProgramWithOptions (line 264) | func NewProgramWithOptions(spec *ProgramSpec, opts ProgramOptions) (*Pro... function newProgramWithOptions (line 285) | func newProgramWithOptions(spec *ProgramSpec, opts ProgramOptions, c *bt... function retryLogAttrs (line 555) | func retryLogAttrs(attr *sys.ProgLoadAttr, startSize uint32, err error) ... function NewProgramFromFD (line 604) | func NewProgramFromFD(fd int) (*Program, error) { function NewProgramFromID (line 617) | func NewProgramFromID(id ProgramID) (*Program, error) { function newProgramFromFD (line 628) | func newProgramFromFD(fd *sys.FD) (*Program, error) { type RunOptions (line 754) | type RunOptions struct function unmarshalProgram (line 1017) | func unmarshalProgram(buf sysenc.Buffer) (*Program, error) { function marshalProgram (line 1028) | func marshalProgram(p *Program, length int) ([]byte, error) { function LoadPinnedProgram (line 1046) | func LoadPinnedProgram(fileName string, opts *LoadPinOptions) (*Program,... function ProgramGetNextID (line 1075) | func ProgramGetNextID(startID ProgramID) (ProgramID, error) { function findProgramTargetInKernel (line 1105) | func findProgramTargetInKernel(name string, progType ProgramType, attach... function findTargetInKernel (line 1179) | func findTargetInKernel(typeName string, target *btf.Type, cache *btf.Ca... function findTargetInModule (line 1211) | func findTargetInModule(typeName string, target *btf.Type, cache *btf.Ca... function findTargetInProgram (line 1250) | func findTargetInProgram(prog *Program, name string, progType ProgramTyp... FILE: prog_linux_test.go function TestProgramTestRunInterrupt (line 20) | func TestProgramTestRunInterrupt(t *testing.T) { function TestProgramVerifierLogLinux (line 92) | func TestProgramVerifierLogLinux(t *testing.T) { function TestProgramTestRunSyscall (line 140) | func TestProgramTestRunSyscall(t *testing.T) { FILE: prog_test.go function TestProgramRun (line 27) | func TestProgramRun(t *testing.T) { function TestProgramRunWithOptions (line 88) | func TestProgramRunWithOptions(t *testing.T) { function TestProgramRunRawTracepoint (line 131) | func TestProgramRunRawTracepoint(t *testing.T) { function TestProgramRunEmptyData (line 147) | func TestProgramRunEmptyData(t *testing.T) { function TestProgramBenchmark (line 154) | func TestProgramBenchmark(t *testing.T) { function TestProgramClose (line 176) | func TestProgramClose(t *testing.T) { function TestProgramPin (line 184) | func TestProgramPin(t *testing.T) { function TestProgramUnpin (line 220) | func TestProgramUnpin(t *testing.T) { function TestProgramLoadPinnedWithFlags (line 241) | func TestProgramLoadPinnedWithFlags(t *testing.T) { function TestProgramVerifierOutputOnError (line 265) | func TestProgramVerifierOutputOnError(t *testing.T) { function TestProgramKernelVersion (line 298) | func TestProgramKernelVersion(t *testing.T) { function TestProgramVerifierLog (line 312) | func TestProgramVerifierLog(t *testing.T) { function TestProgramVerifierLogRetry (line 376) | func TestProgramVerifierLogRetry(t *testing.T) { function TestProgramWithUnsatisfiedMap (line 465) | func TestProgramWithUnsatisfiedMap(t *testing.T) { function TestProgramName (line 482) | func TestProgramName(t *testing.T) { function TestProgramCloneNil (line 504) | func TestProgramCloneNil(t *testing.T) { function TestProgramMarshaling (line 515) | func TestProgramMarshaling(t *testing.T) { function TestProgramFromFD (line 554) | func TestProgramFromFD(t *testing.T) { function TestHaveProgTestRun (line 575) | func TestHaveProgTestRun(t *testing.T) { function TestProgramGetNextID (line 579) | func TestProgramGetNextID(t *testing.T) { function TestNewProgramFromID (line 606) | func TestNewProgramFromID(t *testing.T) { function TestProgramRejectIncorrectByteOrder (line 633) | func TestProgramRejectIncorrectByteOrder(t *testing.T) { function TestProgramSpecCopy (line 649) | func TestProgramSpecCopy(t *testing.T) { function TestProgramSpecCompatible (line 671) | func TestProgramSpecCompatible(t *testing.T) { function TestProgramAttachToKernel (line 696) | func TestProgramAttachToKernel(t *testing.T) { function TestProgramKernelTypes (line 774) | func TestProgramKernelTypes(t *testing.T) { function TestProgramBindMap (line 800) | func TestProgramBindMap(t *testing.T) { function TestProgramInstructions (line 814) | func TestProgramInstructions(t *testing.T) { function TestProgramLoadErrors (line 843) | func TestProgramLoadErrors(t *testing.T) { function TestProgramTargetsKernelModule (line 882) | func TestProgramTargetsKernelModule(t *testing.T) { function TestProgramLoadBoundToDevice (line 890) | func TestProgramLoadBoundToDevice(t *testing.T) { function BenchmarkNewProgram (line 919) | func BenchmarkNewProgram(b *testing.B) { function ExampleVerifierError_retrieveFullLog (line 935) | func ExampleVerifierError_retrieveFullLog() { function ExampleVerifierError (line 954) | func ExampleVerifierError() { function ExampleProgram_retrieveVerifierLog (line 983) | func ExampleProgram_retrieveVerifierLog() { function ExampleProgram_unmarshalFromMap (line 1006) | func ExampleProgram_unmarshalFromMap() { function ExampleProgramSpec_Compatible (line 1037) | func ExampleProgramSpec_Compatible() { FILE: ringbuf/helper_other_test.go function mustOutputSamplesProg (line 14) | func mustOutputSamplesProg(tb testing.TB, sampleMessages ...sampleMessag... FILE: ringbuf/helper_test.go function mustRun (line 14) | func mustRun(tb testing.TB, prog *ebpf.Program) { FILE: ringbuf/helper_windows_test.go function mustOutputSamplesProg (line 12) | func mustOutputSamplesProg(tb testing.TB, sampleMessages ...sampleMessag... FILE: ringbuf/reader.go type poller (line 23) | type poller interface type eventRing (line 30) | type eventRing interface type ringbufHeader (line 38) | type ringbufHeader struct method isBusy (line 45) | func (rh *ringbufHeader) isBusy() bool { method isDiscard (line 49) | func (rh *ringbufHeader) isDiscard() bool { method dataLen (line 53) | func (rh *ringbufHeader) dataLen() int { constant ringbufHeaderSize (line 43) | ringbufHeaderSize = int(unsafe.Sizeof(ringbufHeader{})) type Record (line 57) | type Record struct type Reader (line 66) | type Reader struct method Close (line 114) | func (r *Reader) Close() error { method SetDeadline (line 138) | func (r *Reader) SetDeadline(t time.Time) { method Read (line 154) | func (r *Reader) Read() (Record, error) { method ReadInto (line 161) | func (r *Reader) ReadInto(rec *Record) error { method BufferSize (line 205) | func (r *Reader) BufferSize() int { method Flush (line 211) | func (r *Reader) Flush() error { method AvailableBytes (line 216) | func (r *Reader) AvailableBytes() int { function NewReader (line 79) | func NewReader(ringbufMap *ebpf.Map) (*Reader, error) { FILE: ringbuf/reader_other.go type epollPoller (line 16) | type epollPoller struct method Wait (line 41) | func (p *epollPoller) Wait(deadline time.Time) error { function newPoller (line 21) | func newPoller(fd int) (*epollPoller, error) { FILE: ringbuf/reader_test.go type sampleMessage (line 20) | type sampleMessage struct function TestMain (line 26) | func TestMain(m *testing.M) { function TestRingbufReader (line 30) | func TestRingbufReader(t *testing.T) { function TestReaderBlocking (line 121) | func TestReaderBlocking(t *testing.T) { function TestReaderNoWakeup (line 174) | func TestReaderNoWakeup(t *testing.T) { function TestReaderFlushPendingEvents (line 223) | func TestReaderFlushPendingEvents(t *testing.T) { function TestReaderSetDeadline (line 275) | func TestReaderSetDeadline(t *testing.T) { function TestReadAfterClose (line 294) | func TestReadAfterClose(t *testing.T) { function BenchmarkReader (line 325) | func BenchmarkReader(b *testing.B) { function BenchmarkReadInto (line 363) | func BenchmarkReadInto(b *testing.B) { FILE: ringbuf/reader_windows.go type windowsPoller (line 20) | type windowsPoller struct method Wait (line 56) | func (p *windowsPoller) Wait(deadline time.Time) error { method Flush (line 88) | func (p *windowsPoller) Flush() error { method Close (line 100) | func (p *windowsPoller) Close() error { function newPoller (line 27) | func newPoller(fd int) (*windowsPoller, error) { FILE: ringbuf/ring.go type ringReader (line 13) | type ringReader struct method size (line 33) | func (rr *ringReader) size() int { method AvailableBytes (line 38) | func (rr *ringReader) AvailableBytes() uint64 { method readRecord (line 45) | func (rr *ringReader) readRecord(rec *Record) error { function newRingReader (line 20) | func newRingReader(cons_ptr, prod_ptr *uintptr, ring []byte) *ringReader { FILE: ringbuf/ring_other.go type mmapEventRing (line 17) | type mmapEventRing struct method Close (line 52) | func (ring *mmapEventRing) Close() error { function newRingBufEventRing (line 24) | func newRingBufEventRing(mapFD, size int) (*mmapEventRing, error) { FILE: ringbuf/ring_windows.go type windowsEventRing (line 15) | type windowsEventRing struct method Close (line 65) | func (ring *windowsEventRing) Close() error { function newRingBufEventRing (line 23) | func newRingBufEventRing(mapFD, size int) (*windowsEventRing, error) { FILE: rlimit/rlimit_linux.go function init (line 23) | func init() { function detectMemcgAccounting (line 38) | func detectMemcgAccounting() error { function RemoveMemlock (line 103) | func RemoveMemlock() error { FILE: rlimit/rlimit_linux_test.go function TestRemoveMemlock (line 12) | func TestRemoveMemlock(t *testing.T) { FILE: rlimit/rlimit_other.go function RemoveMemlock (line 6) | func RemoveMemlock() error { return nil } FILE: struct_ops.go constant structOpsValuePrefix (line 13) | structOpsValuePrefix = "bpf_struct_ops_" constant structOpsLinkSec (line 14) | structOpsLinkSec = ".struct_ops.link" constant structOpsSec (line 15) | structOpsSec = ".struct_ops" constant structOpsKeySize (line 16) | structOpsKeySize = 4 function structOpsFindInnerType (line 32) | func structOpsFindInnerType(vType *btf.Struct) (*btf.Struct, uint32, err... function structOpsFindTarget (line 45) | func structOpsFindTarget(userType *btf.Struct, cache *btf.Cache) (vType ... function structOpsPopulateValue (line 69) | func structOpsPopulateValue(km btf.Member, kernVData []byte, p *Program)... function structOpsCopyMember (line 90) | func structOpsCopyMember(m, km btf.Member, data []byte, kernVData []byte... function structOpsIsMemZeroed (line 139) | func structOpsIsMemZeroed(data []byte) bool { function structOpsSetAttachTo (line 153) | func structOpsSetAttachTo( FILE: struct_ops_test.go function TestCreateStructOpsMapSpecSimple (line 11) | func TestCreateStructOpsMapSpecSimple(t *testing.T) { FILE: syscalls.go function sanitizeName (line 35) | func sanitizeName(name string, replacement rune) string { function maybeFillObjName (line 54) | func maybeFillObjName(name string) sys.ObjName { function progLoad (line 67) | func progLoad(insns asm.Instructions, typ ProgramType, license string) (... function wrapMapError (line 172) | func wrapMapError(err error) error { FILE: syscalls_test.go function TestSanitizeName (line 11) | func TestSanitizeName(t *testing.T) { function TestHaveBatchAPI (line 26) | func TestHaveBatchAPI(t *testing.T) { function TestHaveObjName (line 30) | func TestHaveObjName(t *testing.T) { function TestObjNameAllowsDot (line 34) | func TestObjNameAllowsDot(t *testing.T) { function TestHaveNestedMaps (line 38) | func TestHaveNestedMaps(t *testing.T) { function TestHaveMapMutabilityModifiers (line 42) | func TestHaveMapMutabilityModifiers(t *testing.T) { function TestHaveMmapableMaps (line 46) | func TestHaveMmapableMaps(t *testing.T) { function TestHaveInnerMaps (line 50) | func TestHaveInnerMaps(t *testing.T) { function TestHaveProbeReadKernel (line 54) | func TestHaveProbeReadKernel(t *testing.T) { function TestHaveBPFToBPFCalls (line 58) | func TestHaveBPFToBPFCalls(t *testing.T) { function TestHaveSyscallWrapper (line 62) | func TestHaveSyscallWrapper(t *testing.T) { function TestHaveProgramExtInfos (line 66) | func TestHaveProgramExtInfos(t *testing.T) { FILE: testdata/common.h type _Bool (line 3) | typedef _Bool bool; type libbpf_tristate (line 10) | enum libbpf_tristate { type bpf_map_def (line 53) | struct bpf_map_def { FILE: testdata/constants.c function freeze_rodata (line 14) | int freeze_rodata() { FILE: testdata/errors.c type nonexist (line 4) | struct nonexist { type nonexist_enum (line 8) | enum nonexist_enum { NON_EXIST = 1 } function poisoned_single (line 17) | int poisoned_single() { function poisoned_double (line 23) | int poisoned_double() { function poisoned_kfunc (line 30) | int poisoned_kfunc() { FILE: testdata/fentry_fexit.c function trace_on_entry (line 5) | int trace_on_entry() { function trace_on_exit (line 9) | int trace_on_exit() { function target (line 13) | int target() { FILE: testdata/freplace.c type bpf_args (line 7) | struct bpf_args { function subprog (line 11) | __attribute__((noinline)) int subprog() { function sched_process_exec (line 16) | int sched_process_exec(struct bpf_args *ctx) { function replacement (line 20) | int replacement() { FILE: testdata/fwd_decl.c function call_fwd (line 8) | int call_fwd() { FILE: testdata/invalid-kfunc.c function call_kfunc (line 8) | int call_kfunc() { FILE: testdata/invalid_map.c type bpf_map_def (line 9) | struct bpf_map_def FILE: testdata/invalid_map_static.c type bpf_map_def (line 5) | struct bpf_map_def type bpf_map_def (line 14) | struct bpf_map_def function xdp_prog (line 22) | int xdp_prog() { FILE: testdata/iproute2_map_compat.c type bpf_elf_map (line 11) | struct bpf_elf_map { type bpf_elf_map (line 23) | struct bpf_elf_map FILE: testdata/kconfig.c type libbpf_tristate (line 11) | enum libbpf_tristate function kconfig (line 14) | int kconfig() { FILE: testdata/kfunc-kmod.c function call_kfunc (line 7) | int call_kfunc() { FILE: testdata/kfunc.c type __sk_buff (line 7) | struct __sk_buff {} type nf_conn (line 8) | struct nf_conn {} type bpf_sock_tuple (line 9) | struct bpf_sock_tuple {} type bpf_ct_opts (line 10) | struct bpf_ct_opts {} type bpf_cpumask (line 11) | struct bpf_cpumask {} type nf_conn (line 13) | struct nf_conn type __sk_buff (line 13) | struct __sk_buff type bpf_sock_tuple (line 13) | struct bpf_sock_tuple type bpf_ct_opts (line 13) | struct bpf_ct_opts type nf_conn (line 14) | struct nf_conn function call_kfunc (line 16) | int call_kfunc(void *ctx) { function benchmark (line 27) | int benchmark() { type bpf_cpumask (line 36) | struct bpf_cpumask type bpf_cpumask (line 37) | struct bpf_cpumask function weak_kfunc_missing (line 39) | int weak_kfunc_missing(void *ctx) { function call_weak_kfunc (line 48) | int call_weak_kfunc(void *ctx) { FILE: testdata/ksym.c function ksym_test (line 17) | int ksym_test() { function ksym_missing_test (line 34) | int ksym_missing_test() { FILE: testdata/linked.h type h32_btf (line 7) | struct h32_btf { FILE: testdata/linked1.c type h32_btf (line 5) | struct h32_btf type h32_btf (line 8) | struct h32_btf type h32_btf (line 11) | struct h32_btf type h32_btf (line 14) | struct h32_btf type bpf_map_def (line 17) | struct bpf_map_def type bpf_map_def (line 20) | struct bpf_map_def function entry_l2 (line 24) | int entry_l2() { function l1 (line 29) | int l1() { function l1_w (line 34) | int l1_w() { function entry_l1_w (line 37) | int entry_l1_w() { function __noinline (line 42) | __noinline int l1_s() { function entry_l1_s (line 45) | int entry_l1_s() { function ww (line 50) | int ww() { function entry_ww (line 53) | int entry_ww() { FILE: testdata/linked2.c type h32_btf (line 5) | struct h32_btf type h32_btf (line 8) | struct h32_btf type h32_btf (line 11) | struct h32_btf type h32_btf (line 14) | struct h32_btf type bpf_map_def (line 17) | struct bpf_map_def type bpf_map_def (line 20) | struct bpf_map_def function entry_l1 (line 24) | int entry_l1() { function l2 (line 29) | int l2() { function __noinline (line 34) | __noinline int l1_w() { function entry_l1_w (line 37) | int entry_l1_w() { function l1_s (line 42) | int l1_s() { function entry_l1_s (line 45) | int entry_l1_s() { function ww (line 50) | int ww() { function entry_ww (line 53) | int entry_ww() { FILE: testdata/loader.c function global_fn2 (line 18) | int __attribute__((noinline)) global_fn2(uint32_t arg) { function global_fn (line 26) | int __attribute__((noinline)) global_fn(uint32_t arg) { function xdp_prog (line 41) | int xdp_prog() { function no_relocation (line 49) | int no_relocation() { function asm_relocation (line 54) | int asm_relocation() { function data_sections (line 65) | int data_sections() { function anon_const (line 87) | int anon_const() { FILE: testdata/loader.h type inner_map_t (line 31) | struct inner_map_t { type inner_map_t (line 43) | struct inner_map_t type perf_event (line 60) | struct perf_event { type perf_event (line 68) | struct perf_event type array_map_t (line 71) | typedef struct { type bpf_map_def (line 84) | struct bpf_map_def FILE: testdata/loader_nobtf.h type bpf_map_def (line 7) | struct bpf_map_def type bpf_map_def (line 15) | struct bpf_map_def type bpf_map_def (line 26) | struct bpf_map_def FILE: testdata/manyprogs.c type bpf_map_def (line 9) | struct bpf_map_def type ns_common (line 17) | struct ns_common { type mnt_namespace (line 20) | struct mnt_namespace { type nsproxy (line 23) | struct nsproxy { type task_struct (line 26) | struct task_struct { function impl (line 31) | static inline int impl() { FILE: testdata/map_spin_lock.c type bpf_spin_lock (line 5) | struct bpf_spin_lock { type hash_elem (line 9) | struct hash_elem { type hash_elem (line 17) | struct hash_elem FILE: testdata/raw_tracepoint.c type bpf_args (line 7) | struct bpf_args { function sched_process_exec (line 11) | int sched_process_exec(struct bpf_args *ctx) { FILE: testdata/strings.c function filter (line 16) | int filter() { FILE: testdata/struct_ops.c type bpf_testmod_ops (line 5) | struct bpf_testmod_ops { function test_1 (line 11) | int test_1(void) { type bpf_testmod_ops (line 15) | struct bpf_testmod_ops FILE: testdata/subprog_reloc.c type bpf_map_def (line 8) | struct bpf_map_def function sub_prog (line 15) | static int sub_prog() { function fp_relocation (line 24) | int fp_relocation() { FILE: testdata/variables.c function set_vars (line 11) | int set_vars() { function get_bss (line 18) | int get_bss() { function get_data (line 22) | int get_data() { function get_rodata (line 26) | int get_rodata() { type var_struct_t (line 30) | struct var_struct_t { type var_struct_t (line 34) | struct var_struct_t function check_struct (line 35) | int check_struct() { type var_struct_pad_t (line 40) | struct var_struct_pad_t { type var_struct_pad_t (line 47) | struct var_struct_pad_t function check_struct_pad (line 48) | int check_struct_pad() { function check_array (line 55) | int check_array() { function add_atomic (line 60) | int add_atomic() { FILE: types.go type MapType (line 12) | type MapType method hasPerCPUValue (line 133) | func (mt MapType) hasPerCPUValue() bool { method canStoreMapOrProgram (line 146) | func (mt MapType) canStoreMapOrProgram() bool { method canStoreMap (line 152) | func (mt MapType) canStoreMap() bool { method canStoreProgram (line 158) | func (mt MapType) canStoreProgram() bool { method canHaveValueSize (line 163) | func (mt MapType) canHaveValueSize() bool { method mustHaveNoPrealloc (line 180) | func (mt MapType) mustHaveNoPrealloc() bool { constant UnspecifiedMap (line 16) | UnspecifiedMap MapType = MapType(platform.LinuxTag | iota) constant Hash (line 18) | Hash constant Array (line 20) | Array constant ProgramArray (line 26) | ProgramArray constant PerfEventArray (line 29) | PerfEventArray constant PerCPUHash (line 33) | PerCPUHash constant PerCPUArray (line 39) | PerCPUArray constant StackTrace (line 42) | StackTrace constant CGroupArray (line 45) | CGroupArray constant LRUHash (line 48) | LRUHash constant LRUCPUHash (line 54) | LRUCPUHash constant LPMTrie (line 58) | LPMTrie constant ArrayOfMaps (line 61) | ArrayOfMaps constant HashOfMaps (line 64) | HashOfMaps constant DevMap (line 66) | DevMap constant SockMap (line 68) | SockMap constant CPUMap (line 70) | CPUMap constant XSKMap (line 72) | XSKMap constant SockHash (line 74) | SockHash constant CGroupStorage (line 76) | CGroupStorage constant ReusePortSockArray (line 78) | ReusePortSockArray constant PerCPUCGroupStorage (line 80) | PerCPUCGroupStorage constant Queue (line 82) | Queue constant Stack (line 84) | Stack constant SkStorage (line 86) | SkStorage constant DevMapHash (line 88) | DevMapHash constant StructOpsMap (line 91) | StructOpsMap constant RingBuf (line 93) | RingBuf constant InodeStorage (line 95) | InodeStorage constant TaskStorage (line 97) | TaskStorage constant BloomFilter (line 99) | BloomFilter constant UserRingbuf (line 101) | UserRingbuf constant CgroupStorage (line 103) | CgroupStorage constant Arena (line 105) | Arena constant WindowsHash (line 110) | WindowsHash MapType = MapType(platform.WindowsTag | iota + 1) constant WindowsArray (line 111) | WindowsArray constant WindowsProgramArray (line 112) | WindowsProgramArray constant WindowsPerCPUHash (line 113) | WindowsPerCPUHash constant WindowsPerCPUArray (line 114) | WindowsPerCPUArray constant WindowsHashOfMaps (line 115) | WindowsHashOfMaps constant WindowsArrayOfMaps (line 116) | WindowsArrayOfMaps constant WindowsLRUHash (line 117) | WindowsLRUHash constant WindowsLPMTrie (line 118) | WindowsLPMTrie constant WindowsQueue (line 119) | WindowsQueue constant WindowsLRUCPUHash (line 120) | WindowsLRUCPUHash constant WindowsStack (line 121) | WindowsStack constant WindowsRingBuf (line 122) | WindowsRingBuf function MapTypeForPlatform (line 128) | func MapTypeForPlatform(plat string, typ uint32) (MapType, error) { type ProgramType (line 192) | type ProgramType constant UnspecifiedProgram (line 196) | UnspecifiedProgram = ProgramType(sys.BPF_PROG_TYPE_UNSPEC) constant SocketFilter (line 197) | SocketFilter = ProgramType(sys.BPF_PROG_TYPE_SOCKET_FILTER) constant Kprobe (line 198) | Kprobe = ProgramType(sys.BPF_PROG_TYPE_KPROBE) constant SchedCLS (line 199) | SchedCLS = ProgramType(sys.BPF_PROG_TYPE_SCHED_CLS) constant SchedACT (line 200) | SchedACT = ProgramType(sys.BPF_PROG_TYPE_SCHED_ACT) constant TracePoint (line 201) | TracePoint = ProgramType(sys.BPF_PROG_TYPE_TRACEPOINT) constant XDP (line 202) | XDP = ProgramType(sys.BPF_PROG_TYPE_XDP) constant PerfEvent (line 203) | PerfEvent = ProgramType(sys.BPF_PROG_TYPE_PERF_EVENT) constant CGroupSKB (line 204) | CGroupSKB = ProgramType(sys.BPF_PROG_TYPE_CGROUP_SKB) constant CGroupSock (line 205) | CGroupSock = ProgramType(sys.BPF_PROG_TYPE_CGROUP_SOCK) constant LWTIn (line 206) | LWTIn = ProgramType(sys.BPF_PROG_TYPE_LWT_IN) constant LWTOut (line 207) | LWTOut = ProgramType(sys.BPF_PROG_TYPE_LWT_OUT) constant LWTXmit (line 208) | LWTXmit = ProgramType(sys.BPF_PROG_TYPE_LWT_XMIT) constant SockOps (line 209) | SockOps = ProgramType(sys.BPF_PROG_TYPE_SOCK_OPS) constant SkSKB (line 210) | SkSKB = ProgramType(sys.BPF_PROG_TYPE_SK_SKB) constant CGroupDevice (line 211) | CGroupDevice = ProgramType(sys.BPF_PROG_TYPE_CGROUP_DEVICE) constant SkMsg (line 212) | SkMsg = ProgramType(sys.BPF_PROG_TYPE_SK_MSG) constant RawTracepoint (line 213) | RawTracepoint = ProgramType(sys.BPF_PROG_TYPE_RAW_TRACEPOINT) constant CGroupSockAddr (line 214) | CGroupSockAddr = ProgramType(sys.BPF_PROG_TYPE_CGROUP_SOCK_ADDR) constant LWTSeg6Local (line 215) | LWTSeg6Local = ProgramType(sys.BPF_PROG_TYPE_LWT_SEG6LOCAL) constant LircMode2 (line 216) | LircMode2 = ProgramType(sys.BPF_PROG_TYPE_LIRC_MODE2) constant SkReuseport (line 217) | SkReuseport = ProgramType(sys.BPF_PROG_TYPE_SK_REUSEPORT) constant FlowDissector (line 218) | FlowDissector = ProgramType(sys.BPF_PROG_TYPE_FLOW_DISSECTOR) constant CGroupSysctl (line 219) | CGroupSysctl = ProgramType(sys.BPF_PROG_TYPE_CGROUP_SYSCTL) constant RawTracepointWritable (line 220) | RawTracepointWritable = ProgramType(sys.BPF_PROG_TYPE_RAW_TRACEPOINT_WRI... constant CGroupSockopt (line 221) | CGroupSockopt = ProgramType(sys.BPF_PROG_TYPE_CGROUP_SOCKOPT) constant Tracing (line 222) | Tracing = ProgramType(sys.BPF_PROG_TYPE_TRACING) constant StructOps (line 223) | StructOps = ProgramType(sys.BPF_PROG_TYPE_STRUCT_OPS) constant Extension (line 224) | Extension = ProgramType(sys.BPF_PROG_TYPE_EXT) constant LSM (line 225) | LSM = ProgramType(sys.BPF_PROG_TYPE_LSM) constant SkLookup (line 226) | SkLookup = ProgramType(sys.BPF_PROG_TYPE_SK_LOOKUP) constant Syscall (line 227) | Syscall = ProgramType(sys.BPF_PROG_TYPE_SYSCALL) constant Netfilter (line 228) | Netfilter = ProgramType(sys.BPF_PROG_TYPE_NETFILTER) constant WindowsXDP (line 235) | WindowsXDP ProgramType = ProgramType(platform.WindowsTag) | (iota + 1) constant WindowsBind (line 236) | WindowsBind constant WindowsCGroupSockAddr (line 237) | WindowsCGroupSockAddr constant WindowsSockOps (line 238) | WindowsSockOps constant WindowsXDPTest (line 239) | WindowsXDPTest ProgramType = ProgramType(platform.WindowsTag) | 998 constant WindowsSample (line 240) | WindowsSample ProgramType = ProgramType(platform.WindowsTag) | 999 function ProgramTypeForPlatform (line 246) | func ProgramTypeForPlatform(plat string, value uint32) (ProgramType, err... type AttachType (line 253) | type AttachType constant AttachNone (line 258) | AttachNone AttachType = 0 constant AttachCGroupInetIngress (line 262) | AttachCGroupInetIngress = AttachType(sys.BPF_CGROUP_INET_INGRESS) constant AttachCGroupInetEgress (line 263) | AttachCGroupInetEgress = AttachType(sys.BPF_CGROUP_INET_EGRESS) constant AttachCGroupInetSockCreate (line 264) | AttachCGroupInetSockCreate = AttachType(sys.BPF_CGROUP_INET_SOCK_C... constant AttachCGroupSockOps (line 265) | AttachCGroupSockOps = AttachType(sys.BPF_CGROUP_SOCK_OPS) constant AttachSkSKBStreamParser (line 266) | AttachSkSKBStreamParser = AttachType(sys.BPF_SK_SKB_STREAM_PARSER) constant AttachSkSKBStreamVerdict (line 267) | AttachSkSKBStreamVerdict = AttachType(sys.BPF_SK_SKB_STREAM_VERD... constant AttachCGroupDevice (line 268) | AttachCGroupDevice = AttachType(sys.BPF_CGROUP_DEVICE) constant AttachSkMsgVerdict (line 269) | AttachSkMsgVerdict = AttachType(sys.BPF_SK_MSG_VERDICT) constant AttachCGroupInet4Bind (line 270) | AttachCGroupInet4Bind = AttachType(sys.BPF_CGROUP_INET4_BIND) constant AttachCGroupInet6Bind (line 271) | AttachCGroupInet6Bind = AttachType(sys.BPF_CGROUP_INET6_BIND) constant AttachCGroupInet4Connect (line 272) | AttachCGroupInet4Connect = AttachType(sys.BPF_CGROUP_INET4_CONNECT) constant AttachCGroupInet6Connect (line 273) | AttachCGroupInet6Connect = AttachType(sys.BPF_CGROUP_INET6_CONNECT) constant AttachCGroupInet4PostBind (line 274) | AttachCGroupInet4PostBind = AttachType(sys.BPF_CGROUP_INET4_POST_... constant AttachCGroupInet6PostBind (line 275) | AttachCGroupInet6PostBind = AttachType(sys.BPF_CGROUP_INET6_POST_... constant AttachCGroupUDP4Sendmsg (line 276) | AttachCGroupUDP4Sendmsg = AttachType(sys.BPF_CGROUP_UDP4_SENDMSG) constant AttachCGroupUDP6Sendmsg (line 277) | AttachCGroupUDP6Sendmsg = AttachType(sys.BPF_CGROUP_UDP6_SENDMSG) constant AttachLircMode2 (line 278) | AttachLircMode2 = AttachType(sys.BPF_LIRC_MODE2) constant AttachFlowDissector (line 279) | AttachFlowDissector = AttachType(sys.BPF_FLOW_DISSECTOR) constant AttachCGroupSysctl (line 280) | AttachCGroupSysctl = AttachType(sys.BPF_CGROUP_SYSCTL) constant AttachCGroupUDP4Recvmsg (line 281) | AttachCGroupUDP4Recvmsg = AttachType(sys.BPF_CGROUP_UDP4_RECVMSG) constant AttachCGroupUDP6Recvmsg (line 282) | AttachCGroupUDP6Recvmsg = AttachType(sys.BPF_CGROUP_UDP6_RECVMSG) constant AttachCGroupGetsockopt (line 283) | AttachCGroupGetsockopt = AttachType(sys.BPF_CGROUP_GETSOCKOPT) constant AttachCGroupSetsockopt (line 284) | AttachCGroupSetsockopt = AttachType(sys.BPF_CGROUP_SETSOCKOPT) constant AttachTraceRawTp (line 285) | AttachTraceRawTp = AttachType(sys.BPF_TRACE_RAW_TP) constant AttachTraceFEntry (line 286) | AttachTraceFEntry = AttachType(sys.BPF_TRACE_FENTRY) constant AttachTraceFExit (line 287) | AttachTraceFExit = AttachType(sys.BPF_TRACE_FEXIT) constant AttachModifyReturn (line 288) | AttachModifyReturn = AttachType(sys.BPF_MODIFY_RETURN) constant AttachLSMMac (line 289) | AttachLSMMac = AttachType(sys.BPF_LSM_MAC) constant AttachTraceIter (line 290) | AttachTraceIter = AttachType(sys.BPF_TRACE_ITER) constant AttachCgroupInet4GetPeername (line 291) | AttachCgroupInet4GetPeername = AttachType(sys.BPF_CGROUP_INET4_GETPE... constant AttachCgroupInet6GetPeername (line 292) | AttachCgroupInet6GetPeername = AttachType(sys.BPF_CGROUP_INET6_GETPE... constant AttachCgroupInet4GetSockname (line 293) | AttachCgroupInet4GetSockname = AttachType(sys.BPF_CGROUP_INET4_GETSO... constant AttachCgroupInet6GetSockname (line 294) | AttachCgroupInet6GetSockname = AttachType(sys.BPF_CGROUP_INET6_GETSO... constant AttachXDPDevMap (line 295) | AttachXDPDevMap = AttachType(sys.BPF_XDP_DEVMAP) constant AttachCgroupInetSockRelease (line 296) | AttachCgroupInetSockRelease = AttachType(sys.BPF_CGROUP_INET_SOCK_R... constant AttachXDPCPUMap (line 297) | AttachXDPCPUMap = AttachType(sys.BPF_XDP_CPUMAP) constant AttachSkLookup (line 298) | AttachSkLookup = AttachType(sys.BPF_SK_LOOKUP) constant AttachXDP (line 299) | AttachXDP = AttachType(sys.BPF_XDP) constant AttachSkSKBVerdict (line 300) | AttachSkSKBVerdict = AttachType(sys.BPF_SK_SKB_VERDICT) constant AttachSkReuseportSelect (line 301) | AttachSkReuseportSelect = AttachType(sys.BPF_SK_REUSEPORT_SELECT) constant AttachSkReuseportSelectOrMigrate (line 302) | AttachSkReuseportSelectOrMigrate = AttachType(sys.BPF_SK_REUSEPORT_SELEC... constant AttachPerfEvent (line 303) | AttachPerfEvent = AttachType(sys.BPF_PERF_EVENT) constant AttachTraceKprobeMulti (line 304) | AttachTraceKprobeMulti = AttachType(sys.BPF_TRACE_KPROBE_MULTI) constant AttachTraceKprobeSession (line 305) | AttachTraceKprobeSession = AttachType(sys.BPF_TRACE_KPROBE_SESSION) constant AttachLSMCgroup (line 306) | AttachLSMCgroup = AttachType(sys.BPF_LSM_CGROUP) constant AttachStructOps (line 307) | AttachStructOps = AttachType(sys.BPF_STRUCT_OPS) constant AttachNetfilter (line 308) | AttachNetfilter = AttachType(sys.BPF_NETFILTER) constant AttachTCXIngress (line 309) | AttachTCXIngress = AttachType(sys.BPF_TCX_INGRESS) constant AttachTCXEgress (line 310) | AttachTCXEgress = AttachType(sys.BPF_TCX_EGRESS) constant AttachTraceUprobeMulti (line 311) | AttachTraceUprobeMulti = AttachType(sys.BPF_TRACE_UPROBE_MULTI) constant AttachCgroupUnixConnect (line 312) | AttachCgroupUnixConnect = AttachType(sys.BPF_CGROUP_UNIX_CONNECT) constant AttachCgroupUnixSendmsg (line 313) | AttachCgroupUnixSendmsg = AttachType(sys.BPF_CGROUP_UNIX_SENDMSG) constant AttachCgroupUnixRecvmsg (line 314) | AttachCgroupUnixRecvmsg = AttachType(sys.BPF_CGROUP_UNIX_RECVMSG) constant AttachCgroupUnixGetpeername (line 315) | AttachCgroupUnixGetpeername = AttachType(sys.BPF_CGROUP_UNIX_GETPEE... constant AttachCgroupUnixGetsockname (line 316) | AttachCgroupUnixGetsockname = AttachType(sys.BPF_CGROUP_UNIX_GETSOC... constant AttachNetkitPrimary (line 317) | AttachNetkitPrimary = AttachType(sys.BPF_NETKIT_PRIMARY) constant AttachNetkitPeer (line 318) | AttachNetkitPeer = AttachType(sys.BPF_NETKIT_PEER) constant AttachWindowsXDP (line 325) | AttachWindowsXDP = AttachType(platform.WindowsTag | iota + 1) constant AttachWindowsBind (line 326) | AttachWindowsBind constant AttachWindowsCGroupInet4Connect (line 327) | AttachWindowsCGroupInet4Connect constant AttachWindowsCGroupInet6Connect (line 328) | AttachWindowsCGroupInet6Connect constant AttachWindowsCgroupInet4RecvAccept (line 329) | AttachWindowsCgroupInet4RecvAccept constant AttachWindowsCgroupInet6RecvAccept (line 330) | AttachWindowsCgroupInet6RecvAccept constant AttachWindowsCGroupSockOps (line 331) | AttachWindowsCGroupSockOps constant AttachWindowsSample (line 332) | AttachWindowsSample constant AttachWindowsXDPTest (line 333) | AttachWindowsXDPTest function AttachTypeForPlatform (line 339) | func AttachTypeForPlatform(plat string, value uint32) (AttachType, error) { type AttachFlags (line 344) | type AttachFlags type PinType (line 347) | type PinType constant PinNone (line 353) | PinNone PinType = iota constant PinByName (line 355) | PinByName type LoadPinOptions (line 359) | type LoadPinOptions struct method Marshal (line 370) | func (lpo *LoadPinOptions) Marshal() uint32 { type BatchOptions (line 390) | type BatchOptions struct constant LogLevelBranch (line 401) | LogLevelBranch = sys.BPF_LOG_LEVEL1 constant LogLevelInstruction (line 405) | LogLevelInstruction = sys.BPF_LOG_LEVEL2 constant LogLevelStats (line 409) | LogLevelStats = sys.BPF_LOG_STATS FILE: types_string.go function _ (line 7) | func _() { constant _MapType_name_0 (line 61) | _MapType_name_0 = "UnspecifiedMapHashArrayProgramArrayPerfEventArrayPerC... constant _MapType_name_1 (line 62) | _MapType_name_1 = "WindowsHashWindowsArrayWindowsProgramArrayWindowsPerC... method String (line 70) | func (i MapType) String() string { function _ (line 81) | func _() { constant _ProgramType_name_0 (line 127) | _ProgramType_name_0 = "UnspecifiedProgramSocketFilterKprobeSchedCLSSched... constant _ProgramType_name_1 (line 128) | _ProgramType_name_1 = "WindowsXDPWindowsBindWindowsCGroupSockAddrWindows... constant _ProgramType_name_2 (line 129) | _ProgramType_name_2 = "WindowsXDPTestWindowsSample" method String (line 138) | func (i ProgramType) String() string { function _ (line 152) | func _() { constant _PinType_name (line 160) | _PinType_name = "PinNonePinByName" method String (line 164) | func (i PinType) String() string { FILE: types_windows.go function WindowsProgramTypeForGUID (line 18) | func WindowsProgramTypeForGUID(guid string) (ProgramType, error) { function WindowsAttachTypeForGUID (line 41) | func WindowsAttachTypeForGUID(guid string) (AttachType, error) { FILE: types_windows_test.go function TestWindowsProgramTypeForGUID (line 11) | func TestWindowsProgramTypeForGUID(t *testing.T) { function TestWindowsAttachTypeForGUID (line 25) | func TestWindowsAttachTypeForGUID(t *testing.T) { FILE: variable.go type VariableSpec (line 19) | type VariableSpec struct method Set (line 33) | func (s *VariableSpec) Set(in any) error { method Get (line 60) | func (s *VariableSpec) Get(out any) error { method Size (line 73) | func (s *VariableSpec) Size() uint32 { method Constant (line 91) | func (s *VariableSpec) Constant() bool { method String (line 95) | func (s *VariableSpec) String() string { method Copy (line 100) | func (s *VariableSpec) Copy() *VariableSpec { type Variable (line 117) | type Variable struct method Size (line 143) | func (v *Variable) Size() uint32 { method ReadOnly (line 151) | func (v *Variable) ReadOnly() bool { method Type (line 163) | func (v *Variable) Type() *btf.Var { method String (line 167) | func (v *Variable) String() string { method Set (line 173) | func (v *Variable) Set(in any) error { method Get (line 200) | func (v *Variable) Get(out any) error { function newVariable (line 126) | func newVariable(name string, offset, size uint32, t *btf.Var, mm *Memor... function checkVariable (line 216) | func checkVariable[T any](v *Variable) error { function VariablePointer (line 243) | func VariablePointer[T comparable](v *Variable) (*T, error) { FILE: variable_test.go function TestVariableSpec (line 19) | func TestVariableSpec(t *testing.T) { function TestVariableSpecCopy (line 53) | func TestVariableSpecCopy(t *testing.T) { function TestVariableSpecEmptyValue (line 81) | func TestVariableSpecEmptyValue(t *testing.T) { function mustReturn (line 107) | func mustReturn(tb testing.TB, prog *Program, value uint32) { function TestVariable (line 115) | func TestVariable(t *testing.T) { function TestVariableConst (line 167) | func TestVariableConst(t *testing.T) { function TestVariableFallback (line 196) | func TestVariableFallback(t *testing.T) { function TestVariablePointer (line 219) | func TestVariablePointer(t *testing.T) { function TestVariablePointerError (line 283) | func TestVariablePointerError(t *testing.T) { function TestVariablePointerGC (line 300) | func TestVariablePointerGC(t *testing.T) {