[DTrace-devel] [oracle/dtrace-utils] cf3da5: provider: fix registering fbt and rawfbt twice
euloh
noreply at github.com
Sat Jun 7 06:09:59 UTC 2025
Branch: refs/heads/kvh/usdt-dev
Home: https://github.com/oracle/dtrace-utils
Commit: cf3da5d629c5ec7431ebbde1d589ee77aa404b57
https://github.com/oracle/dtrace-utils/commit/cf3da5d629c5ec7431ebbde1d589ee77aa404b57
Author: Kris Van Hees <kris.van.hees at oracle.com>
Date: 2025-06-07 (Sat, 07 Jun 2025)
Changed paths:
M libdtrace/dt_provider.c
M libdtrace/dt_provider.h
Log Message:
-----------
provider: fix registering fbt and rawfbt twice
Now that rawfbt has been integrated into the fbt provider, it no longer
needs to be in the list of providers to call populate() in.
Signed-off-by: Kris Van Hees <kris.van.hees at oracle.com>
Reviewed-by: Eugene Loh <eugene.loh at oracle.com>
Commit: 671679ca7109b03fb9fd0d75cad29d50d9ca6a9b
https://github.com/oracle/dtrace-utils/commit/671679ca7109b03fb9fd0d75cad29d50d9ca6a9b
Author: Kris Van Hees <kris.van.hees at oracle.com>
Date: 2025-06-07 (Sat, 07 Jun 2025)
Changed paths:
M libdtrace/dt_provider.c
Log Message:
-----------
providers: loop through all providers for discovery
The discovery of probes was tied to the static list of providers that
are called on init. It should iterate over all providers that are in
fact registered, i.e. the dt_provs hash.
Signed-off-by: Kris Van Hees <kris.van.hees at oracle.com>
Reviewed-by: Eugene Loh <eugene.loh at oracle.com>
Commit: a717b347fd93f5463ff72d6b7a968d013d00a4cf
https://github.com/oracle/dtrace-utils/commit/a717b347fd93f5463ff72d6b7a968d013d00a4cf
Author: Kris Van Hees <kris.van.hees at oracle.com>
Date: 2025-06-07 (Sat, 07 Jun 2025)
Changed paths:
M libdtrace/dt_open.c
M libdtrace/dt_version.h
Log Message:
-----------
Only include dt_git_version.h where needed
Signed-off-by: Kris Van Hees <kris.van.hees at oracle.com>
Reviewed-by: Eugene Loh <eugene.loh at oracle.com>
Commit: 8f650c85424719ec60f5866361958f289f5f5cab
https://github.com/oracle/dtrace-utils/commit/8f650c85424719ec60f5866361958f289f5f5cab
Author: Kris Van Hees <kris.van.hees at oracle.com>
Date: 2025-06-07 (Sat, 07 Jun 2025)
Changed paths:
M libcommon/dof_parser.c
Log Message:
-----------
dof_parser: remove pointless comment
Signed-off-by: Kris Van Hees <kris.van.hees at oracle.com>
Reviewed-by: Eugene Loh <eugene.loh at oracle.com>
Commit: 54213ccfaff8e209d8b61ca9d4ffd40d693942c7
https://github.com/oracle/dtrace-utils/commit/54213ccfaff8e209d8b61ca9d4ffd40d693942c7
Author: Kris Van Hees <kris.van.hees at oracle.com>
Date: 2025-06-07 (Sat, 07 Jun 2025)
Changed paths:
M dtprobed/dtprobed.c
M libcommon/dof_parser.c
M libcommon/dof_parser.h
Log Message:
-----------
dof_parser: restructure the dof_copyin*() code
All logic for reading data from the DOF parser pipe is now consolidated
in dof_copyin().
Signed-off-by: Kris Van Hees <kris.van.hees at oracle.com>
Reviewed-by: Eugene Loh <eugene.loh at oracle.com>
Commit: 65d56b1c713ad22857056604c7ec9dfc792ca3f5
https://github.com/oracle/dtrace-utils/commit/65d56b1c713ad22857056604c7ec9dfc792ca3f5
Author: Kris Van Hees <kris.van.hees at oracle.com>
Date: 2025-06-07 (Sat, 07 Jun 2025)
Changed paths:
M dtprobed/dof_stash.c
M dtprobed/dof_stash.h
M dtprobed/dtprobed.c
M libcommon/Build
R libcommon/dof_parser.c
R libcommon/dof_parser.h
R libcommon/dof_parser_host.c
A libcommon/usdt_parser.c
A libcommon/usdt_parser.h
A libcommon/usdt_parser_dof.c
A libcommon/usdt_parser_host.c
M libdtrace/dt_pid.c
Log Message:
-----------
dof_parser: generic parser framework to support multiple parsers
To prepare for non-DOF section based USDT probe definitions, the data
passed from dtprobed to the USDT data parser is more generic. The
dof_helper_t structure is passed first, followed by a block count, and
that number of data blocks, passed as a size followed by the content.
Signed-off-by: Kris Van Hees <kris.van.hees at oracle.com>
Reviewed-by: Eugene Loh <eugene.loh at oracle.com>
Commit: b90f5b95fed57cb0f49aed7eef26cad8e0c09d6d
https://github.com/oracle/dtrace-utils/commit/b90f5b95fed57cb0f49aed7eef26cad8e0c09d6d
Author: Kris Van Hees <kris.van.hees at oracle.com>
Date: 2025-06-07 (Sat, 07 Jun 2025)
Changed paths:
M dtprobed/dtprobed.c
Log Message:
-----------
dtprobed: fix probe name debug output
Debug output while reading dof_parsed_t structures was printing the
probe names as provider->provider.name and probe->probe.name, but
probe.name is a 0-separated concatenation of the probe name elements.
It only printed the module name. Corrected to print the full probe
name.
Also moved it to the proper place (when a new probe is read rather
than for every tracepoint).
Signed-off-by: Kris Van Hees <kris.van.hees at oracle.com>
Reviewed-by: Nick Alcock <nick.alcock at oracle.com>
Reviewed-by: Eugene Loh <eugene.loh at oracle.com>
Commit: 3350ae4fc291cc2f8d021158805769e952ddebed
https://github.com/oracle/dtrace-utils/commit/3350ae4fc291cc2f8d021158805769e952ddebed
Author: Kris Van Hees <kris.van.hees at oracle.com>
Date: 2025-06-07 (Sat, 07 Jun 2025)
Changed paths:
M libcommon/Build
A libcommon/dt_htab.c
A libcommon/dt_htab.h
M libdtrace/Build
M libdtrace/dt_consume.c
R libdtrace/dt_htab.c
R libdtrace/dt_htab.h
M libdtrace/dt_kernel_module.c
M libdtrace/dt_module.c
M libdtrace/dt_open.c
M libdtrace/dt_probe.c
M libdtrace/dt_provider.c
M libdtrace/dt_symtab.c
Log Message:
-----------
htab: move htab handling to libcommon
Signed-off-by: Kris Van Hees <kris.van.hees at oracle.com>
Reviewed-by: Nick Alcock <nick.alcock at oracle.com>
Commit: 3530b90b3486e5de33773390f8cf1bf9546fe9c3
https://github.com/oracle/dtrace-utils/commit/3530b90b3486e5de33773390f8cf1bf9546fe9c3
Author: Kris Van Hees <kris.van.hees at oracle.com>
Date: 2025-06-07 (Sat, 07 Jun 2025)
Changed paths:
M libcommon/dt_htab.c
M libcommon/dt_htab.h
M libdtrace/dt_string.c
M libdtrace/dt_string.h
Log Message:
-----------
htab: move str2hval() to dt_htab
Signed-off-by: Kris Van Hees <kris.van.hees at oracle.com>
Reviewed-by: Nick Alcock <nick.alcock at oracle.com>
Commit: 2cbb15865c8f07dce97e3a673886c812cd62e6c4
https://github.com/oracle/dtrace-utils/commit/2cbb15865c8f07dce97e3a673886c812cd62e6c4
Author: Kris Van Hees <kris.van.hees at oracle.com>
Date: 2025-06-07 (Sat, 07 Jun 2025)
Changed paths:
M dtprobed/dtprobed.c
Log Message:
-----------
dtprobed: make sure that retry one time means exactly that
Signed-off-by: Kris Van Hees <kris.van.hees at oracle.com>
Reviewed-by: Nick Alcock <nick.alcock at oracle.com>
Commit: 22b24012109bf79522bc0f2e2d2a9c5b0136135f
https://github.com/oracle/dtrace-utils/commit/22b24012109bf79522bc0f2e2d2a9c5b0136135f
Author: Kris Van Hees <kris.van.hees at oracle.com>
Date: 2025-06-07 (Sat, 07 Jun 2025)
Changed paths:
M include/dtrace/ioctl.h
Log Message:
-----------
usdt: add HASUSDT to the helper ioctl interface
Signed-off-by: Kris Van Hees <kris.van.hees at oracle.com>
Reviewed-by: Eugene Loh <eugene.loh at oracle.com>
Commit: f8a064e7b532458b4154150e1537dc3de6673443
https://github.com/oracle/dtrace-utils/commit/f8a064e7b532458b4154150e1537dc3de6673443
Author: Kris Van Hees <kris.van.hees at oracle.com>
Date: 2025-06-07 (Sat, 07 Jun 2025)
Changed paths:
M dtprobed/dof_stash.c
M dtprobed/dof_stash.h
M dtprobed/dtprobed.c
M libcommon/Build
M libcommon/usdt_parser.c
M libcommon/usdt_parser.h
M libcommon/usdt_parser_dof.c
M libcommon/usdt_parser_host.c
A libcommon/usdt_parser_notes.c
A uts/common/sys/usdt_note_defs.h
Log Message:
-----------
dtprobed, usdt parser: add support for ELF notes-based USDT
Signed-off-by: Kris Van Hees <kris.van.hees at oracle.com>
Commit: a74ebed12cfaa652a83e2562861d31a526df1b37
https://github.com/oracle/dtrace-utils/commit/a74ebed12cfaa652a83e2562861d31a526df1b37
Author: Kris Van Hees <kris.van.hees at oracle.com>
Date: 2025-06-07 (Sat, 07 Jun 2025)
Changed paths:
M include/dtrace/pid.h
M libdtrace/dt_cg.c
M libdtrace/dt_cg.h
M libdtrace/dt_pid.c
M libdtrace/dt_prov_uprobe.c
Log Message:
-----------
usdt: implement tracing USDT probes specified in ELF notes
Commit: 90883ed9c9e31e80344474a51367a0f371540730
https://github.com/oracle/dtrace-utils/commit/90883ed9c9e31e80344474a51367a0f371540730
Author: Kris Van Hees <kris.van.hees at oracle.com>
Date: 2025-06-07 (Sat, 07 Jun 2025)
Changed paths:
M libdtrace/drti.c
M libdtrace/dt_dof.c
M libdtrace/dt_impl.h
M libdtrace/dt_link.c
M libdtrace/dt_program.c
M test/triggers/Build
A test/triggers/usdt-tst-arg-const-prov.d
A test/triggers/usdt-tst-arg-const.c
A test/triggers/usdt-tst-arg-reg-prov.d
A test/triggers/usdt-tst-arg-reg.c
A test/triggers/usdt-tst-deref-decode-prov.d
A test/triggers/usdt-tst-deref-decode.aarch64.c
A test/triggers/usdt-tst-deref-decode.x86_64.c
M test/unittest/options/tst.strip.sh
A test/unittest/usdt/err.wrong-probe-argc-cc.sh
A test/unittest/usdt/err.wrong-probe-argc-rt.sh
A test/unittest/usdt/err.wrong-probe.sh
A test/unittest/usdt/err.wrong-prov.sh
A test/unittest/usdt/tst.arg-reg.d
A test/unittest/usdt/tst.arg-reg.r
R test/unittest/usdt/tst.badguess.sh
R test/unittest/usdt/tst.badguess.x
A test/unittest/usdt/tst.const.d
A test/unittest/usdt/tst.const.r
A test/unittest/usdt/tst.deref-decode.d
R test/unittest/usdt/tst.guess32.sh
R test/unittest/usdt/tst.guess32.x
M test/unittest/usdt/tst.multiprov-dupprobe-shlibs.r.p
M test/utils/Build
M test/utils/showUSDT.c
M uts/common/sys/sdt.h
A uts/common/sys/usdt.h
A uts/common/sys/usdt_gennote.h
A uts/common/sys/usdt_internal.h
Log Message:
-----------
link: implement USDT probe definitions in ELF notes
Signed-off-by: Kris Van Hees <kris.van.hees at oracle.com>
Commit: 4a0f64f347db7c3a2992bef3c66cc785b6d9937d
https://github.com/oracle/dtrace-utils/commit/4a0f64f347db7c3a2992bef3c66cc785b6d9937d
Author: Kris Van Hees <kris.van.hees at oracle.com>
Date: 2025-06-07 (Sat, 07 Jun 2025)
Changed paths:
M test/unittest/dtrace-util/tst.ListProbesModuleUSDT.sh
Log Message:
-----------
test: fix test for non-installed testing
On a system without DTrace installed, <sys/usdt.h> cannot be found,
causing this test to fail. Use test_cppflags to ensure the correct
location is used in all cases.
Signed-off-by: Kris Van Hees <kris.van.hees at oracle.com>
Reviewed-by: Nick Alcock <nick.alcock at oracle.com>
Commit: d1df03dc53af46abf36b22385030b3c6b5c55547
https://github.com/oracle/dtrace-utils/commit/d1df03dc53af46abf36b22385030b3c6b5c55547
Author: Eugene Loh <eugene.loh at oracle.com>
Date: 2025-06-07 (Sat, 07 Jun 2025)
Changed paths:
M test/unittest/usdt/tst.pidprobes.sh
Log Message:
-----------
test: Adapt USDT PC search for USDT LTO changes
To check USDT PCs, we looked at disassembly for characteristics that
indicated USDT probes.
With LTO, however, USDT instrumentation has changed.
Therefore, use showUSDT in tst.pidprobes.sh to extract USDT PCs.
Note that tst.pidargs.sh and tst.pidargmap.sh depend on
tst.pidprobes.sh. Therefore, those tests also benefit from this change.
They do not yet pass, however, since index 0 for args[] is said to be
out of range.
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/b2ab2b76fe09...d1df03dc53af
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