This patchset introduces User Statically Defined Trace (USDT) points to OVS. It included the general infrastructure, documentation, and some example scripts.
This idea was introduced during the OVS conference 2021, more information about the presentation can be found here: http://www.openvswitch.org/support/ovscon2021/#T1 While waiting for the official conference video post, the pre-recorded video can be found here: https://youtu.be/NrO0YbdTvbg Eelco Chaudron (5): configure: add --enable-usdt option to enable USDT probes openvswitch: define the OVS_STATIC_TRACE() macro Documentation: add USDT documentation and bpftrace example utilities: add upcall USDT probe and associated script utilities: add netlink flow operation USDT probes and upcall_cost script Documentation/automake.mk | 1 + Documentation/topics/index.rst | 1 + Documentation/topics/usdt-probes.rst | 379 +++++ NEWS | 1 + configure.ac | 1 + include/openvswitch/automake.mk | 1 + include/openvswitch/usdt_probes.h | 50 + lib/dpif-netlink.c | 16 + lib/dpif.c | 23 +- m4/openvswitch.m4 | 28 + utilities/automake.mk | 19 +- utilities/usdt_scripts/bridge_loop.bt | 120 ++ utilities/usdt_scripts/upcall_cost.py | 1787 ++++++++++++++++++++++ utilities/usdt_scripts/upcall_monitor.py | 533 +++++++ vswitchd/ovs-vswitchd.c | 3 + 15 files changed, 2948 insertions(+), 15 deletions(-) create mode 100644 Documentation/topics/usdt-probes.rst create mode 100644 include/openvswitch/usdt_probes.h create mode 100755 utilities/usdt_scripts/bridge_loop.bt create mode 100755 utilities/usdt_scripts/upcall_cost.py create mode 100755 utilities/usdt_scripts/upcall_monitor.py _______________________________________________ dev mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-dev
