* [RELEASE] DTrace 2.0.0-1.10
@ 2022-06-07 4:44 Kris Van Hees
0 siblings, 0 replies; only message in thread
From: Kris Van Hees @ 2022-06-07 4:44 UTC (permalink / raw)
We are happy to announce the availability of the latest development version
of DTrace for Linux (2.0.0-1.10).
This new version is based on BPF and other Linux kernel tracing features and
is implemented entirely as a userspace application.
The functionality is still lacking some fearures in comparison to the kernel
module based version of DTrace for Linux (currently at version 1.2.1-1).Â
Development continues in an incremental fashion to make the full feature set
of DTrace available using existing kernel features.
WHERE TO FIND IT?
The new version of DTrace for Linux is available at:
Â Â Â https://github.com/oracle/dtrace-utils/tree/2.0-branch-dev
The main development branch for DTrace for Linux is at:
The most recent release tag is 2.0.0-1.10.
Â - BEGIN and END probe (with full support for the expected semantics).
Â - ERROR probe support.
Â - Function Boundary Tracing (FBT) probes.
Â - System call entry and exit probes.
Â - Timer-based profile-* and tick-* probes.
Â - Statically Defined Tracing (SDT) probes for kernel tracepoints.
Â - Arguments for SDT probes can be retrieved with arg0-arg9.
Â - pid provider support for userspace function boundary tracing.
Â - Aggregated data collection support.
Â - Aggregation functions: avg, count, llquantize, lquantize, max, min,
Â Â Â quantize, stddev, and sum.
Â - Aggregation actions: normalize() and denormalize().
Â - Pretty-printing for aggregations using the printa() action.
Â - Support for local and global variables with storage sizes greater
Â Â Â than 8 bytes.Â This adds struct and union support for local and global
Â Â Â variables.
Â - Various features to support stack tracing.
Â - Direct compilation of D source code into BPF programs.
Â - Efficient use of pre-compiled BPF functions for library functions.
Â - A bpflog option to request the BPF verifier log for loaded programs.
Â - BPF program linking of dynamically generated code and pre-compiled code
Â Â Â to facilitate code sharing and code re-use.
Â - Improved integrated disassembler for generated BPF code at the
Â Â Â clause and program level (-S in combination with the new -xdisasm=#
Â Â Â option).
Â - Improved trace data buffer handling based on memory mapped perf event
Â Â Â ring-buffers.
Â - Deferred creation of kernel level probes.Â Listing available probes does
Â Â Â not require them to be created at the kernel level.
- Speculative tracing: speculation(), speculate(), commit(), and discard().
Â - Nearly complete support for strings: string constants in D clauses,
assignment, built-in variables, comparison operators, trace(), strlen(),
strchr(), strrchr(), index(), rindex(), strstr(), strjoin(), substr(),
- Host/network byte order conversion: htonl(), htonll(), htons(), ntohl(),
ntohll(), and ntohs().
- Symbol resolving for compressed kernel modules.
- Support to run dtrace under valgrind.
- [NEW] Subroutines: rand(), ftruncate(), basename(), dirname(), strtok(),
alloca(), bcopy(), getmajor(), getminor(), progenyof()i, inet_ntoa().
- [NEW] Support for Thread Local Storage (TLS) variables.
- [NEW] Support for associative arrays.
- [NEW] Support added to trace() for array, struct, and union arguments.
- [NEW] Built-in variable: execname
- [NEW] Improved disassembler annotations.
- [NEW] Error reporting includes the program counter.
DTrace for Linux depends on libctf (part of newer binutils) -or-
libdtrace-ctf.Â While libctf is preferred, building against libdtrace-ctf is
fully supported.Â It can be found at:
Â Â Â https://github.com/oracle/libdtrace-ctf
DTrace for Linux makes use of BPF library functions that are compiled at
build time.Â It depends on BPF support in GCC and binutils to generate the
pre-compiled BPF function library.
DTrace for Linux makes use of 3 additional features that are not commonly
available in the Linux kernel:
Â - CTF data generation at compile time: this provides important datatype
Â Â Â information for kernel and kernel module symbols.
Â - waitfd() system call: this provides a mechanism to monitor for state
Â Â Â changes of processes that are being traced.
Â - /proc/kallsyms module grouping support: this adds annotation with module
Â Â Â names to all symbols that are part of a kernel module even if the module
Â Â Â is configured to be compiled into the kernel proper.Â This allows for
Â Â Â consistent ways to refer to probes by module and function (or probe) name.
These additional support features for tracing are available at:
Â Â Â https://github.com/oracle/dtrace-linux-kernel/tree/v2/5.14.9
Please consider joining our development list: dtrace-devel at oss.oracle.com
Â Â Â Enjoy!
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-06-07 4:44 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-07 4:44 [RELEASE] DTrace 2.0.0-1.10 Kris Van Hees
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).