[PATCH v2 0/2] udp: new provider

Alan Maguire <[email protected]>
Newsgroups dev.linux.lists.dtrace
Message-ID <[email protected]>
This series adds UDP provider support, where the probes are
implemented via underlying raw fbt probes.

Probes are

udp:::send
udp:::receive

Arguemnts args[0-4] are

pktinfo_t *, csinfo_t *, ipinfo_t *, udpsinfo_t *, udpinfo_t *

Patch 1 implements the provider.

Patch 2 fixes up the remote IPv4 UDP test.

To work on UEK6, the following not-yet-landed patches are required

cg: fix offset for > 8 bit bitfields in dt_cg_ctf_offsetof()
Convert ip6_finish_output to rawfbt

Changes since v1:

- squashed dlibs, test.x and provider test changes into patch 1
  (Eugene)
- switched to rawfbt due to issues seen on UEK6 and risks with static
  functions (Eugene)

Alan Maguire (2):
  udp: new provider
  test/unittest/udp: enable IPv4 remote udp test

 dlibs/aarch64/5.11/udp.d                    |  11 +-
 dlibs/aarch64/5.12/udp.d                    |  11 +-
 dlibs/aarch64/5.14/udp.d                    |  11 +-
 dlibs/aarch64/5.16/udp.d                    |  11 +-
 dlibs/aarch64/5.2/udp.d                     |  11 +-
 dlibs/aarch64/5.6/udp.d                     |  11 +-
 dlibs/aarch64/6.1/udp.d                     |  11 +-
 dlibs/aarch64/6.10/udp.d                    |  11 +-
 dlibs/x86_64/5.11/udp.d                     |  11 +-
 dlibs/x86_64/5.12/udp.d                     |  11 +-
 dlibs/x86_64/5.14/udp.d                     |  11 +-
 dlibs/x86_64/5.16/udp.d                     |  11 +-
 dlibs/x86_64/5.2/udp.d                      |  11 +-
 dlibs/x86_64/5.6/udp.d                      |  11 +-
 dlibs/x86_64/6.1/udp.d                      |  11 +-
 dlibs/x86_64/6.10/udp.d                     |  11 +-
 libdtrace/Build                             |   2 +
 libdtrace/dt_prov_udp.c                     | 170 ++++++++++++++++++++
 libdtrace/dt_provider.c                     |   1 +
 libdtrace/dt_provider.h                     |   1 +
 libdtrace/udp.d                             |  11 +-
 test/unittest/dtrace-util/tst.ListProbes.r  |   1 +
 test/unittest/dtrace-util/tst.ListProbes.sh |   1 +
 test/unittest/udp/test.x                    |   6 +-
 test/unittest/udp/tst.ipv4remoteudp.sh      |  11 +-
 25 files changed, 284 insertions(+), 96 deletions(-)
 create mode 100644 libdtrace/dt_prov_udp.c

-- 
2.43.5
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.