Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
Name: bpftrace-tools | Distribution: openSUSE Tumbleweed |
Version: 0.23.1 | Vendor: openSUSE |
Release: 1.1 | Build date: Mon Apr 14 07:40:35 2025 |
Group: Development/Tools/Debuggers | Build host: reproducible |
Size: 165815 | Source RPM: bpftrace-0.23.1-1.1.src.rpm |
Packager: https://bugs.opensuse.org | |
Url: https://github.com/iovisor/bpftrace | |
Summary: Example bpftrace scripts and other useful snippets |
Collection of tools for quick instrumentation and inspection of a running system. These are all BPFtrace scripts within /usr/share/bpftrace, and can be easily modified to allow for different types of debugging.
Apache-2.0
* Mon Apr 14 2025 Shung-Hsi Yu <shung-hsi.yu@suse.com> - Update to 0.23.1 * Fix build failures due to missing location.hh * Thu Mar 27 2025 Shung-Hsi Yu <shung-hsi.yu@suse.com> - Fix runqlen tool to work on 6.14 kernel (bsc#1239774) * add 0001-tools-runqlen.bt-rename-nr_running-to-nr_queued.patch - Update to 0.23.0 * Breaking Changes * Remove '-kk' command line opt, surface some BPF errors by default, and make '-k' surface probe read errors * Added * offsetof() now supports sub fields e.g. offsetof(struct Foo, bar.a.b); * Pointers may now be used in if conditions, tenary conditions and as operands in logical AND and OR expressions * len now also accepts ustack and kstack as arguments * Add ability to cast int to an enum * Added warning when strcontains() is used on strings that are too big and may cause verifier issues * Add support for LLVM 20 * Changed * probe builtin is now represented as a string type * Change bpftrace help flag output from stderr to stdout * Change max_strlen default from 64 to 1024 * Add feature check for castable map reads * Increase default values for max_bpf_progs and max_probes * Allow use of variables before they are assigned * Removed * Drop support for LLVM 14 and 15 * Fixed * Fix json output for none type * Fix bug where strftime() %f specifier could be off by up to 1s * Fix pid, tid and ustack when running bpftrace in containers with PID namespacing * Do not generate functions for empty attach points * Fix ternary expression to accept all types * Fix feature detection for tracing program types * Fix strcontains() correctness bug where matches could be lost if both strings are non-literal * Fix str() bug where optional size parameter did not count towards NUL terminator * Tools * Fix dcsnoop.bt on newer kernels - Update to 0.22.1 * Fixed * Do not generate functions for empty attach points * Tools * Switch all bio* tools to tracepoints * Fix dcsnoop.bt on newer kernels - Update to 0.22.0 * Breaking Changes * Return uint32 instead of uint64 for pid and tid builtins * Remove multi-map delete functionality * Add lexical/block scoping for variables * Replace default map printing on SIGUSR1 with custom signal handling probes * Added * Bump max supported LLVM version to 19 * drop 0002-Drop-support-for-LLVM-12-and-below.patch * drop 0003-cmake-Allow-any-LLVM-release-for-debug-builds.patch * drop 0004-Bump-max-LLVM-version-to-19-3433.patch * Add --dry-run CLI option * Enable avg map reads in kernel space (implicit casting) * Enable for-loops in multiple probes * For-loops: Allow sharing variables between the main probe and the loop's body * Parse C++ Class and Inheritance from Debug Info * Add an optional size parameter to path * Allow tuples to be used as map keys * Add has_key function for maps * Add ability to attach kprobes to inlined functions * Variable declarations with let * Support symbolizing enum values using %s specifier in printf() * Configuration option to suppress printing maps by default at program exit * Add symbol_source config to source uprobe locations from either DWARF or the Symbol Table * Introduce builtin to access percpu kernel data * Changed * Merge output into stdout when -lv * Stream output when printing maps * Only print kernel headers not found message if parsing fails * Add mandatory "stage" argument to the -d CLI option * Allow simultaneous use of -v and -d * Remove length limitations for the buf builtin function * Change delete API to accept a map and key as separate args * Symbolize enums when used in maps * Removed * Remove the -dd CLI option * Drop support for LLVM 12 and below * Remove ALLOW_UNSAFE_PROBE compiler flag * Fixed * Fix verifier error when array indexing through pointer * Fix segfault for multi-tracepoint probes * Fix verifier error from misaligned stack access when using strings as map keys * Fix min/max map functions * Fix stack mode for stack builtin * Fix lldb support in appimage builds * Fix parsing large unsigned int strings as positional params * Fix json formatting for strftime function * Fix BTF/DWARF parsing for structs contained in arrays * Fix integer comparisons and auto casting for scratch variables * Fix tuple resizing * Handle invalid BTF without crashing * Fix json formatting for hex values * Fix binary operations on integers always returning 64 bit values * Fix verifier error when comparing result of len() * Fix type back propagation for map keys * Fix crash by adding checks for bad var/map assignments * Fix field access and offsetof for strings that are builtin types * Fix crash when using castable per-cpu map types as map keys * Fix loop values with per-cpu aggregations * Docs * Remove mention of unsupported character literals * Tools * Fix bashreadline tool probe for dynamically linked readline and drop 0001-tools-bashreadline-fix-probe-for-dynamically-linked-.patch - Bump maximum support LLVM version to 20 * Thu Dec 26 2024 Shung-Hsi Yu <shung-hsi.yu@suse.com> - Support building with LLVM 19 * add 0002-Drop-support-for-LLVM-12-and-below.patch * add 0003-cmake-Allow-any-LLVM-release-for-debug-builds.patch * add 0004-Bump-max-LLVM-version-to-19-3433.patch - Default to LLVM 19 in Factory and SLE15-SP7 * Wed Dec 18 2024 Shung-Hsi Yu <shung-hsi.yu@suse.com> - Update to 0.21.3 * Fix alignment issue for multi-key maps * Mon Nov 11 2024 Michal Suchanek <msuchanek@suse.de> - Use clang for build in Factory. * Fri Nov 01 2024 Petr Vorel <pvorel@suse.cz> - Backport fix for tools/bashreadline.bt needed for openQA testing (bsc#1232536) 0001-tools-bashreadline-fix-probe-for-dynamically-linked-.patch * Wed Oct 30 2024 Shung-Hsi Yu <shung-hsi.yu@suse.com> - Switch to gcc for compilation (bsc#1219008) * Thu Oct 24 2024 Aleksa Sarai <asarai@suse.com> - 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. * Wed May 22 2024 Shung-Hsi Yu <shung-hsi.yu@suse.com> - Update to 0.20.4 * Drop the kernel headers unpack and caching feature * Tue Mar 26 2024 Shung-Hsi Yu <shung-hsi.yu@suse.com> - Update to 0.20.3 to fix build on pre-v5.14 kernel - Drop fix-build-issue-when-using-UAPI-of-older-kernel.patch which is now included * Tue Mar 19 2024 Shung-Hsi Yu <shung-hsi.yu@suse.com> - Change LLVM version macro to the cleaner alternative that supports SLE as well, matching the one used in bcc package * Fri Mar 08 2024 Shung-Hsi Yu <shung-hsi.yu@suse.com> - Update to 0.20.2 * Fix security hole checking unpacked kernel headers (CVE-2024-2313) - 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 <shung-hsi.yu@suse.com> - 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 * Mon Jan 22 2024 Shung-Hsi Yu <shung-hsi.yu@suse.com> - Switch to gcc for compilation (bsc#1219008) * Wed Dec 20 2023 Aaron Puchert <aaronpuchert@alice-dsl.net> - 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 <shung-hsi.yu@suse.com> - Bump LLVM major version to 17 - Support DWARF parsing (boo#1217737) * Mon Nov 13 2023 Shung-Hsi Yu <shung-hsi.yu@suse.com> - 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 <shung-hsi.yu@suse.com> - 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 <shung-hsi.yu@suse.com> - 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 <shung-hsi.yu@suse.com> - Bump LLVM major version to 15 in preparation for Leap 15.5/SLES 15-SP5 * Thu Sep 01 2022 Shung-Hsi Yu <shung-hsi.yu@suse.com> - 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 pgajdos@suse.com - do not link against the shared BFD libraries [bsc#1200630] * Fri Apr 22 2022 Shung-Hsi Yu <shung-hsi.yu@suse.com> - 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
/usr/share/bpftrace /usr/share/bpftrace/tools /usr/share/bpftrace/tools/bashreadline.bt /usr/share/bpftrace/tools/biolatency-kp.bt /usr/share/bpftrace/tools/biolatency.bt /usr/share/bpftrace/tools/biosnoop.bt /usr/share/bpftrace/tools/biostacks.bt /usr/share/bpftrace/tools/bitesize.bt /usr/share/bpftrace/tools/capable.bt /usr/share/bpftrace/tools/cpuwalk.bt /usr/share/bpftrace/tools/dcsnoop.bt /usr/share/bpftrace/tools/doc /usr/share/bpftrace/tools/doc/bashreadline_example.txt /usr/share/bpftrace/tools/doc/biolatency_example.txt /usr/share/bpftrace/tools/doc/biosnoop_example.txt /usr/share/bpftrace/tools/doc/biostacks_example.txt /usr/share/bpftrace/tools/doc/bitesize_example.txt /usr/share/bpftrace/tools/doc/capable_example.txt /usr/share/bpftrace/tools/doc/cpuwalk_example.txt /usr/share/bpftrace/tools/doc/dcsnoop_example.txt /usr/share/bpftrace/tools/doc/execsnoop_example.txt /usr/share/bpftrace/tools/doc/gethostlatency_example.txt /usr/share/bpftrace/tools/doc/killsnoop_example.txt /usr/share/bpftrace/tools/doc/loads_example.txt /usr/share/bpftrace/tools/doc/mdflush_example.txt /usr/share/bpftrace/tools/doc/naptime_example.txt /usr/share/bpftrace/tools/doc/oomkill_example.txt /usr/share/bpftrace/tools/doc/opensnoop_example.txt /usr/share/bpftrace/tools/doc/pidpersec_example.txt /usr/share/bpftrace/tools/doc/runqlat_example.txt /usr/share/bpftrace/tools/doc/runqlen_example.txt /usr/share/bpftrace/tools/doc/setuids_example.txt /usr/share/bpftrace/tools/doc/ssllatency_example.txt /usr/share/bpftrace/tools/doc/sslsnoop_example.txt /usr/share/bpftrace/tools/doc/statsnoop_example.txt /usr/share/bpftrace/tools/doc/swapin_example.txt /usr/share/bpftrace/tools/doc/syncsnoop_example.txt /usr/share/bpftrace/tools/doc/syscount_example.txt /usr/share/bpftrace/tools/doc/tcpaccept_example.txt /usr/share/bpftrace/tools/doc/tcpconnect_example.txt /usr/share/bpftrace/tools/doc/tcpdrop_example.txt /usr/share/bpftrace/tools/doc/tcplife_example.txt /usr/share/bpftrace/tools/doc/tcpretrans_example.txt /usr/share/bpftrace/tools/doc/tcpsynbl_example.txt /usr/share/bpftrace/tools/doc/threadsnoop_example.txt /usr/share/bpftrace/tools/doc/undump_example.txt /usr/share/bpftrace/tools/doc/vfscount_example.txt /usr/share/bpftrace/tools/doc/vfsstat_example.txt /usr/share/bpftrace/tools/doc/writeback_example.txt /usr/share/bpftrace/tools/doc/xfsdist_example.txt /usr/share/bpftrace/tools/execsnoop.bt /usr/share/bpftrace/tools/gethostlatency.bt /usr/share/bpftrace/tools/killsnoop.bt /usr/share/bpftrace/tools/loads.bt /usr/share/bpftrace/tools/mdflush.bt /usr/share/bpftrace/tools/naptime.bt /usr/share/bpftrace/tools/old /usr/share/bpftrace/tools/old/biosnoop-pre-5.17.bt /usr/share/bpftrace/tools/old/biosnoop-pre-6.4.bt /usr/share/bpftrace/tools/old/biostacks.bt /usr/share/bpftrace/tools/old/mdflush.bt /usr/share/bpftrace/tools/old/runqlen.bt /usr/share/bpftrace/tools/old/tcpdrop.bt /usr/share/bpftrace/tools/oomkill.bt /usr/share/bpftrace/tools/opensnoop.bt /usr/share/bpftrace/tools/pidpersec.bt /usr/share/bpftrace/tools/runqlat.bt /usr/share/bpftrace/tools/runqlen.bt /usr/share/bpftrace/tools/setuids.bt /usr/share/bpftrace/tools/ssllatency.bt /usr/share/bpftrace/tools/sslsnoop.bt /usr/share/bpftrace/tools/statsnoop.bt /usr/share/bpftrace/tools/swapin.bt /usr/share/bpftrace/tools/syncsnoop.bt /usr/share/bpftrace/tools/syscount.bt /usr/share/bpftrace/tools/tcpaccept.bt /usr/share/bpftrace/tools/tcpconnect.bt /usr/share/bpftrace/tools/tcpdrop.bt /usr/share/bpftrace/tools/tcplife.bt /usr/share/bpftrace/tools/tcpretrans.bt /usr/share/bpftrace/tools/tcpsynbl.bt /usr/share/bpftrace/tools/threadsnoop.bt /usr/share/bpftrace/tools/undump.bt /usr/share/bpftrace/tools/vfscount.bt /usr/share/bpftrace/tools/vfsstat.bt /usr/share/bpftrace/tools/writeback.bt /usr/share/bpftrace/tools/xfsdist.bt /usr/share/man/man8/bashreadline.bt.8.gz /usr/share/man/man8/biolatency.bt.8.gz /usr/share/man/man8/biosnoop.bt.8.gz /usr/share/man/man8/biostacks.bt.8.gz /usr/share/man/man8/bitesize.bt.8.gz /usr/share/man/man8/capable.bt.8.gz /usr/share/man/man8/cpuwalk.bt.8.gz /usr/share/man/man8/dcsnoop.bt.8.gz /usr/share/man/man8/execsnoop.bt.8.gz /usr/share/man/man8/gethostlatency.bt.8.gz /usr/share/man/man8/killsnoop.bt.8.gz /usr/share/man/man8/loads.bt.8.gz /usr/share/man/man8/mdflush.bt.8.gz /usr/share/man/man8/naptime.bt.8.gz /usr/share/man/man8/oomkill.bt.8.gz /usr/share/man/man8/opensnoop.bt.8.gz /usr/share/man/man8/pidpersec.bt.8.gz /usr/share/man/man8/runqlat.bt.8.gz /usr/share/man/man8/runqlen.bt.8.gz /usr/share/man/man8/setuids.bt.8.gz /usr/share/man/man8/ssllatency.bt.8.gz /usr/share/man/man8/sslsnoop.bt.8.gz /usr/share/man/man8/statsnoop.bt.8.gz /usr/share/man/man8/swapin.bt.8.gz /usr/share/man/man8/syncsnoop.bt.8.gz /usr/share/man/man8/syscount.bt.8.gz /usr/share/man/man8/tcpaccept.bt.8.gz /usr/share/man/man8/tcpconnect.bt.8.gz /usr/share/man/man8/tcpdrop.bt.8.gz /usr/share/man/man8/tcplife.bt.8.gz /usr/share/man/man8/tcpretrans.bt.8.gz /usr/share/man/man8/tcpsynbl.bt.8.gz /usr/share/man/man8/threadsnoop.bt.8.gz /usr/share/man/man8/undump.bt.8.gz /usr/share/man/man8/vfscount.bt.8.gz /usr/share/man/man8/vfsstat.bt.8.gz /usr/share/man/man8/writeback.bt.8.gz /usr/share/man/man8/xfsdist.bt.8.gz
Generated by rpm2html 1.8.1
Fabrice Bellet, Thu Apr 24 23:26:44 2025