On 10/23/22 11:05 AM, Yonghong Song wrote:
Add two tests for new cgroup local storage, one to test bpf program helpers and user space map APIs, and the other to test recursive fentry triggering won't deadlock.
Other than tracing, it will be very useful to add a bpf_cgrp_storage_get() usage in a cgroup-bpf prog. Exercising this helper in the existing SEC(cgroup)/SEC(sockops) tests should be pretty easy. eg. The SEC("cgroup/connect6") in socket_cookie_prog.c.