[DTrace-devel] [oracle/dtrace-utils] a73ac6: lexer: support // comments
Kris Van Hees
noreply at github.com
Fri Jul 25 17:27:34 UTC 2025
Branch: refs/heads/devel
Home: https://github.com/oracle/dtrace-utils
Commit: a73ac678a068323100db6598d0bba40ac2558e27
https://github.com/oracle/dtrace-utils/commit/a73ac678a068323100db6598d0bba40ac2558e27
Author: Kris Van Hees <kris.van.hees at oracle.com>
Date: 2025-07-23 (Wed, 23 Jul 2025)
Changed paths:
M libdtrace/dt_lex.l
A test/unittest/lexer/tst.boc-in-line-comment.d
A test/unittest/lexer/tst.boc-in-line-comment.r
A test/unittest/lexer/tst.eoc-in-line-comment.d
A test/unittest/lexer/tst.eoc-in-line-comment.r
A test/unittest/lexer/tst.eof-in-line-comment.d
A test/unittest/lexer/tst.eof-in-line-comment.r
A test/unittest/lexer/tst.lc-in-line-comment.d
A test/unittest/lexer/tst.lc-in-line-comment.r
A test/unittest/lexer/tst.line-comment.d
A test/unittest/lexer/tst.line-comment.r
Log Message:
-----------
lexer: support // comments
Suggested-by: Ruud van der Pas <ruud.vanderpas at oracle.com>
Suggested-by: Alan Maguire <alan.maguire at oracle.com>
Signed-off-by: Kris Van Hees <kris.van.hees at oracle.com>
Reviewed-by: Alan Maguire <alan.maguire at oracle.com>
Tested-by: Alan Maguire <alan.maguire at oracle.com>
Commit: a1eea5722dcad5af53646a66faa4173731a1ff37
https://github.com/oracle/dtrace-utils/commit/a1eea5722dcad5af53646a66faa4173731a1ff37
Author: Kris Van Hees <kris.van.hees at oracle.com>
Date: 2025-07-23 (Wed, 23 Jul 2025)
Changed paths:
M dlibs/aarch64/5.11/io.d
M dlibs/aarch64/5.12/io.d
M dlibs/aarch64/5.14/io.d
M dlibs/aarch64/5.16/io.d
M dlibs/aarch64/5.2/io.d
M dlibs/aarch64/5.6/io.d
M dlibs/aarch64/6.1/io.d
M dlibs/aarch64/6.10/io.d
M dlibs/x86_64/5.11/io.d
M dlibs/x86_64/5.12/io.d
M dlibs/x86_64/5.14/io.d
M dlibs/x86_64/5.16/io.d
M dlibs/x86_64/5.2/io.d
M dlibs/x86_64/5.6/io.d
M dlibs/x86_64/6.1/io.d
M dlibs/x86_64/6.10/io.d
M libdtrace/io.d.in
Log Message:
-----------
dlibs: use explicit vmlinux`major_names
It is better to use explicit module`symbol references in dlibs so as
to avoid loading modules needlessly.
Signed-off-by: Kris Van Hees <kris.van.hees at oracle.com>
Reviewed-by: Eugene Loh <eugene.loh at oracle.com>
Commit: cbf42fac2bc85767bd9f171c288d05068b020e2e
https://github.com/oracle/dtrace-utils/commit/cbf42fac2bc85767bd9f171c288d05068b020e2e
Author: Kris Van Hees <kris.van.hees at oracle.com>
Date: 2025-07-23 (Wed, 23 Jul 2025)
Changed paths:
M test/unittest/ip/tst.ipv6localicmp.r.p
M test/unittest/proc/tst.signals.r.p
M test/unittest/providers/rawfbt/tst.synthetic-entry.r.p
R test/unittest/providers/rawfbt/tst.synthetic-return.r.p
A test/unittest/providers/rawfbt/tst.synthetic-return.r.p
M test/unittest/ustack/tst.ustack25_pid.r.p
M test/unittest/vars/tst.ucaller.r.p
Log Message:
-----------
test: change .r.p files from /bin/sh to /bin/bash
Some tests that use features that assume that /bin/sh is bash, which
is not guaranteed in all distributions.
Signed-off-by: Kris Van Hees <kris.van.hees at oracle.com>
Reviewed-by: Eugene Loh <eugene.loh at oracle.com>
Commit: e7eaa621694426be72e21feaae395ded3e83c2b1
https://github.com/oracle/dtrace-utils/commit/e7eaa621694426be72e21feaae395ded3e83c2b1
Author: Kris Van Hees <kris.van.hees at oracle.com>
Date: 2025-07-23 (Wed, 23 Jul 2025)
Changed paths:
M test/unittest/disasm/tst.vartab-bvar.sh
Log Message:
-----------
test: sdt:task::task_rename takes only 4 args on newer kernels
Signed-off-by: Kris Van Hees <kris.van.hees at oracle.com>
Reviewed-by: Eugene Loh <eugene.loh at oracle.com>
Commit: c4b6043d3607cd88f2099b6759ec624b562989d7
https://github.com/oracle/dtrace-utils/commit/c4b6043d3607cd88f2099b6759ec624b562989d7
Author: Eugene Loh <eugene.loh at oracle.com>
Date: 2025-07-24 (Thu, 24 Jul 2025)
Changed paths:
M libdtrace/dt_aggregate.c
M libdtrace/dt_bpf.c
M libdtrace/dt_impl.h
M libdtrace/dt_open.c
Log Message:
-----------
Cache per-CPU agg map IDs
The dt_bpf_map_lookup_fd(dtp->dt_aggmap_fd, &cpu) call that is used to
snap or truncate aggregations takes a few milliseconds, which seems all
right. For large systems (e.g., 100 CPUs) and many truncations (e.g.,
tst.trunc.d, etc.), however, a trunc() might end up costing a minute on
the consumer side, which is unreasonable and causes such tests to time
out. The run time is due almost exclusively to looking up the per-CPU
agg map ID.
Cache the per-CPU agg map IDs.
Signed-off-by: Eugene Loh <eugene.loh at oracle.com>
Reviewed-by: Nick Alcock <nick.alcock at oracle.com>
Reviewed-by: Kris Van Hees <kris.van.hees at oracle.com>
Commit: c0d49436c33281ca4ca6fa1befc03e6ad10512d4
https://github.com/oracle/dtrace-utils/commit/c0d49436c33281ca4ca6fa1befc03e6ad10512d4
Author: Eugene Loh <eugene.loh at oracle.com>
Date: 2025-07-24 (Thu, 24 Jul 2025)
Changed paths:
M test/unittest/aggs/tst.trunc.d
M test/unittest/aggs/tst.truncquant.d
Log Message:
-----------
test: Convert tick-* probes to ioctl:entry for tst.trunc[quant].d
Historically, many tests have used tick-* probes to get multiple
probe firings, but those probes can be unreliable, depending on
how a kernel is configured. Tests that required very many probe
firings have been converted to ioctl:entry. Tests that required
very few have been left alone.
Convert more of these tests. They normally pass, but with erratic
execution time and sometimes time out.
Signed-off-by: Eugene Loh <eugene.loh at oracle.com>
Reviewed-by: Nick Alcock <nick.alcock at oracle.com>
Commit: f085ecf2fbb0d7b96c1ca5035d242171f354356b
https://github.com/oracle/dtrace-utils/commit/f085ecf2fbb0d7b96c1ca5035d242171f354356b
Author: Eugene Loh <eugene.loh at oracle.com>
Date: 2025-07-24 (Thu, 24 Jul 2025)
Changed paths:
M test/unittest/aggs/tst.multicpus.sh
Log Message:
-----------
test: Mimic dtrace arithmetic more closely for avg/stddev
The multicpus test checks that data from multiple CPUs is aggregated
properly. Operations like avg() and stddev() require division.
DTrace uses integer division, while awk does not.
Change the awk check to truncate intermediate results after division.
In practice, intermediate results are typically integer values anyhow.
So the test has generally passed. Non-integer values could arise if,
for example, CPUs are not numbered consecutively. More typically,
there may be a problem that the profile probe is not firing on every
expected CPU. So a test failure probably was a sign of a problem,
but that's a different problem, one beyond the scope of this test.
Signed-off-by: Eugene Loh <eugene.loh at oracle.com>
Reviewed-by: Nick Alcock <nick.alcock at oracle.com>
Commit: 0bbfa567230a5b779b2815402cb55c2fc49078a3
https://github.com/oracle/dtrace-utils/commit/0bbfa567230a5b779b2815402cb55c2fc49078a3
Author: Kris Van Hees <kris.van.hees at oracle.com>
Date: 2025-07-24 (Thu, 24 Jul 2025)
Changed paths:
R test/demo/struct/kstat.d
R test/demo/struct/kstat.t
Log Message:
-----------
demo: remove demo script depending on non-Linux OS features
Signed-off-by: Kris Van Hees <kris.van.hees at oracle.com>
Reveiwed-by: Elena Zannoni <elena.zannoni at oracle.com>
Reviewed-by: Eugene Loh <eugene.loh at oracle.com>
Commit: 779281bd45a5a9a6e64b1cdb45e2cbe4b1f50ea4
https://github.com/oracle/dtrace-utils/commit/779281bd45a5a9a6e64b1cdb45e2cbe4b1f50ea4
Author: Kris Van Hees <kris.van.hees at oracle.com>
Date: 2025-07-25 (Fri, 25 Jul 2025)
Changed paths:
M include/Build
Log Message:
-----------
install: add installation of libdtrace header file to install target
Signed-off-by: Kris Van Hees <kris.van.hees at oracle.com>
Reviewed-by: Nick Alcock <nick.alcock at oracle.com>
Commit: 2792711cb081bdce0e2aed1755081aeec06a7005
https://github.com/oracle/dtrace-utils/commit/2792711cb081bdce0e2aed1755081aeec06a7005
Author: Kris Van Hees <kris.van.hees at oracle.com>
Date: 2025-07-25 (Fri, 25 Jul 2025)
Changed paths:
M GNUmakefile
Log Message:
-----------
Update the VERSION in the GNUmakefile
Signed-off-by: Kris Van Hees <kris.van.hees at oracle.com>
Reviewed-by: Nick Alcock <nick.alcock at oracle.com>
Compare: https://github.com/oracle/dtrace-utils/compare/b8cc16369ebf...2792711cb081
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