7 Commits

Author SHA256 Message Date
dbebd35bea Accepting request 1324851 from devel:tools
OBS-URL: https://build.opensuse.org/request/show/1324851
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bpftrace?expand=0&rev=37
2025-12-31 09:47:52 +00:00
fc734e5b85 - Update to 0.24.2
* Fix incorrect pid/tid reporting in non-init namespaces
 * Improve BTF handling for strings, anonymous structs/unions
 * Fix multiple crashes and segfaults in printf, lhist output handling
 * Correct function argument size checks and enum-typed tracepoint argument
   resolution
 * Fix incorrect output and truncation issues in join() and block
   expressions

OBS-URL: https://build.opensuse.org/package/show/devel:tools/bpftrace?expand=0&rev=82
2025-12-30 21:10:49 +00:00
d867e0640f Accepting request 1309481 from devel:tools
OBS-URL: https://build.opensuse.org/request/show/1309481
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bpftrace?expand=0&rev=36
2025-10-07 16:28:29 +00:00
3cccd41399 Update to 0.24.1
OBS-URL: https://build.opensuse.org/package/show/devel:tools/bpftrace?expand=0&rev=80
2025-10-07 08:43:44 +00:00
23f4fcf434 Accepting request 1307040 from devel:tools
Update to v0.24.0

OBS-URL: https://build.opensuse.org/request/show/1307040
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bpftrace?expand=0&rev=35
2025-09-25 16:45:21 +00:00
69e44bb87d Add version constraint for bison since -Wcounterexamples support is required
OBS-URL: https://build.opensuse.org/package/show/devel:tools/bpftrace?expand=0&rev=78
2025-09-25 06:04:46 +00:00
bd77e47751 - Add xxd as build dependency
- Update to 0.24.0
    * Drop majority of DWARF support (hence LLDB is no longer required as a build depdency)

OBS-URL: https://build.opensuse.org/package/show/devel:tools/bpftrace?expand=0&rev=77
2025-09-25 05:42:11 +00:00
4 changed files with 119 additions and 9 deletions

Binary file not shown.

3
bpftrace-0.24.2.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e0514aa3e1a032b0b2de2cf3c281bfee9b9e80509498e70ed78786bbd64db373
size 1375106

View File

