Re: [PATCH bpf-next v2 2/4] selftests/bpf: convert test_cgroup_storage to test_progs

2024-08-09 Thread Martin KaFai Lau
On 8/6/24 12:55 AM, Alexis Lothoré (eBPF Foundation) wrote: +++ b/tools/testing/selftests/bpf/prog_tests/cgroup_storage.c @@ -0,0 +1,65 @@ +// SPDX-License-Identifier: GPL-2.0 + +#include +#include "cgroup_helpers.h" +#include "cgroup_storage.skel.h" + +#define TEST_CGROUP "/test-bpf-cgroup-stor

[PATCH bpf-next v2 2/4] selftests/bpf: convert test_cgroup_storage to test_progs

2024-08-06 Thread eBPF Foundation
test_cgroup_storage is currently a standalone program which is not run when executing test_progs. Convert it to the test_progs framework so it can be automatically executed in CI. The conversion led to the following changes: - converted the raw bpf program in the userspace test file into a dedicat