Support deeper version numbers (e.g. 2.0.4.x)
PATCH 1/2 Support deeper version numbers (e.g. 2.0.4.x)
From: Eugene Loh <[email protected]>
--- libdtrace/mkvers | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
libdtrace/mkvers +1 -1
@@ -10,7 +10,7 @@ NF == 0 { next; } { - if (match($1, /^[1-9][0-9]*(\.[0-9]*){1,2}$/) == 0) { + if (match($1, /^[1-9][0-9]*(\.[0-9]*){1,3}$/) == 0) { print "E: Invalid version string: " $1 >"/dev/stderr"; exit 1 }
Signature · 1 line
2.47.3
PATCH 2/2 Update NEWS and dtrace.spec for release 2.0.4.1
From: Eugene Loh <[email protected]>
--- NEWS | 57 +++++++++++++++++++++++++++++++++++++++++ dtrace.spec | 15 +++++++++++ libdtrace/versions.list | 1 + 3 files changed, 73 insertions(+)
NEWS +57 -0
@@ -1,3 +1,60 @@ +2.0.4.1-1 (Jan 26th, 2026) +------------------------ + +New features: + + - Implement PID-specific uprobes. + +Bugfixes: + + - Allocate the buffers BPF map to fit highest CPU id. + + - Change the "stack skip" to 3 for fbt (fprobe) and rawtp providers. + + - Fix prvname so that both rawfbt and fbt probes are seen. + + - Do not convert "__" to "-" for stapsdt provider names. + + - Fix printf formatting with non-monetary grouping chars. + +User-visible changes: + + - Discontinue -xversion=V as an option. + + - Support non-libctf environments for tcp. + +Internal changes: + + - Fix some memory leaks. + + - Refactor some code. + +Testsuite changes: + + - Correct file permissions. + + - Add ERROR clause to prevent hang from runtime error. + +Documentation changes: + +- Add the DTrace Tutorial to the git repo and install package. + +- Clean up formatting. + +- Add missing documentation: trunc(), stapsdt, usdt.h include path. + +- Update sections: unimplemented functions, sdt provider. + +- Update LLM context files to forbid "if" statements. + +- Update README.md for RPM info. + +Build-time: + + - Clean up .spec file. + + - Add testsuite dependency for perl-Net-Ping + 2.0.4-1 (Oct 24th, 2025) ------------------------
dtrace.spec +15 -0
@@ -229,6 +229,21 @@ systemctl start dtprobed || : %{_libdir}/dtrace/testsuite %changelog +* Mon Jan 26 2026 Eugene Loh <[email protected]> - 2.0.4.1-1 +- Implement PID-specific uprobes. +- Allocate the buffers BPF map to fit highest CPU id. +- Change the "stack skip" to 3 for fbt (fprobe) and rawtp providers. + [Orabug: 38776929] +- Fix prvname so that both rawfbt and fbt probes are seen. + [Orabug: 38842114] +- Do not convert "__" to "-" for stapsdt provider names. +- Fix printf formatting with non-monetary grouping chars. + [Orabug: 30430270] +- Discontinue -xversion=V as an option. [Orabug: 38615307] +- Add the DTrace Tutorial to the git repo and install package. +- Add missing documentation: trunc(), stapsdt, usdt.h include path. +- Update LLM context files to forbid "if" statements. + * Fri Oct 24 2025 Eugene Loh <[email protected]> - 2.0.4-1 - TCP, UDP, and stapsdt providers implemented. (Alan Maguire) - New learning materials: the User's Guide in Markdown format,
libdtrace/versions.list +1 -0
@@ -66,3 +66,4 @@ 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) +2.0.4.1 D API 2.0.4.1 Linux (BPF)
Signature · 1 line
2.47.3
Re: [PATCH 2/2] Update NEWS and dtrace.spec for release 2.0.4.1
Quoted 3 lines · On Mon, Jan 26, 2026 at 06:41:50PM -0500, [email protected] wrote:
From: Eugene Loh <[email protected]>
Signed-off-by Eugene Loh <[email protected]>
Quoted 109 lines
--- NEWS | 57 +++++++++++++++++++++++++++++++++++++++++ dtrace.spec | 15 +++++++++++ libdtrace/versions.list | 1 + 3 files changed, 73 insertions(+)NEWS +57
-0@@ -1,3 +1,60 @@ +2.0.4.1-1 (Jan 26th, 2026) +------------------------ + +New features: + + - Implement PID-specific uprobes. + +Bugfixes: + + - Allocate the buffers BPF map to fit highest CPU id. + + - Change the "stack skip" to 3 for fbt (fprobe) and rawtp providers. + + - Fix prvname so that both rawfbt and fbt probes are seen. + + - Do not convert "__" to "-" for stapsdt provider names. + + - Fix printf formatting with non-monetary grouping chars. + +User-visible changes: + + - Discontinue -xversion=V as an option. + + - Support non-libctf environments for tcp. + +Internal changes: + + - Fix some memory leaks. + + - Refactor some code. + +Testsuite changes: + + - Correct file permissions. + + - Add ERROR clause to prevent hang from runtime error. + +Documentation changes: + +- Add the DTrace Tutorial to the git repo and install package. + +- Clean up formatting. + +- Add missing documentation: trunc(), stapsdt, usdt.h include path. + +- Update sections: unimplemented functions, sdt provider. + +- Update LLM context files to forbid "if" statements. + +- Update README.md for RPM info. + +Build-time: + + - Clean up .spec file. + + - Add testsuite dependency for perl-Net-Ping + 2.0.4-1 (Oct 24th, 2025) ------------------------dtrace.spec +15
-0@@ -229,6 +229,21 @@ systemctl start dtprobed || : %{_libdir}/dtrace/testsuite %changelog +* Mon Jan 26 2026 Eugene Loh <[email protected]> - 2.0.4.1-1 +- Implement PID-specific uprobes. +- Allocate the buffers BPF map to fit highest CPU id. +- Change the "stack skip" to 3 for fbt (fprobe) and rawtp providers. + [Orabug: 38776929] +- Fix prvname so that both rawfbt and fbt probes are seen. + [Orabug: 38842114] +- Do not convert "__" to "-" for stapsdt provider names. +- Fix printf formatting with non-monetary grouping chars. + [Orabug: 30430270] +- Discontinue -xversion=V as an option. [Orabug: 38615307] +- Add the DTrace Tutorial to the git repo and install package. +- Add missing documentation: trunc(), stapsdt, usdt.h include path. +- Update LLM context files to forbid "if" statements. + * Fri Oct 24 2025 Eugene Loh <[email protected]> - 2.0.4-1 - TCP, UDP, and stapsdt providers implemented. (Alan Maguire) - New learning materials: the User's Guide in Markdown format,libdtrace/versions.list +1
-0@@ -66,3 +66,4 @@ 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) +2.0.4.1 D API 2.0.4.1 Linux (BPF)Signature · 1 line
2.47.3
Quoted 3 lines · On Mon, Jan 26, 2026 at 06:41:49PM -0500, [email protected] wrote:
From: Eugene Loh <[email protected]>
Signed-off-by Eugene Loh <[email protected]>
Quoted 20 lines
--- libdtrace/mkvers | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)libdtrace/mkvers +1
-1@@ -10,7 +10,7 @@ NF == 0 { next; } { - if (match($1, /^[1-9][0-9]*(\.[0-9]*){1,2}$/) == 0) { + if (match($1, /^[1-9][0-9]*(\.[0-9]*){1,3}$/) == 0) { print "E: Invalid version string: " $1 >"/dev/stderr"; exit 1 }Signature · 1 line
2.47.3
Quoted 6 lines · Kris Van Hees
Quoted 3 lines · On Mon, Jan 26, 2026 at 06:41:49PM -0500, [email protected] wrote:
From: Eugene Loh <[email protected]>
Signed-off-by Eugene Loh <[email protected]>Reviewed-by Kris Van Hees <[email protected]>
Woops, I was too hasty on this. More changes are needed... See the following:
if (current) {
$0 = versions[idx[n]];
if ($3 == 0)
printf "%s.%s", $1, $2;
else
printf "%s.%s.%s", $1, $2, $3;
exit(0);
}Obviously, we need to account here also for the possibility of 4 digits, and then again in all the other places where we output version numbers.
Quoted 20 lines
Quoted 20 lines
--- libdtrace/mkvers | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)libdtrace/mkvers +1
-1@@ -10,7 +10,7 @@ NF == 0 { next; } { - if (match($1, /^[1-9][0-9]*(\.[0-9]*){1,2}$/) == 0) { + if (match($1, /^[1-9][0-9]*(\.[0-9]*){1,3}$/) == 0) { print "E: Invalid version string: " $1 >"/dev/stderr"; exit 1 }Signature · 1 line
2.47.3
Actually, please ignore me :) I totally overlooked that DTrace only supports up to 3 digits for version numbers. Changing that would be a much larger change, and not necessarily worth doing.
I'd say we revert this patch as being incorrect in view of the established versioning scheme, and number the release currently being prepared as being 2.0.5.
Quoted 43 lines · Kris Van Hees
Quoted 6 lines · Kris Van Hees
Quoted 3 lines · On Mon, Jan 26, 2026 at 06:41:49PM -0500, [email protected] wrote:
From: Eugene Loh <[email protected]>
Signed-off-by Eugene Loh <[email protected]>Reviewed-by Kris Van Hees <[email protected]>Woops, I was too hasty on this. More changes are needed... See the following:
if (current) { $0 = versions[idx[n]]; if ($3 == 0) printf "%s.%s", $1, $2; else printf "%s.%s.%s", $1, $2, $3; exit(0); }Obviously, we need to account here also for the possibility of 4 digits, and then again in all the other places where we output version numbers.
Quoted 20 lines
Quoted 20 lines
--- libdtrace/mkvers | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)libdtrace/mkvers +1
-1@@ -10,7 +10,7 @@ NF == 0 { next; } { - if (match($1, /^[1-9][0-9]*(\.[0-9]*){1,2}$/) == 0) { + if (match($1, /^[1-9][0-9]*(\.[0-9]*){1,3}$/) == 0) { print "E: Invalid version string: " $1 >"/dev/stderr"; exit 1 }Signature · 1 line
2.47.3