[DTrace-devel] [oracle/dtrace-utils] 77be09: syscall: fix syscall probe argument handling

Kris Van Hees noreply at github.com
Mon Feb 9 20:59:36 UTC 2026


  Branch: refs/heads/devel
  Home:   https://github.com/oracle/dtrace-utils
  Commit: 77be096c76353db2132c38266b38cd996e6f972b
      https://github.com/oracle/dtrace-utils/commit/77be096c76353db2132c38266b38cd996e6f972b
  Author: Kris Van Hees <kris.van.hees at oracle.com>
  Date:   2026-02-09 (Mon, 09 Feb 2026)

  Changed paths:
    M libdtrace/dt_prov_dtrace.c
    M libdtrace/dt_prov_fbt.c
    M libdtrace/dt_prov_sdt.c
    M libdtrace/dt_prov_syscall.c
    M libdtrace/dt_provider_tp.c
    M libdtrace/dt_provider_tp.h

  Log Message:
  -----------
  syscall: fix syscall probe argument handling

Kernel commit a544d9a66bdf
("tracing: Have syscall trace events read user space string") (added in
6.19-rc1) causes special fields to be added to the tracepoint format
file for data strings that are faulted in.  We need to account for this
when determining the number of arguments for syscall tracepoints.

We introduce support for a valid_arg() callback function that providers
can implement to support skipping initial non-common fields and also to
stop processing fields as arguments.  The syscall provider uses this to
skip the __syscall_nr field, and to stop argument processing when the
first dynamic string field is found.

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


  Commit: b31fe4e40af5e4d928a4d3062890e37a5f626a9a
      https://github.com/oracle/dtrace-utils/commit/b31fe4e40af5e4d928a4d3062890e37a5f626a9a
  Author: Kris Van Hees <kris.van.hees at oracle.com>
  Date:   2026-02-09 (Mon, 09 Feb 2026)

  Changed paths:
    M libdtrace/dt_pid.c

  Log Message:
  -----------
  pid: USDT probes cannot have "-" as function name

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


  Commit: d7dd136fe7a00a337290beb30a1fc50286a3df7b
      https://github.com/oracle/dtrace-utils/commit/d7dd136fe7a00a337290beb30a1fc50286a3df7b
  Author: Kris Van Hees <kris.van.hees at oracle.com>
  Date:   2026-02-09 (Mon, 09 Feb 2026)

  Changed paths:
    M test/unittest/consumer/tst.merge_ranges_bug25767469.x

  Log Message:
  -----------
  test: skip when /proc/kallmodsyms is not present

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/338095278232...d7dd136fe7a0

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