summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/.gitignore
diff options
context:
space:
mode:
authorAlexis Lothoré (eBPF Foundation) <alexis.lothore@bootlin.com>2024-08-13 14:45:05 +0200
committerMartin KaFai Lau <martin.lau@kernel.org>2024-08-14 18:10:46 -0700
commita4ae5c31e0f28d2c737583a06d4b29ffd6bbd622 (patch)
tree5d464e4fea95928f49cd0983c34379c2dd55ce6a /tools/testing/selftests/bpf/.gitignore
parent4a4c013d3385b0db85dc361203dc42ff048b6fd6 (diff)
selftests/bpf: convert get_current_cgroup_id_user to test_progs
get_current_cgroup_id_user allows testing for bpf_get_current_cgroup_id() bpf API but is not integrated into test_progs, and so is not tested automatically in CI. Convert it to the test_progs framework to allow running it automatically. The most notable differences with the old test are the following: - the new test relies on autoattach instead of manually hooking/enabling the targeted tracepoint through perf_event, which reduces quite a lot the test code size - it also accesses bpf prog data through global variables instead of maps - sleep duration passed to nanosleep syscall has been reduced to its minimum to not impact overall CI duration (we only care about the syscall being properly triggered, not about the passed duration) Signed-off-by: Alexis Lothoré (eBPF Foundation) <alexis.lothore@bootlin.com> Link: https://lore.kernel.org/r/20240813-convert_cgroup_tests-v4-1-a33c03458cf6@bootlin.com Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
Diffstat (limited to 'tools/testing/selftests/bpf/.gitignore')
-rw-r--r--tools/testing/selftests/bpf/.gitignore1
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/testing/selftests/bpf/.gitignore b/tools/testing/selftests/bpf/.gitignore
index 8f14d8faeb0b..7d4d5d3e0210 100644
--- a/tools/testing/selftests/bpf/.gitignore
+++ b/tools/testing/selftests/bpf/.gitignore
@@ -19,7 +19,6 @@ test_sock
urandom_read
test_sockmap
test_lirc_mode2_user
-get_cgroup_id_user
test_skb_cgroup_id_user
test_cgroup_storage
test_flow_dissector