[DTrace-devel] [oracle/dtrace-utils] 15fd41: cc: remove dead code

Kris Van Hees noreply at github.com
Sat Aug 26 00:56:06 UTC 2023


  Branch: refs/heads/kvh/2.0-branch-dev-ip
  Home:   https://github.com/oracle/dtrace-utils
  Commit: 15fd412cdd520313b510cafaf2fe551b4b533d06
      https://github.com/oracle/dtrace-utils/commit/15fd412cdd520313b510cafaf2fe551b4b533d06
  Author: Kris Van Hees <kris.van.hees at oracle.com>
  Date:   2023-08-25 (Fri, 25 Aug 2023)

  Changed paths:
    M libdtrace/dt_cc.c

  Log Message:
  -----------
  cc: remove dead code

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


  Commit: 4e5b7914df15d1fb77db10363f536a174af6ec4f
      https://github.com/oracle/dtrace-utils/commit/4e5b7914df15d1fb77db10363f536a174af6ec4f
  Author: Kris Van Hees <kris.van.hees at oracle.com>
  Date:   2023-08-25 (Fri, 25 Aug 2023)

  Changed paths:
    M libdtrace/dt_bpf.c
    M libdtrace/dt_bpf.h
    M libdtrace/dt_cc.c
    M libdtrace/dt_impl.h
    M libdtrace/dt_probe.c
    M libdtrace/dt_probe.h
    M libdtrace/dt_work.c

  Log Message:
  -----------
  cc, bpf: separate final BPF program creation from linking and loading

Some providers may need to do more complex code generaetion for the
probe BPF program trampoline.  The generation of trampoline code was
being done after BPF map creation, making it impossible for trampoline
code to use constructs that require data to be added to BPF maps.

The final BPF program handling has been changed to first create the
final programs, then create the BPF maps, and finally link and load the
BPF programs (performing the final relocations) and attaching them to
their probes.

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


  Commit: ddf17cd1164252cffdfd71eeb20e325d3de3478b
      https://github.com/oracle/dtrace-utils/commit/ddf17cd1164252cffdfd71eeb20e325d3de3478b
  Author: Kris Van Hees <kris.van.hees at oracle.com>
  Date:   2023-08-25 (Fri, 25 Aug 2023)

  Changed paths:
    M libdtrace/Build
    M libdtrace/dt_open.c
    A libdtrace/dt_prov_ip.c
    M libdtrace/dt_provider.h
    M libdtrace/ip.d
    M test/demo/ip/ipproto.d
    M test/unittest/funcs/tst.inet_ntoa.d

  Log Message:
  -----------
  Implement the ip provider

Signed-off-by: Kris Van Hees <kris.van.hees at oracle.com>


Compare: https://github.com/oracle/dtrace-utils/compare/7fb303eff941...ddf17cd11642



More information about the DTrace-devel mailing list