Hello community,

here is the log from the commit of package bcc for openSUSE:Factory checked in 
at 2019-12-16 15:20:14
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/bcc (Old)
 and      /work/SRC/openSUSE:Factory/.bcc.new.4691 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "bcc"

Mon Dec 16 15:20:14 2019 rev:33 rq:757219 version:0.12.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/bcc/bcc.changes  2019-11-19 12:59:15.482136613 
+0100
+++ /work/SRC/openSUSE:Factory/.bcc.new.4691/bcc.changes        2019-12-16 
15:20:17.791140964 +0100
@@ -1,0 +2,51 @@
+Mon Dec 16 01:46:17 UTC 2019 - Gary Ching-Pang Lin <g...@suse.com>
+
+- Update to 0.12.0
+  + Support for kernel up to 5.4
+  + klockstat tool to track kernel mutex lock statistics
+  + cmake option CMAKE_USE_LIBBPF_PACKAGE to build a bcc shared
+    library
+  + linking with distro libbpf_static.a
+  + new map.lookup_or_try_init() API to remove hidden return in
+    map.lookup_or_init()
+  + BPF_ARRAY_OF_MAPS and BPF_HASH_OF_MAPS support
+  + support symbol offset for uprobe in both C++ and python API,
+    kprobe already has the support
+  + bug fixes for trace.py, tcpretrans.py, runqslower.py, etc.
+- Update libbpf to 0.0.6
+  + New features
+    - new extensible bpf_object__open_{file,mem} APIs and
+      DECLARE_LIBBPF_OPTS() macro to go with them
+    - bpf_helpers.h, bpf_endian.h, and bpf_tracing.h are now
+      distributed with libbpf
+    - BPF CO-RE: added field size, field existence, and bitfield
+      relocation support
+    - BPF CO-RE: BPF_CORE_READ(), bpf_core_field_exists(),
+      bpf_core_field_size() and other BPF CO-RE related helpers
+      available through bpf_core_read.h header
+    - bpf_object__open() API now auto-detects program type from
+      its section name
+    - BPF_PROG_TRACING programs support (incuding BTF-typed raw
+      tracepoints, fentry/fexit programs)
+    - mmap() support for BPF global variables
+    - declarative map pinning support added
+    - probe_read_{user,kernel}[_str]() BPF helpers added
+    - bpf_get_link_xdp_info() function to get more XDP information
+      added
+    - a bunch of other AF_XDP changes
+  + Usability improvements
+    - no need for int version SEC('version') = 1; anymore
+    - raw_tp/tp and uprobe/uretprobe section prefixes added
+    - new bpf_program__get_{type,expected_attach_type} getters
+    - preserve error code on program load failure
+  + Fixes
+    - btf_dump padding handling
+    - bpf_object__name() returning name, not path
+    - ELF section handling off-by-one bug fix
+    - mem leak/double free fix in BPF program relocation code
+- Replace lua51-luajit-devel with luajit-devel to reflect the
+  recent change in Factory (bsc#1159191)
+- Add bcc-fix-test_map_in_map.patch to fix the build error in the
+  test case
+
+-------------------------------------------------------------------

Old:
----
  v0.0.5.tar.gz
  v0.11.0.tar.gz

New:
----
  bcc-fix-test_map_in_map.patch
  v0.0.6.tar.gz
  v0.12.0.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ bcc.spec ++++++
--- /var/tmp/diff_new_pack.N2iN9n/_old  2019-12-16 15:20:22.867138850 +0100
+++ /var/tmp/diff_new_pack.N2iN9n/_new  2019-12-16 15:20:22.871138849 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package bcc
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -26,18 +26,19 @@
 %{!?with_lua: %global with_lua 0}
 %endif
 
-%define libbpf_version 0.0.5
+%define libbpf_version 0.0.6
 
 Name:           bcc
-Version:        0.11.0
+Version:        0.12.0
 Release:        0
 Summary:        BPF Compiler Collection (BCC)
 License:        Apache-2.0
 Group:          Development/Tools/Other
-Url:            https://github.com/iovisor/bcc
+URL:            https://github.com/iovisor/bcc
 Source:         https://github.com/iovisor/bcc/archive/v%{version}.tar.gz
 Source1:        
https://github.com/libbpf/libbpf/archive/v%{libbpf_version}.tar.gz
 Patch1:         support-clang9.patch
+Patch2:         bcc-fix-test_map_in_map.patch
 ExcludeArch:    ppc s390
 BuildRequires:  bison
 BuildRequires:  cmake >= 2.8.7
@@ -49,15 +50,12 @@
 %if 0%{?suse_version} > 1320
 BuildRequires:  clang-devel
 BuildRequires:  llvm-gold
-%if %{with_lua}
-BuildRequires:  lua51-luajit-devel
-%endif
 %else
 BuildRequires:  libstdc++-devel
+%endif
 %if %{with_lua}
 BuildRequires:  luajit-devel
 %endif
-%endif
 BuildRequires:  pkg-config
 BuildRequires:  python-devel
 BuildRequires:  python-setuptools
@@ -152,6 +150,7 @@
 %if %{pkg_vcmp llvm-devel >= 9.0}
 %patch1 -p1
 %endif
+%patch2 -p1
 
 pushd src/cc/libbpf
 tar xf %{SOURCE1} --strip 1

++++++ bcc-fix-test_map_in_map.patch ++++++
diff --git a/tests/cc/test_map_in_map.cc b/tests/cc/test_map_in_map.cc
index 76c07f77..9a6f8454 100644
--- a/tests/cc/test_map_in_map.cc
+++ b/tests/cc/test_map_in_map.cc
@@ -22,7 +22,6 @@
 #include "catch.hpp"
 
 #if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 11, 0)
-typedef unsigned long long __u64;
 
 TEST_CASE("test hash of maps", "[hash_of_maps]") {
   {
++++++ v0.0.5.tar.gz -> v0.0.6.tar.gz ++++++
++++ 10036 lines of diff (skipped)

++++++ v0.0.5.tar.gz -> v0.12.0.tar.gz ++++++
++++ 160993 lines of diff (skipped)


Reply via email to