[DTrace-devel] [oracle/dtrace-utils] 6fe800: Add rodata support
Kris Van Hees
noreply at github.com
Sat Aug 5 14:49:06 UTC 2023
Branch: refs/heads/kvh/2.0-branch-dev-ip
Home: https://github.com/oracle/dtrace-utils
Commit: 6fe800e36e1e1dc2db41afcd3529de9ae6fad298
https://github.com/oracle/dtrace-utils/commit/6fe800e36e1e1dc2db41afcd3529de9ae6fad298
Author: Kris Van Hees <kris.van.hees at oracle.com>
Date: 2023-08-05 (Sat, 05 Aug 2023)
Changed paths:
M libdtrace/Build
M libdtrace/dt_bpf.c
M libdtrace/dt_bpf.h
M libdtrace/dt_cc.c
M libdtrace/dt_cg.c
M libdtrace/dt_dctx.h
M libdtrace/dt_dlibs.c
M libdtrace/dt_impl.h
M libdtrace/dt_open.c
A libdtrace/dt_rodata.c
A libdtrace/dt_rodata.h
M libdtrace/dt_subr.c
Log Message:
-----------
Add rodata support
Signed-off-by: Kris Van Hees <kris.van.hees at oracle.com>
Commit: 2220fd982bfe97de5050899b359146315ea75e9b
https://github.com/oracle/dtrace-utils/commit/2220fd982bfe97de5050899b359146315ea75e9b
Author: Kris Van Hees <kris.van.hees at oracle.com>
Date: 2023-08-05 (Sat, 05 Aug 2023)
Changed paths:
M libdtrace/dt_cg.c
Log Message:
-----------
cg: optional 4th arg for dt_cg_subr_arg_to_tstring() calls
Signed-off-by: Kris Van Hees <kris.van.hees at oracle.com>
Reviewed-by: Eugene Loh <eugene.loh at oracle.com>
Commit: 16be1b4050150c59c9e25ce1d1337afdc10ee415
https://github.com/oracle/dtrace-utils/commit/16be1b4050150c59c9e25ce1d1337afdc10ee415
Author: Kris Van Hees <kris.van.hees at oracle.com>
Date: 2023-08-05 (Sat, 05 Aug 2023)
Changed paths:
M libdtrace/dt_cg.c
A test/unittest/translators/tst.NullInput.d
M test/unittest/translators/tst.ProcModelTrans.d
Log Message:
-----------
cg: allow input to translator to be NULL
Some translators support NULL as input pointer value. The code generator
was performing a NULL-check on a the LHS of a PTR or DOT node before
considering the possibility that the node is subject to translator
handling. The check should happen after translator handling.
With this patch, tst.ProcModelTrans.d works but only for the case of
NULL input. The test is changed to actually use a real task_struct as
input. New test tst.NullInput.d exercises the case this patch fixes.
Signed-off-by: Kris Van Hees <kris.van.hees at oracle.com>
Reviewed-by: Eugene Loh <eugene.loh at oracle.com>
Commit: b2c4062656303e06ba614e37bbe7a8709bd53a62
https://github.com/oracle/dtrace-utils/commit/b2c4062656303e06ba614e37bbe7a8709bd53a62
Author: Kris Van Hees <kris.van.hees at oracle.com>
Date: 2023-08-05 (Sat, 05 Aug 2023)
Changed paths:
M bpf/Build
A bpf/inet_ntoa6.S
M libdtrace/dt_cg.c
M libdtrace/dt_dctx.h
M libdtrace/dt_impl.h
M test/unittest/funcs/tst.inet_ntoa6.d
Log Message:
-----------
Add support for inet_ntoa6() subroutine
Signed-off-by: Kris Van Hees <kris.van.hees at oracle.com>
Reviewed-by: Eugene Loh <eugene.loh at oracle.com>
Commit: 1972edfb8bfca97c312c548b1b24ad5652de6f77
https://github.com/oracle/dtrace-utils/commit/1972edfb8bfca97c312c548b1b24ad5652de6f77
Author: Kris Van Hees <kris.van.hees at oracle.com>
Date: 2023-08-05 (Sat, 05 Aug 2023)
Changed paths:
M libdtrace/dt_cg.c
A test/unittest/bitfields/tst.bitfield-offset.d
Log Message:
-----------
cg: correct bitfield offset determination
The C compiler (together with binutils) can represent bitfields using
one of two representations: store the actual offset of the bitfield in
ctm_offset, or store the base offset of the underlying type in ctm_offset
and store the offset within the underlying type as cte_offset.
Signed-off-by: Kris Van Hees <kris.van.hees at oracle.com>
Reviewed-by: Eugene Loh <eugene.loh at oracle.com>
Commit: f397ab9a923e060478c5e25e6a8f1ce662cbc57f
https://github.com/oracle/dtrace-utils/commit/f397ab9a923e060478c5e25e6a8f1ce662cbc57f
Author: Kris Van Hees <kris.van.hees at oracle.com>
Date: 2023-08-05 (Sat, 05 Aug 2023)
Changed paths:
M libdtrace/dt_cg.c
Log Message:
-----------
cg: fix tstring leak in translator members that yield string values
When a translator member yields a string value, the tstring holding the
value was not properly tracked. This resulted in an assertion failure
in test/demo/ip/ipproto.d.
Signed-off-by: Kris Van Hees <kris.van.hees at oracle.com>
Commit: aed542fe427baf808a96b379f5019518e489a151
https://github.com/oracle/dtrace-utils/commit/aed542fe427baf808a96b379f5019518e489a151
Author: Kris Van Hees <kris.van.hees at oracle.com>
Date: 2023-08-05 (Sat, 05 Aug 2023)
Changed paths:
M libdtrace/Build
M libdtrace/dt_open.c
A libdtrace/dt_prov_ip.c
M libdtrace/dt_provider.h
M libdtrace/ip.d
M test/demo/ip/ipproto.d
M test/unittest/funcs/tst.inet_ntoa.d
Log Message:
-----------
Implement the ip provider
Signed-off-by: Kris Van Hees <kris.van.hees at oracle.com>
Compare: https://github.com/oracle/dtrace-utils/compare/8200fea4b007...aed542fe427b
More information about the DTrace-devel
mailing list