Skip to contentSkip to conversation

Add more Orabugs to dtrace.spec

PATCH In review [email protected] 2 participants 4 messages Oct 27, 2025

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 Add more Orabugs to dtrace.spec

From: Eugene Loh <[email protected]>

---
 dtrace.spec | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
dtrace.spec +5 -1
index 21a370f5e..0905763fd 100644
@@ -241,8 +241,12 @@ systemctl start dtprobed || :
 - Error injection via return() action.  (Kris Van Hees)
 - Improved string handling.  (Kris Van Hees)
 - Various bug fixes.  (Eugene Loh, Kris Van Hees)
+- Fix dyn vars overwriting one another.  [Orabug: 37994729]
+- Fix regression:  list fbt probes by default.  [Orabug: 38249511]
 - Various testsuite fixes and improvements.
   (Nick Alcock, Eugene Loh, Alan Maguire, Kris Van Hees)
+- Add test for preprocessor definitions.  [Orabug: 28763074]
+- Fix some stack tests.  [Orabug: 37459289]
 
 * Tue Jun 10 2025 Kris Van Hees <[email protected]> - 2.0.3-1
 - This is only released on OL10.
@@ -333,7 +337,7 @@ systemctl start dtprobed || :
 - Fix dtprobed to support DOF that exceeds 64KiB. (Nick Alcock)
   [Orabug: 35411920]
 - Do not modify input files with dtrace -G if unchanged. (Steven Sistare)
-  [Orbug: 35417184]
+  [Orabug: 35417184]
 - Various testsuite fixes and improvements.
   (Nick Alcock, Eugene Loh, Kris Van Hees) [Orabug: 35435195]
 - Various code improvements.  (Nick Alcock, Eugene Loh, Kris Van Hees)
Signature · 1 line
2.47.3
#1 lore raw

PATCH v2 1/1 Bump up the version to 2.0.4

From: Eugene Loh <[email protected]>

Note that test/unittest/preprocessor/tst.predefined.sh checks that the __SUNW_D_VERSION preprocessor symbol is consistent with the "dtrace -vV" message, and both of them simply use the last entry of versions.list and therefore will be consistent for in-tree builds.

When RPM packages are built from the .spec file, however, _DT_VERSION, used for the "dtrace -vV" "This is" message, comes from the .spec file.

Append a 2.0.4 entry to versions.list.

Remove the VERSION=%{version} from dtrace.spec build's make line, so that the version of the implementation is defined by the source code itself. The version in the spec file should be only the version of the packaging.

---
 dtrace.spec             | 3 +--
 libdtrace/versions.list | 1 +
 2 files changed, 2 insertions(+), 2 deletions(-)
dtrace.spec +1 -2
index a4f3ed774..e94025472 100644
@@ -131,8 +131,7 @@ it always tests the installed DTrace.
 %setup -q
 
 %build
-make -j $(getconf _NPROCESSORS_ONLN) VERSION=%{version} \
-	%{bpfc} %{maybe_use_fuse2}
+make -j $(getconf _NPROCESSORS_ONLN) %{bpfc} %{maybe_use_fuse2}
 
 # Force off debuginfo splitting.  We have no debuginfo in dtrace proper,
 # and the testsuite requires debuginfo for proper operation.
libdtrace/versions.list +1 -0
index 8986d2007..8d858f0bd 100644
@@ -65,3 +65,4 @@
 2.0.1	D API 2.0.1 Linux (BPF)
 2.0.2	D API 2.0.2 Linux (BPF)
 2.0.3	D API 2.0.3 Linux (BPF)
+2.0.4	D API 2.0.4 Linux (BPF)
Signature · 1 line
2.47.3
author
#2 lore raw

Re: [PATCH v2] Bump up the version to 2.0.4

Sorry for the duplicate...  this already got sent out.

Quoted 46 lines · On 10/27/25 14:25, [email protected] wrote:

From: Eugene Loh <[email protected]>

Note that test/unittest/preprocessor/tst.predefined.sh checks that the __SUNW_D_VERSION preprocessor symbol is consistent with the "dtrace -vV" message, and both of them simply use the last entry of versions.list and therefore will be consistent for in-tree builds.

When RPM packages are built from the .spec file, however, _DT_VERSION, used for the "dtrace -vV" "This is" message, comes from the .spec file.

Append a 2.0.4 entry to versions.list.

Remove the VERSION=%{version} from dtrace.spec build's make line, so that the version of the implementation is defined by the source code itself. The version in the spec file should be only the version of the packaging.

---
  dtrace.spec             | 3 +--
  libdtrace/versions.list | 1 +
  2 files changed, 2 insertions(+), 2 deletions(-)
dtrace.spec +1 -2
index a4f3ed774..e94025472 100644
@@ -131,8 +131,7 @@ it always tests the installed DTrace.
  %setup -q
 
  %build
-make -j $(getconf _NPROCESSORS_ONLN) VERSION=%{version} \
-	%{bpfc} %{maybe_use_fuse2}
+make -j $(getconf _NPROCESSORS_ONLN) %{bpfc} %{maybe_use_fuse2}
 
  # Force off debuginfo splitting.  We have no debuginfo in dtrace proper,
  # and the testsuite requires debuginfo for proper operation.
libdtrace/versions.list +1 -0
index 8986d2007..8d858f0bd 100644
@@ -65,3 +65,4 @@
  2.0.1	D API 2.0.1 Linux (BPF)
  2.0.2	D API 2.0.2 Linux (BPF)
  2.0.3	D API 2.0.3 Linux (BPF)
+2.0.4	D API 2.0.4 Linux (BPF)
Reviewed-by on v2 1/1
#3 lore raw
In reply to [email protected]
Quoted 3 lines · On Mon, Oct 27, 2025 at 02:25:37PM -0400, [email protected] wrote:

From: Eugene Loh <[email protected]>

Quoted 33 lines
---
 dtrace.spec | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
dtrace.spec +5 -1
index 21a370f5e..0905763fd 100644
@@ -241,8 +241,12 @@ systemctl start dtprobed || :
 - Error injection via return() action.  (Kris Van Hees)
 - Improved string handling.  (Kris Van Hees)
 - Various bug fixes.  (Eugene Loh, Kris Van Hees)
+- Fix dyn vars overwriting one another.  [Orabug: 37994729]
+- Fix regression:  list fbt probes by default.  [Orabug: 38249511]
 - Various testsuite fixes and improvements.
   (Nick Alcock, Eugene Loh, Alan Maguire, Kris Van Hees)
+- Add test for preprocessor definitions.  [Orabug: 28763074]
+- Fix some stack tests.  [Orabug: 37459289]
 
 * Tue Jun 10 2025 Kris Van Hees <[email protected]> - 2.0.3-1
 - This is only released on OL10.
@@ -333,7 +337,7 @@ systemctl start dtprobed || :
 - Fix dtprobed to support DOF that exceeds 64KiB. (Nick Alcock)
   [Orabug: 35411920]
 - Do not modify input files with dtrace -G if unchanged. (Steven Sistare)
-  [Orbug: 35417184]
+  [Orabug: 35417184]
 - Various testsuite fixes and improvements.
   (Nick Alcock, Eugene Loh, Kris Van Hees) [Orabug: 35435195]
 - Various code improvements.  (Nick Alcock, Eugene Loh, Kris Van Hees)
Signature · 1 line
2.47.3