Sync from SUSE:SLFO:Main bcc revision 44d1d390400371605565d9686f58189a
This commit is contained in:
parent
ab4056c97e
commit
c0ef659e89
BIN
bcc-0.30.0.tar.gz
(Stored with Git LFS)
BIN
bcc-0.30.0.tar.gz
(Stored with Git LFS)
Binary file not shown.
BIN
bcc-0.33.0.tar.gz
(Stored with Git LFS)
Normal file
BIN
bcc-0.33.0.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
72
bcc.changes
72
bcc.changes
@ -1,3 +1,68 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Feb 11 14:27:17 UTC 2025 - Wolfgang Frisch <wolfgang.frisch@suse.com>
|
||||||
|
|
||||||
|
- luajit: enable deterministic bytecode generation (boo#1236871)
|
||||||
|
* add deterministic_luajit.patch
|
||||||
|
* the bcc-lua package should now be reproducible
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jan 20 10:09:15 UTC 2025 - Wolfgang Frisch <wolfgang.frisch@suse.com>
|
||||||
|
|
||||||
|
- Update to version 0.33.0
|
||||||
|
* Support for kernel up to 6.12
|
||||||
|
* Add new bcc tool numasched
|
||||||
|
* syms: Initialize ModulePath::fd_ to invalid FD
|
||||||
|
* libbpf-tools/memleak: Fix off-by-one error
|
||||||
|
* libbpf-tools/slabratetop: Fix failed to create kprobe error
|
||||||
|
* libbpf_tools/profile: Support PID namespace mapping
|
||||||
|
* libbpf-tools/mountsnoop: Support fsopen,fsconfig,fsmount,move_mount syscalls
|
||||||
|
* tools/oomkill: get application level stack trace
|
||||||
|
* tools/profile: Add additional information to backtrace
|
||||||
|
* tools/mountsnoop: Fix fsmount printing wrong flags
|
||||||
|
* tools/compactsnoop: Add aarch64 support
|
||||||
|
* doc update, other bug fixes and tools improvement.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Dec 19 06:46:58 UTC 2024 - Shung-Hsi Yu <shung-hsi.yu@suse.com>
|
||||||
|
|
||||||
|
- Default to LLVM 19 in Factory and SLE15-SP7
|
||||||
|
- Drop fix-alignment-issue-on-x86_64-due-to-consecutive-bit.patch
|
||||||
|
(bsc#1219096)
|
||||||
|
* since LLVM 19 this is no longer required
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Nov 28 14:41:06 UTC 2024 - Wolfgang Frisch <wolfgang.frisch@suse.com>
|
||||||
|
|
||||||
|
- Removed patch: build-remove-llvm-dev-dependency-from-libbcc.patch
|
||||||
|
It is included in the latest upstream release.
|
||||||
|
|
||||||
|
- Update to version 0.32.0
|
||||||
|
* Support for kernel up to 6.11.
|
||||||
|
* bcc tool update: wakeuptime, readahead, shmsnoop, offcputime, cachestat,
|
||||||
|
cachetop, hardirqs
|
||||||
|
* libbpf tool update: futexctn, profile, readhead, softirqs, hardirqs
|
||||||
|
* Multiple enhancements for memleak: better error path checking, adding
|
||||||
|
mremap uprobe, etc.
|
||||||
|
* Support get pid/tgid in pid namespaces (cpudist, profile)
|
||||||
|
* multiple pid filtering support: profile, offcputime
|
||||||
|
* detect whether elf binary is PIE even if the binary is marked as DYN
|
||||||
|
* Fix several compilation issues with llvm20
|
||||||
|
* doc update, other bug fixes and tools improvement.
|
||||||
|
|
||||||
|
- Update to version 0.31.0
|
||||||
|
* Support for kernel up to 6.9.
|
||||||
|
* Add support for bcachefs to fsdist and fsslower tools
|
||||||
|
* libbpf tool update: memleak, syncsnoop, numamove, syscount, vfsstat,
|
||||||
|
tcptop, capable, syncsnoop, sigsnoop, etc.
|
||||||
|
* bcc tool update: biolatency, biosnoop, biotop, vfsstat, kvmexit, sslsniff,
|
||||||
|
swapin, etc.
|
||||||
|
* build: Remove llvm-dev dependency from libbcc
|
||||||
|
* build: Remove dependency on LLVM header from libbcc packages
|
||||||
|
* usdt: Fix bare register dereference on aarch64
|
||||||
|
* Extend `bcc_proc` API which allows to limit search to specific pid
|
||||||
|
* Fix several flaky tests.
|
||||||
|
* doc update, other bug fixes and tools improvement.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Jun 4 06:14:17 UTC 2024 - Shung-Hsi Yu <shung-hsi.yu@suse.com>
|
Tue Jun 4 06:14:17 UTC 2024 - Shung-Hsi Yu <shung-hsi.yu@suse.com>
|
||||||
|
|
||||||
@ -9,6 +74,13 @@ Tue Jun 4 05:41:57 UTC 2024 - Shung-Hsi Yu <shung-hsi.yu@suse.com>
|
|||||||
- Remove bcc-devel's requirement on llvm-devel
|
- Remove bcc-devel's requirement on llvm-devel
|
||||||
* add build-remove-llvm-dev-dependency-from-libbcc.patch
|
* add build-remove-llvm-dev-dependency-from-libbcc.patch
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri May 3 13:46:02 UTC 2024 - Shung-Hsi Yu <shung-hsi.yu@suse.com>
|
||||||
|
|
||||||
|
- Fix incorrect offset calculation when consecutive bitfields are
|
||||||
|
present (bsc#1219096)
|
||||||
|
* add fix-alignment-issue-on-x86_64-due-to-consecutive-bit.patch
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Mar 27 09:57:56 UTC 2024 - Shung-Hsi Yu <shung-hsi.yu@suse.com>
|
Wed Mar 27 09:57:56 UTC 2024 - Shung-Hsi Yu <shung-hsi.yu@suse.com>
|
||||||
|
|
||||||
|
15
bcc.spec
15
bcc.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package bcc
|
# spec file for package bcc
|
||||||
#
|
#
|
||||||
# Copyright (c) 2024 SUSE LLC
|
# Copyright (c) 2025 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -28,13 +28,16 @@
|
|||||||
|
|
||||||
# Use default LLVM on openSUSE unless it is not yet supported
|
# Use default LLVM on openSUSE unless it is not yet supported
|
||||||
%if 0%{?suse_version} >= 1600 || 0%{?is_opensuse}
|
%if 0%{?suse_version} >= 1600 || 0%{?is_opensuse}
|
||||||
%if 0%{?product_libs_llvm_ver} > 17
|
%if 0%{?product_libs_llvm_ver} > 19
|
||||||
%define llvm_major_version 17
|
%define llvm_major_version 19
|
||||||
%else
|
%else
|
||||||
%define llvm_major_version %{nil}
|
%define llvm_major_version %{nil}
|
||||||
%endif
|
%endif
|
||||||
%else
|
%else
|
||||||
# Hard-code latest LLVM for SLES, the default version is too old
|
# Hard-code latest LLVM for SLES, the default version is too old
|
||||||
|
%if 0%{?sle_version} == 150700
|
||||||
|
%define llvm_major_version 19
|
||||||
|
%else
|
||||||
%if 0%{?sle_version} == 150600
|
%if 0%{?sle_version} == 150600
|
||||||
%define llvm_major_version 17
|
%define llvm_major_version 17
|
||||||
%else
|
%else
|
||||||
@ -46,18 +49,18 @@
|
|||||||
%endif
|
%endif
|
||||||
%endif
|
%endif
|
||||||
%endif
|
%endif
|
||||||
|
%endif
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
Name: bcc
|
Name: bcc
|
||||||
Version: 0.30.0
|
Version: 0.33.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: BPF Compiler Collection (BCC)
|
Summary: BPF Compiler Collection (BCC)
|
||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
Group: Development/Tools/Other
|
Group: Development/Tools/Other
|
||||||
URL: https://github.com/iovisor/bcc
|
URL: https://github.com/iovisor/bcc
|
||||||
Source: https://github.com/iovisor/bcc/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
Source: https://github.com/iovisor/bcc/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||||
# PATCH-FIX-UPSTREAM build-remove-llvm-dev-dependency-from-libbcc.patch -- based on PR 5018
|
Patch0: deterministic_luajit.patch
|
||||||
Patch1: build-remove-llvm-dev-dependency-from-libbcc.patch
|
|
||||||
ExcludeArch: ppc s390
|
ExcludeArch: ppc s390
|
||||||
BuildRequires: bison
|
BuildRequires: bison
|
||||||
BuildRequires: cmake >= 2.8.7
|
BuildRequires: cmake >= 2.8.7
|
||||||
|
@ -1,49 +0,0 @@
|
|||||||
From 5b8e284d06743e21be814913f187957e43122751 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Manu Bretelle <chantr4@gmail.com>
|
|
||||||
Date: Wed, 29 May 2024 14:38:22 -0700
|
|
||||||
Subject: [PATCH 1/2] build: remove llvm-dev dependency from libbcc
|
|
||||||
|
|
||||||
In #4737 I added depedency on llvm-config.h in order to discover what LLVM version
|
|
||||||
is being used. This was only meant to be used at build time.
|
|
||||||
By adding llvm-config.h in bpf_module.h, a public header of libbcc, I introduced
|
|
||||||
a dependency on llvm-dev to libbcc which is unnecessary.
|
|
||||||
|
|
||||||
This change removes the include from `bpf_module.h`, which should be enough, and
|
|
||||||
add it to `bpf_module.cc` instead.
|
|
||||||
|
|
||||||
Fixes #4997
|
|
||||||
|
|
||||||
Signed-off-by: Manu Bretelle <chantr4@gmail.com>
|
|
||||||
---
|
|
||||||
src/cc/bpf_module.cc | 1 +
|
|
||||||
src/cc/bpf_module.h | 2 --
|
|
||||||
2 files changed, 1 insertion(+), 2 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/src/cc/bpf_module.cc b/src/cc/bpf_module.cc
|
|
||||||
index 91ab9af6..c0dd0119 100644
|
|
||||||
--- a/src/cc/bpf_module.cc
|
|
||||||
+++ b/src/cc/bpf_module.cc
|
|
||||||
@@ -17,6 +17,7 @@
|
|
||||||
|
|
||||||
#include <fcntl.h>
|
|
||||||
#include <linux/bpf.h>
|
|
||||||
+#include <llvm/Config/llvm-config.h>
|
|
||||||
#if LLVM_VERSION_MAJOR <= 16
|
|
||||||
#include <llvm-c/Transforms/IPO.h>
|
|
||||||
#endif
|
|
||||||
diff --git a/src/cc/bpf_module.h b/src/cc/bpf_module.h
|
|
||||||
index 56786e90..fc491cfe 100644
|
|
||||||
--- a/src/cc/bpf_module.h
|
|
||||||
+++ b/src/cc/bpf_module.h
|
|
||||||
@@ -22,8 +22,6 @@
|
|
||||||
#include <string>
|
|
||||||
#include <vector>
|
|
||||||
|
|
||||||
-#include <llvm/Config/llvm-config.h>
|
|
||||||
-
|
|
||||||
#include "bcc_exception.h"
|
|
||||||
#include "table_storage.h"
|
|
||||||
|
|
||||||
--
|
|
||||||
2.45.1
|
|
||||||
|
|
13
deterministic_luajit.patch
Normal file
13
deterministic_luajit.patch
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
Index: bcc-0.33.0/src/lua/CMakeLists.txt
|
||||||
|
===================================================================
|
||||||
|
--- bcc-0.33.0.orig/src/lua/CMakeLists.txt
|
||||||
|
+++ bcc-0.33.0/src/lua/CMakeLists.txt
|
||||||
|
@@ -15,7 +15,7 @@ if (LUAJIT_LIBRARIES AND LUAJIT)
|
||||||
|
|
||||||
|
ADD_CUSTOM_COMMAND(
|
||||||
|
OUTPUT bcc.o
|
||||||
|
- COMMAND ${LUAJIT} -bg bcc.lua bcc.o
|
||||||
|
+ COMMAND ${LUAJIT} -bgd bcc.lua bcc.o
|
||||||
|
DEPENDS bcc.lua
|
||||||
|
)
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user