Skip to content

Commit

Permalink
Update NEWS and spec file for errata release 2.0.0-1.11
Browse files Browse the repository at this point in the history
Signed-off-by: Eugene Loh <eugene.loh@oracle.com>
Reviewed-by: Kris Van Hees <kris.van.hees@oracle.com>
  • Loading branch information
euloh authored and kvanhees committed Oct 29, 2022
1 parent 750a069 commit 1304208
Show file tree
Hide file tree
Showing 2 changed files with 129 additions and 2 deletions.
106 changes: 106 additions & 0 deletions NEWS
Original file line number Diff line number Diff line change
@@ -1,3 +1,109 @@
2.0.0-1.11 (Oct 28th, 2022)
---------------------------

Eleventh errata of the standalone userspace implementation.

** This is a pre-release with limited functionality. **

New features:

- The args[] built-in variable has been implemented.

- Support loading scalars from kernel space addresses.

- The copyin(), copyinto(), and copyinstr() subroutines have been implemented.

- A -xlockmem option has been added to adjust the kernel locked-memory limit.
When loading BPF maps or programs fails in a way that might indicate that
the locked-memory limit is too low, an error message is printed to suggests
using this new option.

- Support for aggregations indexed by a key (tuple) has been added.

- Disassembler annotations have been added for aggregation variables.

- The setopt() action has been implemented. A limited number of options is
currently supported.

- The pid provider has been changed to ignore compiler-generated internal
function names.

- The USDT provider has been implemented for basic use cases. Regular,
non-is-enabled probes are supported for executables that are referenced
explicitly (by pid) in the probe script. Argument mapping and wildcard
probe specifications are not supported yet.

Bugfixes:

- Arguments of sdt-provider probes are now correctly populated using the
tracepoint data.

- Argument handling for dtrace:::, fbt:::return, pid:::, and syscall:::return
probes has been cleaned up.

- The dtrace utility is now able to handle multiple args after --.

- The -xcpp, -xctfpath, and -xverbose options have been fixed.

- Some bugs with typecasting and internal integer storage have been fixed.

- The libproc search of rtld_global has been improved for glibc changes.

- In procfs.d, projid_t was renamed to resolve a conflict with the kernel.

- In the parser, support has been added for slices of typedefs.

- String comparison involving non-DTrace pointers has been fixed.

- The value of the execname built-in variable is now correctly recognized as
a non-DTrace pointer.

Internal changes:

- The code generator is able to adapt to BPF-helper-function availability
differences between runtime kernels.

- Read-only blocks of zeros for initializing BPF maps have been consolidated.

- Tuples are now constructed with their component values at predictable
offsets based on their datatype rather than their value..

- Support for the BPF dt_bpf_map_next_key() helper to iterate over the keys
in a BPF map has been added.

- Support for multiple copies of aggregation data (DT_AGG_NUM_COPIES) is no
longer needed and has been removed.

- Support for creating a map (array or hash) of maps has been added, including
functions to perform lookups and updates of inner maps.

- The storage of aggregation data has been modified to make use of an array of
BPF hash maps, indexed by CPU id. As a result, aggregation data for each
CPU is stored in its own BPF hash map and can be modified without affecting
the data for other CPUs.

- Error reporting for BPF program load, map creation, CTF, and dlib load has
been cleaned up.

- Some code has been refactored and some obsolete code removed.

Testsuite changes:

- Add support for '-e' in test options.

- Tests that are expected to fail have improved xfail messages.

- Support has been added for more stringent, @@nosort checking.

- Problems with "unstable" tests are report as XFAIL.

- Tests that fire many times (historically using tick-n) are more robust.

- Various tests have been moved from XFAIL to PASS status to reflect the
implementation of new features and in view of some bug fixes.

- Various tests were improved.

2.0.0-1.10 (Apr 26th, 2022)
---------------------------

Expand Down
25 changes: 23 additions & 2 deletions dtrace.spec
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ Conflicts: systemtap-sdt-devel
Provides: systemtap-sdt-devel
Summary: DTrace user interface.
Version: 2.0.0
Release: 1.10%{?dist}
Release: 1.11%{?dist}
Source: dtrace-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
ExclusiveArch: x86_64 aarch64
Expand Down Expand Up @@ -240,8 +240,29 @@ fi
%{_libdir}/dtrace/testsuite

%changelog
* Fri Oct 28 2022 Kris Van Hees <kris.van.hees@oracle.com> - 2.0.0-1.11
- Add initial support for USDT. (Nick Alcock, Kris Van Hees)
- Add support for aggregation keys. (Eugene Loh, Kris Van Hees)
- Add support for copyin(), copyinto(), and copyinstr().
- Add support for built-in variable args[] and sdt probe arg types.
- Fix arg handling for various probes. (Eugene Loh)
- Add basic support for setopt().
- Add -xlockmem, with useful error message. (Eugene Loh)
- Fix -xverbose, -xcpp, and -xctfpath
- Fix handling of multiple args after --. (Nick Alcock)
- Have the pid provider ignore compiler-generated internal function names.
- Fix various bugs with typecasting and internal integer storage. (Eugene Loh)
- Fix access to scalars in kernel space.
- Fix libproc search of rtld_global due to glibc changes. (Nick Alcock)
[Orabug: 32856318]
- Truly decouple per-CPU BPF agg maps with a "map of maps."
- Unused dual aggregation copies (DT_AGG_NUM_COPIES) have been removed.
(Eugene Loh)
- Various testsuite fixes and improvements. [Orabug: 34251899]
- Various code improvements. [Orabug: 34251899]

* Tue Apr 26 2022 Kris Van Hees <kris.van.hees@oracle.com> - 2.0.0-1.10
- Add support for assocaitive arrays.
- Add support for associative arrays.
- Add support for allcoa() and bcopy(). (Nick Alcock)
- Add support for inet_ntoa(), progenyof(), getmajor(), getminor(),
mutex_owned(), mutex_owner(), mutex_type_adaptive(), mutex_type_spin(),
Expand Down

0 comments on commit 1304208

Please sign in to comment.