Revisions of libbpf

buildservice-autocommit accepted request 992723 from Shung-Hsi Yu's avatar Shung-Hsi Yu (shunghsiyu) (revision 22)
baserev update by copy to link target
Shung-Hsi Yu's avatar Shung-Hsi Yu (shunghsiyu) accepted request 992588 from Callum Farmer's avatar Callum Farmer (gmbr3) (revision 21)
- Update to release 0.8.1:
  * make shared xsk creation network namespace aware
buildservice-autocommit accepted request 978029 from Shung-Hsi Yu's avatar Shung-Hsi Yu (shunghsiyu) (revision 20)
baserev update by copy to link target
Shung-Hsi Yu's avatar Shung-Hsi Yu (shunghsiyu) accepted request 978028 from Shung-Hsi Yu's avatar Shung-Hsi Yu (shunghsiyu) (revision 19)
- Update to release 0.8.0
  * New features and APIs:
    - support auto-resolution of binaries and shared libraries from PATH, if necessary;
    - support attaching by function names (only by IP was supported before);
    - support attaching to USDTs (SEC("usdt/...") and
      bpf_program__attach_usdt()) with initially supported architectures:
      x86-64 (amd64); x86 (i386); s390x; ARM64 (aarch64); RISC V (riscv);
    - improved BPF verifier log reporting for CO-RE relocation failures (no
      more obscure "invalid func unknown#195896080" errors);
    - auto-adjust BPF ringbuf size according to host kernel's page size requirements;
    - high-level BPF map APIs: bpf_map__lookup_elem(), bpf_map__update_elem(),
      etc that validate key/value buffer sizes;
    - bpf_link_create() can create all bpf_link-based (including raw_tp,
      fentry/fexit, etc), falling back to bpf_raw_tracepoint_open() on old
      kernels transparently;
    - support opting out from auto-loading BPF programs declaratively with
      SEC("?...");
    - support opting out from auto-creation of declarative BPF maps with
      bpf_map__set_autocreate();
    - support multi-kprobes (SEC("kprobe.multi/...") and
      bpf_program__attach_kprobe_multi_opts());
    - support target-less SEC() programs (e.g., SEC("kprobe"), SEC("tp"), etc);
    - support BPF sub-skeletons for "incomplete" BPF object files (requires
      matching bpftool to generate .subskel.h);
    - BPF cookie support for fentry/fexit/fmod_ret BPF programs
      (bpf_program__attach_trace_opts());
    - support for custom SEC() handlers (libbpf_register_prog_handler()).
  * BPF-side API
    - BPF-side USDT APIs. See new usdt.bpf.h header:
      * BPF_USDT() program wrapper macro; bpf_usdt_arg(), bpf_usdt_arg_cnt(),
      * bpf_usdt_cookie() helpers;
    - new bpf_core_field_offset() CO-RE helper and support
      bpf_core_field_size(type, field) forms;
    - barrier() and barrier_var() macros for improving BPF code generation;
    - __kptr and __kptr_ref tags added;
    - ARC architecture support in bpf_tracing.h header;
    - new BPF helpers:
      * bpf_skb_set_tstamp();
      * bpf_ima_file_hash();
      * bpf_kptr_xchg();
      * bpf_map_lookup_percpu_elem().
  * Bug fixes
    - netlink bug fixes;
    - libbpf.pc fixes to support patch releases properly;
    - BPF_MAP_TYPE_PERF_EVENT_ARRAY map auto-pinning fix;
    - minor CO-RE fixes and improvements for some corner cases;
    - various other small fixes and improvements.
buildservice-autocommit accepted request 961212 from Jan Engelhardt's avatar Jan Engelhardt (jengelh) (revision 18)
baserev update by copy to link target
Jan Engelhardt's avatar Jan Engelhardt (jengelh) accepted request 959865 from Jan Engelhardt's avatar Jan Engelhardt (jengelh) (revision 17)
- Python is not used during build; remove it and help break
  a cycle.
Michał Rostecki's avatar Michał Rostecki (mrostecki) accepted request 960937 from Jeff Mahoney's avatar Jeff Mahoney (jeff_mahoney) (revision 16)
- Enable building and packaging of static library.
  Explicitly enable fat LTO objects.

