Re: [PATCH bpf-next v4 6/7] selftests/bpf: Add selftests for new cgroup local storage

Yonghong Song
2022-10-25T02:27:14Z

On 10/24/22 1:30 PM, Martin KaFai Lau wrote:
> 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.

Will do.
>