MCPcopy
hub / github.com/cilium/ebpf / MapIDs

Method MapIDs

info.go:769–771  ·  view source on GitHub ↗

MapIDs returns the maps related to the program. Available from 4.15. The bool return value indicates whether this optional field is available.

()

Source from the content-addressed store, hash-verified

767//
768// The bool return value indicates whether this optional field is available.
769func (pi *ProgramInfo) MapIDs() ([]MapID, bool) {
770 return pi.maps, pi.maps != nil
771}
772
773// LoadTime returns when the program was loaded since boot time.
774//

Callers 2

TestProgramInfoMapIDsFunction · 0.80

Calls

no outgoing calls

Tested by 2

TestProgramInfoMapIDsFunction · 0.64