[DTrace-devel] [oracle/dtrace-utils] 95b904: doc: Add include path for sys/usdt.h

Kris Van Hees noreply at github.com
Fri Jan 16 22:29:19 UTC 2026


  Branch: refs/heads/devel
  Home:   https://github.com/oracle/dtrace-utils
  Commit: 95b90491c08b0b0403d371e1b0c0224355739608
      https://github.com/oracle/dtrace-utils/commit/95b90491c08b0b0403d371e1b0c0224355739608
  Author: Eugene Loh <eugene.loh at oracle.com>
  Date:   2026-01-16 (Fri, 16 Jan 2026)

  Changed paths:
    M doc/userguide/reference/dtrace-ref-StaticallyDefinedTracingofUserApplications.md

  Log Message:
  -----------
  doc: Add include path for sys/usdt.h

When dtrace constructs a USDT header, it includes the header sys/usdt.h.

Add a note to our documentation that /usr/lib64/dtrace/include needs to
be on the include path for this header to be found.

While we are at it, break long lines of text up for better readability
of the Markdown file and simpler diffs in the future.

Signed-off-by: Eugene Loh <eugene.loh at oracle.com>
Reviewed-by: Kris Van Hees <kris.van.hees at oracle.com>


  Commit: 55fe36635d0db87fc41ca3f5e7a86c83bc958734
      https://github.com/oracle/dtrace-utils/commit/55fe36635d0db87fc41ca3f5e7a86c83bc958734
  Author: Eugene Loh <eugene.loh at oracle.com>
  Date:   2026-01-16 (Fri, 16 Jan 2026)

  Changed paths:
    M Build
    A doc/tutorial/1.IntroducingDTrace.md
    A doc/tutorial/2.TracingOperatingSystemBehavior.md
    A doc/tutorial/3.TracingUserSpaceApplications.md
    A doc/tutorial/4.GoingFurtherWithDTrace.md
    A doc/tutorial/index.md

  Log Message:
  -----------
  doc: Add the DTrace Tutorial to the git repo and install package

Signed-off-by: Eugene Loh <eugene.loh at oracle.com>
Reviewed-by: Kris Van Hees <kris.van.hees at oracle.com>


  Commit: 4346c99a5d256cae7e1dcf7a99b40391052aecce
      https://github.com/oracle/dtrace-utils/commit/4346c99a5d256cae7e1dcf7a99b40391052aecce
  Author: Eugene Loh <eugene.loh at oracle.com>
  Date:   2026-01-16 (Fri, 16 Jan 2026)

  Changed paths:
    M cmd/dtrace.c
    A test/unittest/printf/tst.grouping-LC_ALL.r
    A test/unittest/printf/tst.grouping-LC_ALL.sh
    A test/unittest/printf/tst.grouping-LC_ALL.x
    A test/unittest/printf/tst.grouping-LC_NUMERIC.r
    A test/unittest/printf/tst.grouping-LC_NUMERIC.sh
    A test/unittest/printf/tst.grouping-LC_NUMERIC.x

  Log Message:
  -----------
  Fix printf formatting with non-monetary grouping chars

Non-monetary grouping characters are used to separate groups of digits
in numbers that are not monetary values.  DTrace used to document
support for printf formatting, using a single quote, for such grouping.
Currently, support is largely implemented, but simply not working.

Add a setlocale() call to pick LC_NUMERIC up from environment variables.

Orabug: 30430270
Signed-off-by: Eugene Loh <eugene.loh at oracle.com>
Reviewed-by: Kris Van Hees <kris.van.hees at oracle.com>


  Commit: d3d3f2cde74aec5c25436f6627a3fd5f96c80b79
      https://github.com/oracle/dtrace-utils/commit/d3d3f2cde74aec5c25436f6627a3fd5f96c80b79
  Author: Eugene Loh <eugene.loh at oracle.com>
  Date:   2026-01-16 (Fri, 16 Jan 2026)

  Changed paths:
    M libdtrace/dt_provider.c

  Log Message:
  -----------
  Guard against inserting the same provider twice

Add a safety net to dt_provider_create(), to check if a specified
provider has already been inserted.

This also requires a corresponding change in dt_provider_lookup(), so
that it will work even if no providers have yet been inserted.

Signed-off-by: Eugene Loh <eugene.loh at oracle.com>
Reviewed-by: Kris Van Hees <kris.van.hees at oracle.com>


  Commit: ed7c9187db8bf2909685b0b08a2cb563b12e03aa
      https://github.com/oracle/dtrace-utils/commit/ed7c9187db8bf2909685b0b08a2cb563b12e03aa
  Author: Eugene Loh <eugene.loh at oracle.com>
  Date:   2026-01-16 (Fri, 16 Jan 2026)

  Changed paths:
    M libdtrace/Build

  Log Message:
  -----------
  Remove obsolete reference to dt_prov_rawfbt.c

