third_party_libbpf/scripts
Andrii Nakryiko 829e50fc15 sync: improve sync script to handle common issues
Few recurring issues are fixed.
1. When there are patches in bpf tree that hasn't been synced yet, but bpf was
   already merged into bpf-next, merged patches would be applied twice,
   causing failures, requiring manual resolution. Now this is handled smarter
   and shouldn't happen.
2. When synced libbpf repo contains fixes from bpf that weren't yet merged
   into bpf-next, those bpf tree changes would cause inconsistency against
   bpf-next tree state. That's expected and usually is pretty easy for human
   to discard during consistency check, but is hard for automation. So instead
   of failing at the very end, ask human whether discrepancies look good.
3. If sync script detected no new patches needed syncing, it previously didn't
   restore linux repo state back. Fixed.

Signed-off-by: Andrii Nakryiko <andriin@fb.com>
2020-09-03 20:14:51 -07:00
..
check-reallocarray.sh check-reallocarray.sh: Use the same compiler Make does 2020-07-28 14:05:35 -07:00
coverity.sh coverity: explicitly use bash instead of sh 2019-11-05 13:28:13 -08:00
sync-kernel.sh sync: improve sync script to handle common issues 2020-09-03 20:14:51 -07:00