Lines Matching +full:- +full:compat
4 libbpf=$(grep -oP '(?<={")\w+(?=", "\d\.\d+")' src/cc/libbpf.c | sort)
5 doc=$(grep -oP "(?<=BPF_FUNC_)\w+" docs/kernel-versions.md | sort)
7 if [ $? -ne 0 ]; then
8 echo "The lists of helpers in src/cc/libbpf.c and docs/kernel-versions.md differ:"
9 echo -e "$dif\n"
13 compat=$(grep -oP "(?<=^\sFN\()\w+" src/cc/compat/linux/bpf.h | tail -n +2 | sort)
14 dif=$(diff <(echo "$doc") <(echo "$compat"))
15 if [ $? -ne 0 ]; then
16 echo "The lists of helpers in docs/kernel-versions.md and src/cc/compat/linux/bpf.h differ:"
17 echo -e "$dif\n"
21 virtual=$(grep -oP "(?<=^\sFN\()\w+" src/cc/compat/linux/virtual_bpf.h | tail -n +2 | sort -u)
22 dif=$(diff <(echo "$compat") <(echo "$virtual"))
23 if [ $? -ne 0 ]; then
24 …echo "The lists of helpers in src/cc/compat/linux/bpf.h and src/cc/compat/linux/virtual_bpf.h diff…
29 export=$(grep -oP "(?<=BPF_FUNC_)\w+" src/cc/export/helpers.h | sort -u)
30 dif=$(diff <(echo "$compat") <(echo "$export"))
31 if [ $? -ne 0 ]; then
32 echo "The lists of helpers in src/cc/compat/linux/bpf.h and src/cc/export/helpers.h differ:"