-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/75083/
-----------------------------------------------------------

Review request for mesos and Benjamin Mahler.


Repository: mesos


Description
-------

Introduces a helper function to help abstract away the logic for getting bpf 
program file descriptor by its program id.


Diffs
-----

  src/linux/ebpf.hpp 5bf9d34d4ae5105ef36005955da09101d3c54c7a 
  src/linux/ebpf.cpp 3f7f74df25dbf35720cd5f6c19644173552d5b82 
  src/tests/containerizer/cgroups2_tests.cpp 
cb1e229f7f40aa71f57417c33fccb2cfb313a1f5 


Diff: https://reviews.apache.org/r/75083/diff/1/


Testing
-------

Added an explicit test for get_fd_by_id where we use the function to get the 
file descriptor for the bpf detach call.
tests passed.


Thanks,

Jason Zhou

Reply via email to