diff options
author | Daniel T. Lee <danieltimlee@gmail.com> | 2023-01-15 16:16:13 +0900 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2023-01-15 13:32:45 -0800 |
commit | e04946f54cd99fa1bd92e22f4540720d76d88058 (patch) | |
tree | 059e4cedf8d2015617268672584b31c5db88c6ff /samples/bpf/test_cgrp2_tc.sh | |
parent | samples/bpf: use vmlinux.h instead of implicit headers in BPF test program (diff) | |
download | wireguard-linux-e04946f54cd99fa1bd92e22f4540720d76d88058.tar.xz wireguard-linux-e04946f54cd99fa1bd92e22f4540720d76d88058.zip |
samples/bpf: change _kern suffix to .bpf with BPF test programs
This commit changes the _kern suffix to .bpf with the BPF test programs.
With this modification, test programs will inherit the benefit of the
new CLANG-BPF compile target.
Signed-off-by: Daniel T. Lee <danieltimlee@gmail.com>
Link: https://lore.kernel.org/r/20230115071613.125791-11-danieltimlee@gmail.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'samples/bpf/test_cgrp2_tc.sh')
-rwxr-xr-x | samples/bpf/test_cgrp2_tc.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/samples/bpf/test_cgrp2_tc.sh b/samples/bpf/test_cgrp2_tc.sh index 37a2c9cba6d0..38e8dbc9d16e 100755 --- a/samples/bpf/test_cgrp2_tc.sh +++ b/samples/bpf/test_cgrp2_tc.sh @@ -4,7 +4,7 @@ MY_DIR=$(dirname $0) # Details on the bpf prog BPF_CGRP2_ARRAY_NAME='test_cgrp2_array_pin' -BPF_PROG="$MY_DIR/test_cgrp2_tc_kern.o" +BPF_PROG="$MY_DIR/test_cgrp2_tc.bpf.o" BPF_SECTION='filter' [ -z "$TC" ] && TC='tc' |