In commit 0b7c5a6327 ("fbt, rawfbt: consolidate code to avoid duplication"),
the file dt_prov_rawfbt.c was removed.  Remove the remaining reference
to this file.

Signed-off-by: Eugene Loh <eugene.loh at oracle.com>
Reviewed-by: Kris Van Hees <kris.van.hees at oracle.com>


  Commit: f82b6f28edc8eb5848deb3609588d50ae2d044cb
      https://github.com/oracle/dtrace-utils/commit/f82b6f28edc8eb5848deb3609588d50ae2d044cb
  Author: Kris Van Hees <kris.van.hees at oracle.com>
  Date:   2026-01-16 (Fri, 16 Jan 2026)

  Changed paths:
    M libdtrace/dt_bpf.c

  Log Message:
  -----------
  bpf: use initializer for dtrace_difo_t *dp

Signed-off-by: Kris Van Hees <kris.van.hees at oracle.com>
Reviewed-by: Eugene Loh <eugene.loh at oracle.com>


  Commit: 91cdf5eb8a1e4c665b3ae7a781f46204bb08d70d
      https://github.com/oracle/dtrace-utils/commit/91cdf5eb8a1e4c665b3ae7a781f46204bb08d70d
  Author: Kris Van Hees <kris.van.hees at oracle.com>
  Date:   2026-01-16 (Fri, 16 Jan 2026)

  Changed paths:
    M test/demo/script/interp.d
    M test/demo/script/tracewrite.d
    M test/demo/spec/specopen.d
    M test/stress/fbtsafety/tst.vahole.d
    M test/unittest/lockstat/tst.lockstat-summary.d
    M test/unittest/scripting/err.D_MACRO_UNDEF.invalidargs.d
    M test/unittest/scripting/err.D_OP_LVAL.rdonly.d
    M test/unittest/scripting/err.D_OP_WRITE.usepidmacro.d
    M test/unittest/scripting/err.D_SYNTAX.concat.d
    M test/unittest/scripting/err.D_SYNTAX.desc.d
    M test/unittest/scripting/err.D_SYNTAX.inval.d
    M test/unittest/scripting/err.D_SYNTAX.pid.d
    M test/unittest/scripting/tst.arg0.d
    M test/unittest/scripting/tst.assign.d
    M test/unittest/scripting/tst.assign.r
    M test/unittest/scripting/tst.basic.d
    M test/unittest/scripting/tst.pgid.d
    M test/unittest/scripting/tst.pgid.r
    M test/unittest/scripting/tst.pid.d
    M test/unittest/scripting/tst.pid.r
    M test/unittest/scripting/tst.quiet.d
    M test/unittest/scripting/tst.sid.d
    M test/unittest/scripting/tst.trace.d
    M test/unittest/speculation/err.D_ACT_SPEC.SpeculateWithBreakPoint.d
    M test/unittest/speculation/err.D_ACT_SPEC.SpeculateWithBreakPoint.r
    M test/unittest/speculation/err.D_ACT_SPEC.SpeculateWithChill.d
    M test/unittest/speculation/err.D_ACT_SPEC.SpeculateWithChill.r
    M test/unittest/speculation/err.D_ACT_SPEC.SpeculateWithCopyOut.d
    M test/unittest/speculation/err.D_ACT_SPEC.SpeculateWithCopyOut.r
    M test/unittest/speculation/err.D_ACT_SPEC.SpeculateWithCopyOutStr.d
    M test/unittest/speculation/err.D_ACT_SPEC.SpeculateWithCopyOutStr.r
    M test/unittest/speculation/err.D_ACT_SPEC.SpeculateWithPanic.d
    M test/unittest/speculation/err.D_ACT_SPEC.SpeculateWithPanic.r
    M test/unittest/speculation/err.D_ACT_SPEC.SpeculateWithRaise.d
    M test/unittest/speculation/err.D_ACT_SPEC.SpeculateWithRaise.r
    M test/unittest/speculation/err.D_ACT_SPEC.SpeculateWithStop.d
    M test/unittest/speculation/err.D_ACT_SPEC.SpeculateWithStop.r

  Log Message:
  -----------
  test: correct file permissions

Various tests had a #!-invocation while still being expected to be used
as scripts fed to dtrace.  Removed the #!-lines and marked the files
non-executable.

Various tests that were meant to be invoked as standaline scripts had an
absoolute path to dtrace in the #!-invocation which was not recognized.
runtest.sh expects standalone D scripts to use '#!dtrace' so that the
correct path to the dtrace executable being tested can be inserted.
Corrected the tests, and ensured they are executable.

Signed-off-by: Kris Van Hees <kris.van.hees at oracle.com>
Reviewed-by: Eugene Loh <eugene.loh at oracle.com>


Compare: https://github.com/oracle/dtrace-utils/compare/3e08c520976e...91cdf5eb8a1e

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