diff options
author | Sargun Dhillon <sargun@sargun.me> | 2016-12-02 11:42:18 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-12-03 22:07:11 +0100 |
commit | 1a922fee66c8a691bfec738b6a5694b2dbb2177d (patch) | |
tree | a2196acc64ef60499075d0711c4a0eecb0abef09 /samples/bpf/Makefile | |
parent | samples/bpf: silence compiler warnings (diff) | |
download | linux-1a922fee66c8a691bfec738b6a5694b2dbb2177d.tar.xz linux-1a922fee66c8a691bfec738b6a5694b2dbb2177d.zip |
samples, bpf: Refactor test_current_task_under_cgroup - separate out helpers
This patch modifies test_current_task_under_cgroup_user. The test has
several helpers around creating a temporary environment for cgroup
testing, and moving the current task around cgroups. This set of
helpers can then be used in other tests.
Signed-off-by: Sargun Dhillon <sargun@sargun.me>
Acked-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'samples/bpf/Makefile')
-rw-r--r-- | samples/bpf/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/samples/bpf/Makefile b/samples/bpf/Makefile index 13c3e1869890..57d84949e814 100644 --- a/samples/bpf/Makefile +++ b/samples/bpf/Makefile @@ -59,7 +59,7 @@ test_cgrp2_sock2-objs := bpf_load.o libbpf.o test_cgrp2_sock2.o xdp1-objs := bpf_load.o libbpf.o xdp1_user.o # reuse xdp1 source intentionally xdp2-objs := bpf_load.o libbpf.o xdp1_user.o -test_current_task_under_cgroup-objs := bpf_load.o libbpf.o \ +test_current_task_under_cgroup-objs := bpf_load.o libbpf.o cgroup_helpers.o \ test_current_task_under_cgroup_user.o trace_event-objs := bpf_load.o libbpf.o trace_event_user.o sampleip-objs := bpf_load.o libbpf.o sampleip_user.o |