Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bcc: add method to close file descriptors
I have a long running process that attaches BPF programs to containers, and I want those programs to stay attached after the BPF object goes out of scope. After some time, the open file descriptors pile up and my process starts failing since it cannot open new files. This close() method allows me to create a BPF object, attach my function, then close the associated file descriptors without detaching the program. Signed-off-by: Antonio Terceiro <[email protected]>
- Loading branch information