From 8c2c7e5bcf5cc6c2a03cb88d133a22990eb15592 Mon Sep 17 00:00:00 2001 From: Ilya Leoshkevich Date: Thu, 25 Mar 2021 13:05:21 +0100 Subject: [PATCH] sync: use bpf_doc.py In the latest bpf-next bpf_helpers_doc.py has been renamed to bpf_doc.py. Signed-off-by: Ilya Leoshkevich --- scripts/sync-kernel.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/sync-kernel.sh b/scripts/sync-kernel.sh index 386bd6b..c90eeaa 100755 --- a/scripts/sync-kernel.sh +++ b/scripts/sync-kernel.sh @@ -266,12 +266,12 @@ for patch in $(ls -1 ${TMP_DIR}/patches | tail -n +2); do done # Generate bpf_helper_defs.h and commit, if anything changed -# restore Linux tip to use bpf_helpers_doc.py +# restore Linux tip to use bpf_doc.py cd_to ${LINUX_REPO} git checkout ${TIP_TAG} # re-generate bpf_helper_defs.h cd_to ${LIBBPF_REPO} -"${LINUX_ABS_DIR}/scripts/bpf_helpers_doc.py" --header \ +"${LINUX_ABS_DIR}/scripts/bpf_doc.py" --header \ --file include/uapi/linux/bpf.h > src/bpf_helper_defs.h # if anything changed, commit it helpers_changes=$(git status --porcelain src/bpf_helper_defs.h | wc -l)