@@ -1,3 +1,114 @@
-------------------------------------------------------------------
Tue Dec 23 16:22:12 UTC 2025 - Hoyeon Lee <hoyeon.lee@suse.com>
- Update to 0.24.2
* Fix incorrect pid/tid reporting in non-init namespaces
* Improve BTF handling for strings, anonymous structs/unions
* Fix multiple crashes and segfaults in printf, lhist output handling
* Correct function argument size checks and enum-typed tracepoint argument
resolution
* Fix incorrect output and truncation issues in join() and block
expressions
-------------------------------------------------------------------
Tue Oct 7 08:13:41 UTC 2025 - Shung-Hsi Yu <shung-hsi.yu@suse.com>
- Update to 0.24.1
* Fix build with gcc-16
* ast: Avoid undefined behavior in literal folding
* Fix missing map key buffers for map aggregate functions
* Fix fentry/fexit recursion check
* Fix docs for PERCPU map types
-------------------------------------------------------------------
Thu Sep 25 06:00:34 UTC 2025 - Shung-Hsi Yu <shung-hsi.yu@suse.com>
- Add version constraint for bison since `-Wcounterexamples` support is
required
-------------------------------------------------------------------
Wed Sep 24 08:52:20 UTC 2025 - Shung-Hsi Yu <shung-hsi.yu@suse.com>
- Add xxd as build dependency
- Update to 0.24.0
* Breaking Changes
* Drop majority of DWARF support (hence LLDB is no longer required as a
build depdency), only uprobe argument parsing remains.
* Removed config option 'symbol_source' - it no longer has any effect
* Rawtracepoints now require kernel BTF
* Ustack and kstack symbols are automatically enhanced with debug info
if available
* Error by default if any probe fails to attach
* Require BPF_MAP_TYPE_RINGBUF to be available
* Require kernel uprobe ref counting to be available for USDTs with
semaphores
* strcontains and has_key now return boolean values instead of 1 and 0
* JSON serialization for unsupported and unknown types (e.g. float) may
now use null now rather than the empty string
* Text mode now emits all non-script generated output (e.g., errors,
attached notifications) to stderr instead of stdout
* Added
* Add ncpus builtin to get the number of CPUs.
* Use blazesym for user space address symbolization
* Add simple block expressions
* Add map declaration syntax (behind an "unstable" config flag)
* Add license config to specify BPF license
* Rawtracepoints can now use args builtin and list params
* Add ability to specify rawtracepoint modules
* Add 'show_debug_info' config for blazesym
* Add hygienic macros (behind an "unstable" config flag)
* Add warning when unset or empty positional parameters are used
* Support accessing up to 255 USDT probe args
* Add new builtin "usermode"
* Warn on discarded return values for specific builtin functions
* For loops now support .. ranges
* For loops now support break and continue
* Add pid and tid functions for choosing between the initial or the
current namespace
* Add boolean values (true and false)
* Add duration literals - suffixes include: ns, us, ms, s, m, h, d
* Add getopt function to handle named command line program arguments
* Add socket_cookie function to get the cookie of a socket
* Introduce tseries for capturing time series data
* Add ability to attach to running BPF programs and sub-programs via
fentry:bpf:prog_name or fentry:bpf:prog_id:prog_name
* Add BENCH for creating microbenchmarks
* Add 'assert' and 'ppid' to the macro standard library
* Add 'errorf' for printing error messages with the source location
* Add ability to call most builtins with call-style syntax e.g. comm()
* Allow non-constant array access
* Add '0' flag for printf to fill with leading 0s
* Add support for LLVM 21
* Changed
* kprobe: support verbose mode listing
* -p CLI flag now applies to all probes (except BEGIN/END)
* Introduce automatic session probes
* Positional params can be used in any part of a probe string
* Add signed type checking for map assignments
* Add signed type checking for map keys
* delete now returns 1 if successful, 0 if not
* if delete fails it will only print a warning if return value is not
handled
* Change "Attaching N probes..." to "Attached N probes"
* runqlat.bt: ignore idle task
* Only cache symbols from targeted process
* Automatically exit if only BEGIN/END probes are specified
* Moved docs for builtins, functions, and map functions into stdlib.md
and moved language docs into language.md
* Make probe provider names case insensitive
* Fixed
* Correctly handle type mismatches in map assignments.
* Improve watchpoint attachment and multi-probe reporting.
* Fix reading of `__data_loc` tracepoint arguments.
* Parse BTF for implicit kernel modules in kprobes.
* Tools
* opensnoop.bt: support openat2 syscall
* killsnoop.bt: display signal name instead of value
* killsnoop.bt: support tkill() and tgkill()
* Remove tools example usage txt files and move info to comments
* Fix biosnoop.bt to print comm from block_io_start probe
- Remove tools/doc/ as tracked package files (gh#bpftrace/bpftrace#4187)
-------------------------------------------------------------------
Tue Jun 10 06:09:39 UTC 2025 - Shung-Hsi Yu <shung-hsi.yu@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package bpftrace
#
# Copyright (c) 2025 SUSE LLC
# Copyright (c) 2025 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -49,7 +49,7 @@
%endif
Name: bpftrace
Version: 0.23.5
Version: 0.24.2
Release: 0
Summary: High-level tracing language for Linux eBPF
License: Apache-2.0
@@ -59,16 +59,17 @@ Source: https://github.com/iovisor/bpftrace/archive/v%{version}.tar.gz#/
BuildRequires: %cc_package
BuildRequires: binutils
BuildRequires: binutils-devel
BuildRequires: bison
# Required for -Wcounterexamples since gh#bpftrace/bpftrace#4124
BuildRequires: bison >= 3.7
BuildRequires: clang%{llvm_major_version}-devel
BuildRequires: cmake
BuildRequires: flex
BuildRequires: libbpf-devel
BuildRequires: libxml2-devel
BuildRequires: lldb%{llvm_major_version}-devel
BuildRequires: llvm%{llvm_major_version}-devel
BuildRequires: pkgconfig
BuildRequires: readline-devel
BuildRequires: xxd
BuildRequires: cmake(cereal)
BuildRequires: pkgconfig(libbcc) >= 0.11
BuildRequires: pkgconfig(libelf)
@@ -139,8 +140,6 @@ chmod +x %{buildroot}%{_datadir}/bpftrace/tools/old/*.bt
%{_datadir}/bpftrace/tools/*.bt
%dir %{_datadir}/bpftrace/tools/old
%{_datadir}/bpftrace/tools/old/*.bt
%dir %{_datadir}/bpftrace/tools/doc
%{_datadir}/bpftrace/tools/doc/*_example.txt
%{_mandir}/man8/*.8%{?ext_man}
%exclude %{_mandir}/man8/bpftrace.8%{ext_man}