Skip to content

Commit

Permalink
Update NEWS and spec file for errata release 2.0.0-1.10
Browse files Browse the repository at this point in the history
Signed-off-by: Kris Van Hees <kris.van.hees@oracle.com>
  • Loading branch information
kvanhees committed Apr 27, 2022
1 parent b5540c2 commit beeb93e
Show file tree
Hide file tree
Showing 2 changed files with 113 additions and 1 deletion.
81 changes: 81 additions & 0 deletions NEWS
Original file line number Diff line number Diff line change
@@ -1,3 +1,84 @@
2.0.0-1.10 (Apr 26th, 2022)
---------------------------

Tenth errata of the standalone userspace implementation.

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

New features:

- The trace() action supports array, struct, and union values.

- The execname built-in variables is now implemented.

- The inet_ntoa() subroutine has been implemented.

- The progenyof() subroutine has been implemented.

- The getmajor() and getminor() subroutines have been implemented.

- The mutex_owned(), mutex_owner(), mutex_type_adaptive(), mutex_type_spin(),
rw_read_held(), rw_write_held(), and rw_iswriter() have been implemented.

- The alloca() and bcopy() subroutines have been implemented.

- Associative arrays have been implemented. They are supported for both
global and TLS variables.

- Disassembler annotations have been added for associative arrays, register
spills, and string constants.

- The translators have been updated to support up to kernel series 5.16.

- Faults will now report the PC (program counter) where the fault is reported.

Bugfixes:

- Register allocation leaks were fixed.

- NULL pointer verification has been optimized to avoid checking the same
pointer more than once.

- NULL pointers handling in ternary conditionals are now supported.

- Casting of pointers to integers has been fixed.

- Negative (immediate) values in signed conditionals are now printed
correctly.

- Disassembler annotations for TLS variables have been corrected.

- The DIFO strtab handling has been reworked to fix multiple bugs.

Internal changes:

- The strlen() subroutine is now implemented using the bpf_probe_read_str()
BPF helper.

- Strings are no longer stored using a length prefix.

- BPF functions that are implemented in C or assembly code are no longer
statically listed in the DTrace source code. Their existence is determined
at runtime when the dlibs are loaded.

- All load-time constants are now handled by the relocation mechanism.

- New function dt_dis_insn() can be used by developers to disassemble a
single instruction..

- The implementation of pre and post arithmetic has been optimized.

- Relocation support for the 'add immediate' instructions has been added.

- The substr() subroutine has been optimized to reduce register pressure.

Testsuite changes:

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

- Various tests were improved.

2.0.0-1.9 (Dec 8th, 2021)
-------------------------

Expand Down
33 changes: 32 additions & 1 deletion dtrace.spec
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,19 @@
# under /usr/src/kernels, define local_kernels on the command line (in addition
# to dtrace_kernels).

%if "%{?dist}" == ".el9"
%{!?build_kernel: %define build_kernel 5.15.0-0.16.2%{?dist}uek}
%{!?dtrace_kernels: %define dtrace_kernels %{build_kernel}}
%endif
%if "%{?dist}" == ".el8"
%{!?build_kernel: %define build_kernel 5.4.17-2102.206.1%{?dist}uek}
%{!?dtrace_kernels: %define dtrace_kernels %{build_kernel} 5.15.0-0.16.2%{?dist}uek}
%endif
%if "%{?dist}" == ".el7"
%{!?build_kernel: %define build_kernel 5.4.17-2018%{?dist}uek}
%{!?dtrace_kernels: %define dtrace_kernels %{build_kernel}}
%define with_libctf 0
%endif

# ARM64 doesn't yet have a 32-bit glibc, so all support for 32-on-64 must be
# disabled.
Expand All @@ -48,6 +59,9 @@ Requires: cpp elfutils-libelf zlib libpcap
BuildRequires: glibc-headers bison flex zlib-devel elfutils-libelf-devel
BuildRequires: glibc-static %{glibc32} wireshark libpcap-devel valgrind-devel
BuildRequires: kernel%{variant}-devel = %{build_kernel}
%if "%{?dist}" == ".el8"
BuildRequires: kernel%{variant}-devel = 5.15.0-0.16.2%{?dist}uek
%endif
BuildRequires: gcc-bpf-unknown-none
BuildRequires: binutils-bpf-unknown-none
%if %{with_libctf}
Expand All @@ -61,7 +75,7 @@ Conflicts: systemtap-sdt-devel
Provides: systemtap-sdt-devel
Summary: DTrace user interface.
Version: 2.0.0
Release: 1.9%{?dist}
Release: 1.10%{?dist}
Source: dtrace-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
ExclusiveArch: x86_64 aarch64
Expand Down Expand Up @@ -226,6 +240,22 @@ fi
%{_libdir}/dtrace/testsuite

%changelog
* 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 allcoa() and bcopy(). (Nick Alcock)
- Add support for inet_ntoa(), progenyof(), getmajor(), getminor(),
mutex_owned(), mutex_owner(), mutex_type_adaptive(), mutex_type_spin(),
rw_read_held(), rw_write_held(), and rw_iswriter(). (Eugene Loh)
- Improved fault handling. (Nick Alcock, Kris Van Hees)
- Various disassembler improvements, esp. annotations.
- Strings are no longer stored using a length prefix.
- The trace() action now supports arrays, structs, and unions.
- Various testsuite fixes and improvements. [Orabug: 34112342]
- Various code improvements. [Orabug: 34112342]

* Mon Jan 31 2022 Kris Van Hees <kris.van.hees@oracle.com> - 2.0.0-1.9.1
- Add support for UEK7. [Orabug: 33806867]

* Wed Dec 08 2021 Kris Van Hees <kris.van.hees@oracle.com> - 2.0.0-1.9
- Add support for strtok(). (Eugene Loh)
- Implement TLS (thread-local storage) variables.
Expand Down Expand Up @@ -265,6 +295,7 @@ fi
- Add support for substr() subroutine.

* Fri Jun 18 2021 Kris Van Hees <kris.van.hees@oracle.com> - 2.0.0-1.6
- Consolidated development of newly ported features. [Orabug: 33037106]
- Implement built-in variables: probeprov, probemod, probefunc, probename.
- Implement built-in variables: caller, stackdepth, ucaller, ustackdepth,
errno, walltimestamp. (Eugene Loh)
Expand Down

0 comments on commit beeb93e

Please sign in to comment.