Lines Matching full:bpftool
4 echo "USAGE: ./sync-kernel.sh <bpftool-repo> <kernel-repo>"
6 …echo "This script synchronizes the mirror with upstream bpftool sources from the kernel repository…
8 … - Update the libbpf submodule, commit, and use its new checkpoints as target commits for bpftool."
11 echo " - Update bpftool's version number based on bpf-next's kernel version and target commit."
15 …echo "Set BPF_NEXT_BASELINE to override bpf-next tree commit, otherwise read from <bpftool-repo>/C…
16 …echo "Set BPF_BASELINE to override bpf tree commit, otherwise read from <bpftool-repo>/BPF-CHECKPO…
17 …TIP_COMMIT to override bpf-next tree target commit, otherwise read from <bpftool-repo>/libbpf/CHEC…
18 …echo "Set BPF_TIP_COMMIT to override bpf tree target commit, otherwise read from <bpftool-repo>/li…
30 echo "Error: bpftool or linux repos are not specified"
48 BPFTOOL_SRC_DIR="tools/bpf/bpftool"
74 # Deal with tools/bpf/bpftool first, because once we've mkdir-ed src/, command
75 # "git mv" doesn't move bpftool _as_ src but _into_ src/.
119 # Cherry-pick commits touching bpftool-related files
148 # commit with the same subject is already in bpftool, but it's
150 echo "Commit '${desc}' is synced into bpftool as:"
171 # commit hasn't been synced into bpftool yet
174 …echo "Warning! Cherry-picking '${desc} failed, checking if it's non-bpftool files causing problems…
180 echo "Looks like only non-bpftool files have conflicts, ignoring..."
204 # the final commit sha in bpftool repo, so we record Linux SHA
224 BPFTOOL_SYNC_TAG=bpftool-sync-${SUFFIX}
255 echo "Dumping existing bpftool commit signatures..."
264 BASELINE_TAG=bpftool-baseline-${SUFFIX}
265 TIP_TAG=bpftool-tip-${SUFFIX}
266 BPF_BASELINE_TAG=bpftool-bpf-baseline-${SUFFIX}
267 BPF_TIP_TAG=bpftool-bpf-tip-${SUFFIX}
268 VIEW_TAG=bpftool-view-${SUFFIX}
271 SQUASH_BASE_TAG=bpftool-squash-base-${SUFFIX}
272 SQUASH_TIP_TAG=bpftool-squash-tip-${SUFFIX}
277 echo "BPFTOOL REPO: ${BPFTOOL_REPO}"
292 echo "BPFTOOL SYNC TAG: ${BPFTOOL_SYNC_TAG}"
308 # Move all bpftool files into __bpftool directory.
313 # If there are no new commits with bpftool-related changes, bail out
328 # Now is time to re-apply bpftool-related linux patches to bpftool repo
337 # Bump bpftool version number if necessary
350 sync: Pull latest bpftool changes from kernel\n\
352 Syncing latest bpftool commits from kernel repository.\n\
357 Latest bpftool version: ${BPFTOOL_VERSION}/" | \
362 echo "Verifying Linux's and Github's bpftool state"