[DTrace-devel] [oracle/dtrace-utils] f6aa2c: dlib: remove obsolete dt_dlib_add_probe_var()

Kris Van Hees noreply at github.com
Fri Mar 21 15:21:04 UTC 2025


  Branch: refs/heads/devel
  Home:   https://github.com/oracle/dtrace-utils
  Commit: f6aa2c36ea55b8b84cbbf5b195d07597c8ec89b5
      https://github.com/oracle/dtrace-utils/commit/f6aa2c36ea55b8b84cbbf5b195d07597c8ec89b5
  Author: Kris Van Hees <kris.van.hees at oracle.com>
  Date:   2025-03-21 (Fri, 21 Mar 2025)

  Changed paths:
    M libdtrace/dt_cg.c
    M libdtrace/dt_dlibs.c
    M libdtrace/dt_prov_uprobe.c

  Log Message:
  -----------
  dlib: remove obsolete dt_dlib_add_probe_var()

The dt_dlib_add_probe_var() function was added to allow for relcoation
processing filling in probe ids for dependent probes, but since the
probe ids are known at code generation time, there is no need for this.

Signed-off-by: Kris Van Hees <kris.van.hees at oracle.com>
Reviewed-by: Nick Alcock <nick.alcock at oracle.com>


  Commit: 2335340016e46d5c8c9ca0b60c3da6ce869215a5
      https://github.com/oracle/dtrace-utils/commit/2335340016e46d5c8c9ca0b60c3da6ce869215a5
  Author: Kris Van Hees <kris.van.hees at oracle.com>
  Date:   2025-03-21 (Fri, 21 Mar 2025)

  Changed paths:
    M libdtrace/dt_consume.c

  Log Message:
  -----------
  consume: avoid a bad prid causing a core dump

We were not guarding against prid being DTACE_IDNONE (0), which would
cause a core dump if it was encountered in a trace record.

Signed-off-by: Kris Van Hees <kris.van.hees at oracle.com>
Reviewed-by: Nick Alcock <nick.alcock at oracle.com>


Compare: https://github.com/oracle/dtrace-utils/compare/b12520b7da20...2335340016e4

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