[PATCH 0/5] udp 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 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 syncs the new udp.d with dlibs. Patches 3/4/5 update tests. Alan Maguire (5): udp: new provider dlibs: sync dlibs with libdtrace/udp.d unittest/udp: update test.x now that udp provider is present test/unittest/udp: enable IPv4 remote udp test test: Add udp to expecetd providers 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