85 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
d2389eedaa Accepting request 1284323 from devel:tools
OBS-URL: https://build.opensuse.org/request/show/1284323
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bpftrace?expand=0&rev=34
2025-06-11 14:21:05 +00:00
d10bd2ed15 Update to 0.23.5
OBS-URL: https://build.opensuse.org/package/show/devel:tools/bpftrace?expand=0&rev=75
2025-06-10 07:00:41 +00:00
00d10c8347 Accepting request 1269108 from devel:tools
OBS-URL: https://build.opensuse.org/request/show/1269108
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bpftrace?expand=0&rev=33
2025-04-14 10:59:05 +00:00
897f95ca42 Update to 0.23.1
OBS-URL: https://build.opensuse.org/package/show/devel:tools/bpftrace?expand=0&rev=73
2025-04-14 06:12:40 +00:00
ea2f33e39d Accepting request 1235891 from devel:tools
OBS-URL: https://build.opensuse.org/request/show/1235891
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bpftrace?expand=0&rev=32
2025-01-09 14:09:41 +00:00
f6459a1878 Support building with LLVM 19
OBS-URL: https://build.opensuse.org/package/show/devel:tools/bpftrace?expand=0&rev=71
2025-01-08 11:29:24 +00:00
9d6c0ec805 Accepting request 1232014 from devel:tools
OBS-URL: https://build.opensuse.org/request/show/1232014
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bpftrace?expand=0&rev=31
2024-12-19 20:40:52 +00:00
37d5df0586 - Update to 0.21.3
* Fix alignment issue for multi-key maps

