Package one.nio.os.bpf
Class BpfProg
java.lang.Object
one.nio.os.bpf.Handle
one.nio.os.bpf.BpfObj
one.nio.os.bpf.BpfProg
- All Implemented Interfaces:
Closeable,AutoCloseable
-
Field Summary
FieldsFields inherited from class one.nio.os.bpf.BpfObj
id, MAX_NAME_LEN, name -
Method Summary
Modifier and TypeMethodDescriptionvoidattach(PerfCounter counter) attachRawTracepoint(String name) static BpfProggetByFd(int fd) static BpfProggetById(int id) int[]static BpfProgstatic BpfProg
-
Field Details
-
type
-
-
Method Details
-
load
- Throws:
IOException
-
getPinned
- Throws:
IOException
-
getById
- Throws:
IOException
-
getByFd
- Throws:
IOException
-
attach
- Throws:
IOException
-
attachRawTracepoint
- Throws:
IOException
-
getMapIds
- Throws:
IOException
-
getAllIds
-