Changelog for
bpftrace-0.20.2-1.1.x86_64.rpm :
* Fri Mar 08 2024 Shung-Hsi Yu
- 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 pre-v6.0 kernel
* Wed Jan 31 2024 Shung-Hsi Yu - 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
* Wed Dec 20 2023 Aaron Puchert - 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.
* Thu Dec 14 2023 Shung-Hsi Yu - Bump LLVM major version to 17- Support DWARF parsing (boo#1217737)
* Mon Nov 13 2023 Shung-Hsi Yu - 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
* Mon Mar 06 2023 Shung-Hsi Yu - Add Vendor-BPF_F_KPROBE_MULTI_RETURN-definition.patch to fix build on Leap 15.5/SLES 15-SP5
* Thu Feb 09 2023 Shung-Hsi Yu - 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
* Mon Jan 09 2023 Shung-Hsi Yu - Bump LLVM major version to 15 in preparation for Leap 15.5/SLES 15-SP5
* Thu Sep 01 2022 Shung-Hsi Yu - 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
* Tue Jun 21 2022 pgajdosAATTsuse.com- do not link against the shared BFD libraries [bsc#1200630]
* Fri Apr 22 2022 Shung-Hsi Yu - 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
* Tue Oct 26 2021 Stephan Kulow - Update to 0.14.0 + Support microsecond timestamps in stftime() + Add _ as integer literal digit separator + Support for C style integer suffix in parser + Add C like pointer arithmetic + Automatic resolution of library paths for uprobes + Support positional parameters as integer literals + Access to uprobe arguments by name + Prevent LLVM from unrolling loops + Fix memory leaks in struct types + Fix strncmp() when N is bigger than on-stack buffer + Fix strncmp() to check for NUL terminator + Fix unroll() with async calls + Fix string comparison codegen + Fix verifier error when accessing same tracepoint field twice + Fix reading too many bits for <64 bit kfunc args + Fix misaligned stack access for map keys + Write new man page for bpftrace(8)
* Thu Oct 14 2021 Aleksa Sarai - Ensure we always use a fixed LLVM major version to match upstream (12 at the moment). On Leap we use the latest LLVM (9 at the moment) because 12 is not available.
* Mon Oct 04 2021 Shung-Hsi Yu - Update to bpftrace 0.13.0. + support for LLVM 12 + warn if attaching a kprobe to a non-traceable function + support for -k[k] and elapsed in iter probes + improve JSON printing (nested structs) + return 1 from tracepoint probes + preserve original order of struct types - disallow accessing common tracepoint fields - forbid casting from/to struct types
* Fri Apr 16 2021 Aleksa Sarai - Update to bpftrace 0.12.1.
* Incorrect --info output bug fix release
* Sat Apr 03 2021 Aleksa Sarai - Update to bpftrace 0.12.0. + add path, macaddr, strftime builtin + allow wildcards for tracepoint categories + add wildcard support for kfunc probe types + support scientific notation for integer literals + list retprobes + resolve unknown typedefs using BTF and give a hint when a type cannot be found + support multi-matched globbed targets for uprobe and ustd probes + positional parameters: support numbers as strings and params as string literals + support for tracepoint __data_loc fields + set addrspace info for various builtins + support watchpoint for kernel space address + support for pointer to pointer + support for uprobe refcounts + support for usdt arguments utilising the index register and scale + printing structures - disable str($# + 1)
* array improvements (support assignment to variables and usage as a map key)- Remove upstreamed patches: - bpftrace-bsc1180670-sync-man-page-and-help.patch
* Fri Jan 08 2021 Gary Ching-Pang Lin - Add bpftrace-bsc1180670-sync-man-page-and-help.patch to sync man page and help (bsc1180670)