OBS-URL: https://build.opensuse.org/package/show/devel:tools/bpftrace?expand=0&rev=69
2024-12-19 06:43:07 +00:00
d1c42ed967 Accepting request 1225469 from devel:tools
OBS-URL: https://build.opensuse.org/request/show/1225469
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bpftrace?expand=0&rev=30
2024-11-21 14:18:45 +00:00
717e1fce9c - Use clang for build in Factory.
OBS-URL: https://build.opensuse.org/package/show/devel:tools/bpftrace?expand=0&rev=67
2024-11-21 08:43:14 +00:00
b838bf75fc Accepting request 1221317 from devel:tools
- Backport fix for tools/bashreadline.bt needed for openQA testing (bsc#1232536)
- Switch to gcc for compilation (bsc#1219008)

OBS-URL: https://build.opensuse.org/request/show/1221317
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bpftrace?expand=0&rev=29
2024-11-05 14:41:39 +00:00
322d020ffb Backport fix for tools/bashreadline.bt needed for openQA testing (bsc#1232536)
OBS-URL: https://build.opensuse.org/package/show/devel:tools/bpftrace?expand=0&rev=65
2024-11-05 06:10:40 +00:00
f51a194654 Cherry-pick SLE fix.
- Switch to gcc for compilation (bsc#1219008)

OBS-URL: https://build.opensuse.org/package/show/devel:tools/bpftrace?expand=0&rev=64
2024-11-05 04:42:41 +00:00
ff1a5b1f2c Accepting request 1218766 from devel:tools
OBS-URL: https://build.opensuse.org/request/show/1218766
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bpftrace?expand=0&rev=28
2024-10-28 14:22:51 +00:00
68b564a515 - Update to 0.21.2.
+ Add lazy_symbolication config option.
  + Add ability to list all probes in a program.
  + Add ability to call print() with indexed maps to print single map values.
  + Add LLVM 18 support.
  + Add ability to call delete() with multiple arguments.
  + Add for-each loops for iterating over map elements.
  + Add optional systemd support.
  + Add ability to attach uprobes to inlined functions.
  + Enable count, sum, min, and max map reads in kernel space.
  + Add config option for handling missing probes.
  * Better error message for args in mixed probes.
  * Improve DWARF support, using liblldb instead of libdw.
  * Use new hash function to reduce collisions when aggregating on stack
    traces.
  * Disable func builtin for kretprobes and uretprobes when get_func_ip feature
    is not available.
  * Move error printing from debug to verbose mode.
  * Allow attaching to spin_lock functions with mitigations to prevent
    deadlocks.
  * Remove length limitations for strings coming out of str() and path().
  - Deprecate sarg builtin.

OBS-URL: https://build.opensuse.org/package/show/devel:tools/bpftrace?expand=0&rev=62
2024-10-28 10:14:54 +00:00
f4d67df160 Accepting request 1175732 from devel:tools
OBS-URL: https://build.opensuse.org/request/show/1175732
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bpftrace?expand=0&rev=27
2024-05-22 19:32:13 +00:00
b1cc8de8a5 Accepting request 1175701 from home:shunghsiyu:branches:bpf
Update to 0.20.4 to align with upstream. It includes fix for CVE-2024-2313, but Tumbleweed is not affected since we do not enabled CONFIG_IKHEADERS, hence it makes no functional difference.

OBS-URL: https://build.opensuse.org/request/show/1175701
OBS-URL: https://build.opensuse.org/package/show/devel:tools/bpftrace?expand=0&rev=60
2024-05-22 09:53:49 +00:00
d6d1a3ac7e Accepting request 1162872 from devel:tools
OBS-URL: https://build.opensuse.org/request/show/1162872
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bpftrace?expand=0&rev=26
2024-03-27 19:41:52 +00:00
ba3a0597cd Accepting request 1162870 from home:shunghsiyu:branches:bpf
Update to 0.20.3 to fix build on pre-v5.14 kernel

OBS-URL: https://build.opensuse.org/request/show/1162870
OBS-URL: https://build.opensuse.org/package/show/devel:tools/bpftrace?expand=0&rev=58
2024-03-27 10:58:09 +00:00
fc921155ab Accepting request 1159175 from home:shunghsiyu:branches:bpf
Change LLVM version macro to the cleaner alternative that supports SLE as well, matching the one used in bcc package

OBS-URL: https://build.opensuse.org/request/show/1159175
OBS-URL: https://build.opensuse.org/package/show/devel:tools/bpftrace?expand=0&rev=57
2024-03-19 05:38:55 +00:00
80e0a1c358 Accepting request 1156262 from devel:tools
OBS-URL: https://build.opensuse.org/request/show/1156262
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bpftrace?expand=0&rev=25
2024-03-08 17:09:48 +00:00
3478de5079 Accepting request 1156261 from home:shunghsiyu:branches:bpf
- Update to 0.20.2 
    * Fix security hole checking unpacked kernel headers  
- Add fix-build-issue-when-using-UAPI-of-older-kernel.patch to fix build issue on Leap 15.4 and 15.5

OBS-URL: https://build.opensuse.org/request/show/1156261
OBS-URL: https://build.opensuse.org/package/show/devel:tools/bpftrace?expand=0&rev=55
2024-03-08 07:37:33 +00:00
c27c9f2b40 Accepting request 1142937 from devel:tools
OBS-URL: https://build.opensuse.org/request/show/1142937
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bpftrace?expand=0&rev=24
2024-01-31 22:54:55 +00:00
9b7f5f9348 Accepting request 1142934 from home:shunghsiyu:branches:bpf
- Change LLVM version macro to the cleaner alternative suggested in
  SR#1134405
- Update to 0.20.1
  * Add log2 histograms with finer granularity
  * Add support for uprobe_multi link
  * Attach BTF to generated BPF programs
  * Add fentry/fexit aliases for kfunc/kretfunc
  * Support pid targeting for uprobe
  * New builtin for getting the number of map elements
  * New config block syntax and standardize config and env var names
  * Add a jiffies builtin for advanced usages
  * Fix silent truncation of 64-bit values in hist()
  * Fix retval for kretfunc/fexit
  * Add PPID field to execsnoop.bt

OBS-URL: https://build.opensuse.org/request/show/1142934
OBS-URL: https://build.opensuse.org/package/show/devel:tools/bpftrace?expand=0&rev=53
2024-01-31 08:48:06 +00:00
4512dce054 Accepting request 1134386 from devel:tools
OBS-URL: https://build.opensuse.org/request/show/1134386
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bpftrace?expand=0&rev=23
2023-12-21 22:38:57 +00:00
426ba1e9b2 Accepting request 1134363 from home:aaronpuchert:branches:devel:tools
- No longer keep debug info: this is not needed since version 0.16
  because of gh#iovisor/bpftrace#2264. This reduces binary and
  package size significantly, and shouldn't regress on bsc#1178928.
- Enable (Thin)LTO via CMake.

OBS-URL: https://build.opensuse.org/request/show/1134363
OBS-URL: https://build.opensuse.org/package/show/devel:tools/bpftrace?expand=0&rev=51
2023-12-21 07:52:17 +00:00
3216767d94 Accepting request 1133267 from devel:tools
OBS-URL: https://build.opensuse.org/request/show/1133267
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bpftrace?expand=0&rev=22
2023-12-15 20:49:46 +00:00
a49893c80f Accepting request 1133266 from home:shunghsiyu:branches:bpf
- Bump LLVM major version to 17 for build in openSUSE:Factory project
- Support DWARF parsing (boo#1217737)

OBS-URL: https://build.opensuse.org/request/show/1133266
OBS-URL: https://build.opensuse.org/package/show/devel:tools/bpftrace?expand=0&rev=49
2023-12-15 08:52:04 +00:00
7279a7e6cc Accepting request 1125783 from devel:tools
OBS-URL: https://build.opensuse.org/request/show/1125783
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bpftrace?expand=0&rev=21
2023-11-14 20:42:27 +00:00
a58f6c7b34 Accepting request 1125782 from home:shunghsiyu:branches:bpf
- Update to 0.19.1
  * Support all iterators
  * Support parsing bitfields from BTF/DWARF and printing entire
    structs
  * Support using BTF for tracepoints defined in modules
  * PowerPC
    * Enable watchpoint support
  * Add new function, offsetof, get the offset of the element in
    the struct
  * Add iter:task_vma iterators detection
  * Add trailer to truncated strings
  * Support func builtin for k(ret)func probes
  * Support casting int <-> int array
  * Support targeting all running processes for USDTs
  * Improve attaching to uprobes with size 0
  * Make args a structure (instead of a pointer)
  * Improve user symbol resolution
  * uprobes: make C++ symbol demangling explicit
  * uprobe: improve C++ probes listing
  * Fix segfaults in dwarf_parser
  * Fix resolving username for malformed /etc/passwd
  * Fix crashes when maps are concurrently modified
  * Fix alignment of byte arrays inside tuples
  * Allow '+' in attach point path
  * Improve listing and 'probe' builtin for several probe types
  * Allow probe builtin with aliased software/hardware probes
  * Support executing symlinked binaries with -c
  * Add access to CLOCK_MONOTONIC with nsecs(monotonic)
  * iter: Skip structures with '__safe_trusted' suffix
  * Improve detection of unknown typedefs in ClangParser
- Drop Vendor-BPF_F_KPROBE_MULTI_RETURN-definition.patch since it
  is included from v0.18.0

OBS-URL: https://build.opensuse.org/request/show/1125782
OBS-URL: https://build.opensuse.org/package/show/devel:tools/bpftrace?expand=0&rev=47
2023-11-14 03:27:13 +00:00
d9e4994de7 Accepting request 1069557 from devel:tools
OBS-URL: https://build.opensuse.org/request/show/1069557
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bpftrace?expand=0&rev=20
2023-03-06 17:56:19 +00:00
ffc9e9c742 Accepting request 1069556 from home:shunghsiyu:branches:bpf
Add Vendor-BPF_F_KPROBE_MULTI_RETURN-definition.patch to fix build system with older kernel header. While not necessary for Factory/Tumbleweed since it has the latest kernel header with BPF_F_KPROBE_MULTI_RETURN, this helps Leap 15.5/SLE15-SP5 and earlier.

OBS-URL: https://build.opensuse.org/request/show/1069556
OBS-URL: https://build.opensuse.org/package/show/devel:tools/bpftrace?expand=0&rev=45
2023-03-06 09:20:05 +00:00
0fc0fa323d Accepting request 1063956 from devel:tools
OBS-URL: https://build.opensuse.org/request/show/1063956
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bpftrace?expand=0&rev=19
2023-02-09 15:23:25 +00:00
5b9ca7098a Accepting request 1063955 from home:shunghsiyu:branches:bpf
- Set USE_SYSTEM_BPF_BCC to ON so system libraries are used
- Update to 0.17.0
  + Support opaque pointer (boo#1207295)
  + Support 32-bit ARM systems
  + Support BTF in kernel modules
  + Add %rh option to print buffer as hex without \x
  + Add stdbool.h to built-in headers
  + Raise minimum versions for libbpf and bcc and vendor them for local builds
  + Support comparison for integer arrays
  + Drop Ubuntu 19.10 lockdown detection
  + Fix pointer/register loads on 32-bit architectures
  + Fix kprobe multi-attachment
  + Fix attaching to multiple USDT probes using the same wildcard
  + Fix pointer arithmetics codegen
  + Fix segfault for invalid AssignVarStatement visit
  + Better handling of missing function trace support files
  + Fix unroll ID reset
  + Support profile and interval probes in probe matcher
  + Fix BTF detection macro in tools/old/mdflush.bt

OBS-URL: https://build.opensuse.org/request/show/1063955
OBS-URL: https://build.opensuse.org/package/show/devel:tools/bpftrace?expand=0&rev=43
2023-02-09 08:21:16 +00:00
7e35e0179b Accepting request 1057731 from devel:tools
OBS-URL: https://build.opensuse.org/request/show/1057731
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bpftrace?expand=0&rev=18
2023-01-11 13:35:53 +00:00
ad3eab3664 Accepting request 1057721 from home:shunghsiyu:branches:bpf
- Bump LLVM major version to 15 in preparation for Leap 15.5/SLES 15-SP5

OBS-URL: https://build.opensuse.org/request/show/1057721
OBS-URL: https://build.opensuse.org/package/show/devel:tools/bpftrace?expand=0&rev=41
2023-01-11 08:27:01 +00:00
e627b2bc55 Accepting request 1002200 from devel:tools
OBS-URL: https://build.opensuse.org/request/show/1002200
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bpftrace?expand=0&rev=17
2022-09-09 16:27:59 +00:00
Stephan Kulow
589991c8fb Accepting request 1000625 from home:shunghsiyu:branches:devel:tools
- Drop Detect-new-BTF-api-btf_dump__new-btf_dump__new_v0_6_0.patch, which is
  incorporated since 0.16.0
- Update to 0.16.0
  + Add builtin: numaid
  + Add helper verifier error handling
  + Add builtin: pton
  + Add builtin: debugf
  + Add builtin: strerror
  + Move from BCC to libbpf (although BCC is still a dependency)
  + Add non-uprobe based BEGIN/END implementation
  + Helper errors (-k, -kk options) are now emitted to text or json output
  + kprobe offset verification is now optional, without requiring --unsafe
  + Disallow different lhist bounds in a single map
  + Serialize empty histogram as an empty JSON array
  + Handle enum values in tracepoint format defs
  + Fix compound assignments with non-unary expr
  + Fix invalid LLVM IR in join builtin
  + Fix lexer buffer size check
  + Fix invalid LLVM IR as detected by tests
  + Fix builds against libbfd(binutils) >=2.39
  + Fix access to ctx
  + Add sslsnoop and ssllatency tools
  + Add undump tool.
- Update to 0.15.0
  + Add option for unconditional hex output
  + Add builtin function: cgroup_path
  + Limit number of generated BPF programs
  + Support the octal format specifier (%o) in printf
  + Improve include paths resolution
  + Automatic type resolution from DWARF
  + Add builtin function: bswap
  + Print all maps to stdout on SIGUSR1
  + Use auto-resolution of library paths for tools
  + Improve handling empty attach points
  + Fix precedence of multiplicative operations
  + Fix probe matching for uprobes with absolute address
  + Fix tools to work on new kernel versions
  + Fix uprobe target resolution
  + Fix using wildcards in kfunc
  + Improve handling of format strings
  + Fix codegen for buf
  + Update biosnoop.bt for kernel >=5.17

OBS-URL: https://build.opensuse.org/request/show/1000625
OBS-URL: https://build.opensuse.org/package/show/devel:tools/bpftrace?expand=0&rev=39
2022-09-08 19:50:31 +00:00
017d820b56 Accepting request 984679 from devel:tools
OBS-URL: https://build.opensuse.org/request/show/984679
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bpftrace?expand=0&rev=16
2022-06-23 08:27:58 +00:00
7b70094327 Accepting request 984502 from home:pgajdos
- do not link against the shared BFD libraries [bsc#1200630]

OBS-URL: https://build.opensuse.org/request/show/984502
OBS-URL: https://build.opensuse.org/package/show/devel:tools/bpftrace?expand=0&rev=37
2022-06-23 08:12:05 +00:00
3b35501e53 Accepting request 972846 from devel:tools
OBS-URL: https://build.opensuse.org/request/show/972846
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bpftrace?expand=0&rev=15
2022-04-26 18:15:49 +00:00
4bff07dfc1 Accepting request 972025 from home:shunghsiyu:branches:devel:tools
- Update to 0.14.1
  + Fix precedence of multiplicative operations
- Add Detect-new-BTF-api-btf_dump__new-btf_dump__new_v0_6_0.patch to fix compilation error when building with libbpf v0.6

OBS-URL: https://build.opensuse.org/request/show/972025
OBS-URL: https://build.opensuse.org/package/show/devel:tools/bpftrace?expand=0&rev=35
2022-04-26 11:05:26 +00:00
2dda2ebd15 Accepting request 930034 from devel:tools
OBS-URL: https://build.opensuse.org/request/show/930034
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bpftrace?expand=0&rev=14
2021-11-08 16:24:24 +00:00