mbox series

[ovs-dev,v2,0/5] adding USDT points to OVS

Message ID 164016453900.146460.16964767898519268258.stgit@ebuild
Headers show
Series adding USDT points to OVS | expand

Message

Eelco Chaudron Dec. 22, 2021, 9:15 a.m. UTC
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

Comments

Ilya Maximets Jan. 17, 2022, 11:52 p.m. UTC | #1
On 12/22/21 10:15, Eelco Chaudron wrote:
> 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

Thanks, Eelco!  Very cool traces and scripts!

And thanks, Paolo, for review!
Applied.

Best regards, Ilya Maximets.