87 Commits

Author SHA256 Message Date
df8631ae79 Accepting request 1330935 from devel:tools
OBS-URL: https://build.opensuse.org/request/show/1330935
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bpftrace?expand=0&rev=38
2026-02-04 20:09:17 +00:00
fd2583e768 Accepting request 1330934 from home:shunghsiyu:branches:bpf
Refactor LLVM version detection macro

OBS-URL: https://build.opensuse.org/request/show/1330934
OBS-URL: https://build.opensuse.org/package/show/devel:tools/bpftrace?expand=0&rev=84
2026-02-04 11:40:59 +00:00
b25d202d37 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
39b3c74bd4 Accepting request 1324636 from home:hoyeon.lee:branches:bpf
- 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/request/show/1324636
OBS-URL: https://build.opensuse.org/package/show/devel:tools/bpftrace?expand=0&rev=82
2025-12-30 21:10:49 +00:00
79c70e0980 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
9d3fff9f76 Accepting request 1309480 from home:shunghsiyu:branches:bpf
Update to 0.24.1

OBS-URL: https://build.opensuse.org/request/show/1309480
OBS-URL: https://build.opensuse.org/package/show/devel:tools/bpftrace?expand=0&rev=80
2025-10-07 08:43:44 +00:00
ff437af78a 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
e3365c8c0d Accepting request 1307038 from home:shunghsiyu:branches:bpf
Add version constraint for bison since `-Wcounterexamples` support is required

OBS-URL: https://build.opensuse.org/request/show/1307038
OBS-URL: https://build.opensuse.org/package/show/devel:tools/bpftrace?expand=0&rev=78
2025-09-25 06:04:46 +00:00
25c5af7a91 Accepting request 1307028 from home:shunghsiyu:branches:bpf
- 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/request/show/1307028
OBS-URL: https://build.opensuse.org/package/show/devel:tools/bpftrace?expand=0&rev=77
2025-09-25 05:42:11 +00:00
e5fc3763fc 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
8b0aed68a2 Accepting request 1284322 from home:shunghsiyu:branches:bpf
Update to 0.23.5

OBS-URL: https://build.opensuse.org/request/show/1284322
OBS-URL: https://build.opensuse.org/package/show/devel:tools/bpftrace?expand=0&rev=75
2025-06-10 07:00:41 +00:00
c2252b7db6 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
65e71c4b8e Accepting request 1269104 from home:shunghsiyu:branches:bpf
Update to 0.23.1

OBS-URL: https://build.opensuse.org/request/show/1269104
OBS-URL: https://build.opensuse.org/package/show/devel:tools/bpftrace?expand=0&rev=73
2025-04-14 06:12:40 +00:00
4e9aa21c6b 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
4c5079729b Accepting request 1235888 from home:shunghsiyu:branches:bpf
Support building with LLVM 19

OBS-URL: https://build.opensuse.org/request/show/1235888
OBS-URL: https://build.opensuse.org/package/show/devel:tools/bpftrace?expand=0&rev=71
2025-01-08 11:29:24 +00:00
d662956b40 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
ea79c99ace Accepting request 1232013 from home:shunghsiyu:branches:bpf
- Update to 0.21.3
  * Fix alignment issue for multi-key maps

OBS-URL: https://build.opensuse.org/request/show/1232013
OBS-URL: https://build.opensuse.org/package/show/devel:tools/bpftrace?expand=0&rev=69
2024-12-19 06:43:07 +00:00
2e064284b8 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
6cbbe4ebdd Accepting request 1223344 from home:michals
- Use clang for build in Factory.

OBS-URL: https://build.opensuse.org/request/show/1223344
OBS-URL: https://build.opensuse.org/package/show/devel:tools/bpftrace?expand=0&rev=67
2024-11-21 08:43:14 +00:00
ec7c54eec5 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
e151284ba3 Accepting request 1221316 from home:shunghsiyu:branches:bpf
Backport fix for tools/bashreadline.bt needed for openQA testing (bsc#1232536)

OBS-URL: https://build.opensuse.org/request/show/1221316
OBS-URL: https://build.opensuse.org/package/show/devel:tools/bpftrace?expand=0&rev=65
2024-11-05 06:10:40 +00:00
c2450311d9 Accepting request 1219558 from home:michals
Cherry-pick SLE fix.

- Switch to gcc for compilation (bsc#1219008)

OBS-URL: https://build.opensuse.org/request/show/1219558
OBS-URL: https://build.opensuse.org/package/show/devel:tools/bpftrace?expand=0&rev=64
2024-11-05 04:42:41 +00:00
9bfb9f24cc 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
2b5a2fe56b Accepting request 1218092 from home:cyphar:bpftrace
- 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/request/show/1218092
OBS-URL: https://build.opensuse.org/package/show/devel:tools/bpftrace?expand=0&rev=62
2024-10-28 10:14:54 +00:00
59b297745b 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
30d6fb1eb9 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
ca89ea81ff 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
71eee250cd 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
d47b7c1f49 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
62cda3efd5 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
e153c72435 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
334011ad1c 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
d067765d1f 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
f41186b866 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
f72b0ff2db 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
79b9296d36 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
68a97128c3 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
91d7b255bb 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
f08b765876 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
435402e9dc 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
01d63783ed 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
737f5cd832 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
0c5230971a 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
49fb408031 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
1626a2e046 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
a627cba2d0 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
9ec6de9ca6 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
20c0f4e8b4 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
a47f368e89 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
c327ea46ac 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