[DTrace-devel] [oracle/dtrace-utils] 2dbaeb: provider: fix registering fbt and rawfbt twice

Kris Van Hees noreply at github.com
Thu May 29 17:45:25 UTC 2025


  Branch: refs/heads/kvh/usdt-dev
  Home:   https://github.com/oracle/dtrace-utils
  Commit: 2dbaebf8d4bbbc289cd0ddb3cfc930f5d3bfc1ed
      https://github.com/oracle/dtrace-utils/commit/2dbaebf8d4bbbc289cd0ddb3cfc930f5d3bfc1ed
  Author: Kris Van Hees <kris.van.hees at oracle.com>
  Date:   2025-05-01 (Thu, 01 May 2025)

  Changed paths:
    M libdtrace/dt_provider.c

  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>


  Commit: 581f34ac3857359cd844b042458b99754b4e1735
      https://github.com/oracle/dtrace-utils/commit/581f34ac3857359cd844b042458b99754b4e1735
  Author: Kris Van Hees <kris.van.hees at oracle.com>
  Date:   2025-05-01 (Thu, 01 May 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>


  Commit: da6659d1e2216817b11d00aad656011ccea73df5
      https://github.com/oracle/dtrace-utils/commit/da6659d1e2216817b11d00aad656011ccea73df5
  Author: Kris Van Hees <kris.van.hees at oracle.com>
  Date:   2025-05-01 (Thu, 01 May 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>


  Commit: 8be4e80c9176dd3a123bf95ca53686fda35b39a0
      https://github.com/oracle/dtrace-utils/commit/8be4e80c9176dd3a123bf95ca53686fda35b39a0
  Author: Kris Van Hees <kris.van.hees at oracle.com>
  Date:   2025-05-01 (Thu, 01 May 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>


  Commit: 236bc87d5e6b22b9b8bfc8474336b5e0d7779a6f
      https://github.com/oracle/dtrace-utils/commit/236bc87d5e6b22b9b8bfc8474336b5e0d7779a6f
  Author: Kris Van Hees <kris.van.hees at oracle.com>
  Date:   2025-05-01 (Thu, 01 May 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>


  Commit: 0e172aeac1034bd233aafc46bf38fe01f3dfe43e
      https://github.com/oracle/dtrace-utils/commit/0e172aeac1034bd233aafc46bf38fe01f3dfe43e
  Author: Kris Van Hees <kris.van.hees at oracle.com>
  Date:   2025-05-27 (Tue, 27 May 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>


  Commit: 30fb76b604985f7d70db609dbef4bcff6e53aacf
      https://github.com/oracle/dtrace-utils/commit/30fb76b604985f7d70db609dbef4bcff6e53aacf
  Author: Kris Van Hees <kris.van.hees at oracle.com>
  Date:   2025-05-27 (Tue, 27 May 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->provoder.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>


  Commit: f57092dea8202cb3581f4f8e913c29c0043e51db
      https://github.com/oracle/dtrace-utils/commit/f57092dea8202cb3581f4f8e913c29c0043e51db
  Author: Kris Van Hees <kris.van.hees at oracle.com>
  Date:   2025-05-27 (Tue, 27 May 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>


  Commit: aed7ac155c6ab67445813308b82b955da27d65ab
      https://github.com/oracle/dtrace-utils/commit/aed7ac155c6ab67445813308b82b955da27d65ab
  Author: Kris Van Hees <kris.van.hees at oracle.com>
  Date:   2025-05-27 (Tue, 27 May 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>


  Commit: f47ac124d9984b98da1b0dc9e16056bbcd2f3727
      https://github.com/oracle/dtrace-utils/commit/f47ac124d9984b98da1b0dc9e16056bbcd2f3727
  Author: Kris Van Hees <kris.van.hees at oracle.com>
  Date:   2025-05-27 (Tue, 27 May 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>


  Commit: d48b4e2d6cacefe9cf7f280c8981cab4c042c5f4
      https://github.com/oracle/dtrace-utils/commit/d48b4e2d6cacefe9cf7f280c8981cab4c042c5f4
  Author: Kris Van Hees <kris.van.hees at oracle.com>
  Date:   2025-05-27 (Tue, 27 May 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>


  Commit: 57f6934ba014bfcc8771f28d465ee79d5cced9c0
      https://github.com/oracle/dtrace-utils/commit/57f6934ba014bfcc8771f28d465ee79d5cced9c0
  Author: Kris Van Hees <kris.van.hees at oracle.com>
  Date:   2025-05-29 (Thu, 29 May 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

  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: 78e8ac4461d458fe4b35c642c3004e050923ae3b
      https://github.com/oracle/dtrace-utils/commit/78e8ac4461d458fe4b35c642c3004e050923ae3b
  Author: Kris Van Hees <kris.van.hees at oracle.com>
  Date:   2025-05-29 (Thu, 29 May 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: 50aa1a271aa57ab0c022c80bf39cceced3758c6c
      https://github.com/oracle/dtrace-utils/commit/50aa1a271aa57ab0c022c80bf39cceced3758c6c
  Author: Kris Van Hees <kris.van.hees at oracle.com>
  Date:   2025-05-29 (Thu, 29 May 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 libdtrace/dt_prov_uprobe.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.c
    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
    A test/unittest/usdt/tst.const.d
    A test/unittest/usdt/tst.const.r
    A test/unittest/usdt/tst.deref-decode.d
    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>


Compare: https://github.com/oracle/dtrace-utils/compare/2dbaebf8d4bb%5E...50aa1a271aa5

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