From 33b374395ffb1ee4a58b69de5a0a3ae9aa5654f3 Mon Sep 17 00:00:00 2001 From: Andrii Nakryiko Date: Tue, 15 Oct 2019 16:45:05 -0700 Subject: [PATCH] sync: adjust sync script for test_libbpf.c rename and bpf_helper_defs.h Accomodate changes: - test_libbpf.cpp was renamed to test_libbpf.c; - bpf_helper_defs.h should be ignored for consistency check at the end, as it's not checked in on linux side; Signed-off-by: Andrii Nakryiko --- scripts/sync-kernel.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/sync-kernel.sh b/scripts/sync-kernel.sh index 1d74724..093aca2 100755 --- a/scripts/sync-kernel.sh +++ b/scripts/sync-kernel.sh @@ -51,7 +51,7 @@ PATH_MAP=( \ LIBBPF_PATHS="${!PATH_MAP[@]}" LIBBPF_VIEW_PATHS="${PATH_MAP[@]}" -LIBBPF_VIEW_EXCLUDE_REGEX='^src/(Makefile|Build|test_libbpf.cpp|\.gitignore)$' +LIBBPF_VIEW_EXCLUDE_REGEX='^src/(Makefile|Build|test_libbpf\.cpp|bpf_helper_defs\.h|\.gitignore)$' LIBBPF_TREE_FILTER="mkdir -p __libbpf/include/uapi/linux __libbpf/include/tools && "$'\\\n' for p in "${!PATH_MAP[@]}"; do