[DTrace-devel] [oracle/dtrace-utils] 1c8cef: test: Use a more ubiquitous probe for return()-act...
euloh
noreply at github.com
Fri Oct 3 04:05:59 UTC 2025
Branch: refs/heads/dev-queue
Home: https://github.com/oracle/dtrace-utils
Commit: 1c8cefdcf2f8191b6640c5095729fb7188df89fd
https://github.com/oracle/dtrace-utils/commit/1c8cefdcf2f8191b6640c5095729fb7188df89fd
Author: Eugene Loh <eugene.loh at oracle.com>
Date: 2025-10-03 (Fri, 03 Oct 2025)
Changed paths:
M test/unittest/actions/return/err.not_allowed-1.d
M test/unittest/actions/return/err.not_allowed-1.r
A test/unittest/actions/return/err.not_allowed-1.r.p
M test/unittest/actions/return/err.not_allowed-2.d
M test/unittest/actions/return/err.not_allowed-2.r
M test/unittest/actions/return/err.not_allowed-3.d
M test/unittest/actions/return/err.not_allowed-3.r
Log Message:
-----------
test: Use a more ubiquitous probe for return()-action tests
In commit ee2bd3465
("test: Use a more ubiquitous probe for return()-action tests"),
rawfbt probes are named in some tests, but they do not exist for
some kernels. Switch to more ubiquitous probes, since the details
of the probe largely do not matter.
Signed-off-by: Eugene Loh <eugene.loh at oracle.com>
Reviewed-by: Kris Van Hees <kris.van.hees at oracle.com>
Commit: d0fdeec5018bf69c12eadb065176e38f2804c174
https://github.com/oracle/dtrace-utils/commit/d0fdeec5018bf69c12eadb065176e38f2804c174
Author: Eugene Loh <eugene.loh at oracle.com>
Date: 2025-10-03 (Fri, 03 Oct 2025)
Changed paths:
R test/unittest/variables/bvar/tst.ustackdepth2.r
A test/unittest/variables/bvar/tst.ustackdepth2.r
M test/unittest/variables/bvar/tst.ustackdepth2.r.p
R test/unittest/variables/bvar/tst.ustackdepth_big.r
R test/unittest/variables/bvar/tst.ustackdepth_big.r.p
M test/unittest/variables/bvar/tst.ustackdepth_big.sh
Log Message:
-----------
test: Fix some ustackdepth tests
Fix these issues.
Issue 1.
In commit e48bf6a23 ("Add support for built-in variable ustackdepth"),
tests ustackdepth2 and ustackdepth_big were introduced and their .r and
.r.p files were links to those of the stackdepth2 test.
In commit 842eabc0e
("test: caller and stackdepth tests for fbt provider"), the stackdepth2
test was explicitly renamed "fbt" since tests for many providers were
being introduced. The links of the earlier patch were not updated.
Issue 2.
The ustackdepth_big test modified perf_event_max_stack. If the test
were interrupted, the value was not restored.
Issue 3.
That ustackdepth_big test only checked that the stackdepth was
consistent with the reported stack. While this check is good, it missed
the point of the test, which is that the system limit could be
increased.
Signed-off-by: Eugene Loh <eugene.loh at oracle.com>
Reviewed-by: Kris Van Hees <kris.van.hees at oracle.com>
Commit: a694a917b3d5d2532b7dce9bebcbdd481b9df40c
https://github.com/oracle/dtrace-utils/commit/a694a917b3d5d2532b7dce9bebcbdd481b9df40c
Author: Eugene Loh <eugene.loh at oracle.com>
Date: 2025-10-03 (Fri, 03 Oct 2025)
Changed paths:
M test/triggers/ustack-tst-bigstack.c
Log Message:
-----------
test: Fix antiquated reference to dtrace_ustackdepth_max
Signed-off-by: Eugene Loh <eugene.loh at oracle.com>
Reviewed-by: Kris Van Hees <kris.van.hees at oracle.com>
Commit: 877fcdeb25b370be182d51f27fb4bd8e4f739fb1
https://github.com/oracle/dtrace-utils/commit/877fcdeb25b370be182d51f27fb4bd8e4f739fb1
Author: Eugene Loh <eugene.loh at oracle.com>
Date: 2025-10-03 (Fri, 03 Oct 2025)
Changed paths:
M test/triggers/Build
R test/unittest/ustack/tst.bigstack.aarch64.x
Log Message:
-----------
test: Remove antiquated special case for aarch64
Also, add some compilation flags while we are at it.
Signed-off-by: Eugene Loh <eugene.loh at oracle.com>
Reviewed-by: Kris Van Hees <kris.van.hees at oracle.com>
Compare: https://github.com/oracle/dtrace-utils/compare/11f0cdcd525a...877fcdeb25b3
To unsubscribe from these emails, change your notification settings at https://github.com/oracle/dtrace-utils/settings/notifications
More information about the DTrace-devel
mailing list