bmahler closed pull request #505: [ebpf][cgroups2] Attaching a eBFP programs to
a cgroups.
URL: https://github.com/apache/mesos/pull/505
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific
bmahler commented on code in PR #505:
URL: https://github.com/apache/mesos/pull/505#discussion_r1518354832
##
src/linux/ebpf.cpp:
##
@@ -96,4 +98,51 @@ Try load(const Program& program)
return *fd;
}
+namespace cgroups2 {
+
+Try attach(int fd, const string& cgroup)
+{
+
DevinLeamy opened a new pull request, #505:
URL: https://github.com/apache/mesos/pull/505
Introduces `ebpf::cgroups2::attach()` which allows an `ebpf::Program()` to
be attached to a cgroup, given the absolute path to the cgroup and the file
descriptor of the loaded program.
This