Enabling fat LTO to get successful builds on ppc64.
Now removed commented out removal of rm command.
buildservice-autocommit accepted request 959732 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 15)
baserev update by copy to link target
Dirk Mueller's avatar Dirk Mueller (dirkmueller) accepted request 959375 from Jan Engelhardt's avatar Jan Engelhardt (jengelh) (revision 14)
- Update to release 0.7.0
Michał Rostecki's avatar Michał Rostecki (mrostecki) accepted request 940907 from Jan Engelhardt's avatar Jan Engelhardt (jengelh) (revision 13)
the new libbpf has this hard requirement. Doesn't help factory at this time, but at least it'll be on record.
Michał Rostecki's avatar Michał Rostecki (mrostecki) accepted request 939943 from Jan Engelhardt's avatar Jan Engelhardt (jengelh) (revision 12)
- Update to release 0.6.1
Michał Rostecki's avatar Michał Rostecki (mrostecki) accepted request 921765 from Shung-Hsi Yu's avatar Shung-Hsi Yu (shunghsiyu) (revision 11)
- Update to 0.5.0:
  + New features and user-space APIs:
    - libbpf_set_strict_mode() allowing to opt-in into backwards incompatible libbpf-1.0 changes. See "Libbpf: the road to 1.0" and "Libbpf 1.0 migration guide" for more details.
    - streamlined error reporting for low-level APIs, high-level error-returning APIs, and pointer-returning APIs (as a libbpf-1.0 opt-in);
    - "Light" BPF skeleton support;
    - BPF_PROG_TYPE_SYSCALL support;
    - BPF perf link support for kprobe, uprobe, tracepoint, and perf_event BPF programs;
    - BPF cookie support for kprobe, uprobe, tracepoint, and perf_event BPF programs through bpf_program__attach_[ku]probe_opts() APIs;
    - allow to specify ref_ctr_off for USDT semaphores through bpf_program__attach_uprobe_opts() API;
    - btf_custom_path support in bpf_object_open_opts, allowing to specify custom BTF for CO-RE relocations;
    - sk_reuseport/migrate program type support;
    - btf_dump__dump_type_data() API, allowing to dump binary data according to BTF type description;
    - btf__load_into_kernel() and btf__load_from_kernel_by_id(), and split BTF variants of them;
    - btf__load_vmlinux_btf() and btf__load_module_btf() APIs;
    - bpf_map__initial_value() API to get initial value of mmap-ed BPF maps;
    - bpf_map_lookup_and_delete_elem_flags() API.
  + BPF-side APIs and features:
    - support for weak typed __ksym externs;
    - BPF timer helpers: bpf_timer_init(), bpf_timer_set_callback(), bpf_timer_start(), bpf_timer_cancel();
    - bpf_get_attach_cookie() helper to get BPF cookie from BPF program side;
    - bpf_get_func_ip() helper;
    - bpf_sys_bpf() helper;
    - bpf_task_pt_regs() helper;
    - bpf_btf_find_by_name_kind() helper;
    - usability improvements for bpf_tracing.h when target architecture is missing.
  + Bug fixes and compatibility improvements:
    - improve BPF support detection on old Red Hat kernels with backported BPF patches;
    - improvements for LTO builds with GCC 10+;
    - pass NLM_F_EXCL when creating TC qdisc;
    - better support of BPF map reuse on old kernels;
    - fix the bug resulting in sometimes closing FD 0, which wasn't created and owned by libbpf itself.
- Remove patches merged upstream
  + libdir.patch
  + libbpf-Fix-build-with-latest-gcc-binutils-with-LTO.patch
Marcus Meissner's avatar Marcus Meissner (msmeissn) accepted request 914518 from Michal Suchanek's avatar Michal Suchanek (michals) (revision 10)
- Fix LTO build (bsc#1188749).
  + libbpf-Fix-build-with-latest-gcc-binutils-with-LTO.patch
Michał Rostecki's avatar Michał Rostecki (mrostecki) accepted request 913283 from Michal Suchanek's avatar Michal Suchanek (michals) (revision 9)
- Depend on new enough Linux headers.
Marcus Meissner's avatar Marcus Meissner (msmeissn) accepted request 909759 from Callum Farmer's avatar Callum Farmer (gmbr3) (revision 8)
- Create libbpf0-32bit needed by libdwarves1-32bit
Michał Rostecki's avatar Michał Rostecki (mrostecki) accepted request 906964 from Michal Suchanek's avatar Michal Suchanek (michals) (revision 7)
- libbpf is now a separate project, stop building from the kernel
  (bsc#1188419 jsc#SLE-17288 jsc#SLE-18805).
- Fix LIBSUBDIR
  + libdir.patch
buildservice-autocommit accepted request 812756 from Michał Rostecki's avatar Michał Rostecki (mrostecki) (revision 6)
baserev update by copy to link target
Michał Rostecki's avatar Michał Rostecki (mrostecki) accepted request 812755 from Michał Rostecki's avatar Michał Rostecki (mrostecki) (revision 5)
- Add python3 as a build dependency.
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 772922 from Michał Rostecki's avatar Michał Rostecki (mrostecki) (revision 4)
initialized devel package after accepting 772922
Michał Rostecki's avatar Michał Rostecki (mrostecki) accepted request 772910 from Michał Rostecki's avatar Michał Rostecki (mrostecki) (revision 3)
- Build libbpf from kernel sources, not from github sources, for
  consistency with bpftool package.
Displaying revisions 21 - 40 of 42
openSUSE Build Service is sponsored by