Skip to content

Commit

Permalink
utilities: Add kernel_delay.py script to debug a busy Linux kernel.
Browse files Browse the repository at this point in the history
This patch adds an utility that can be used to determine if
an issue is related to a lack of Linux kernel resources.

This tool is also featured in a Red Hat developers blog article:

  https://developers.redhat.com/articles/2023/07/24/troubleshooting-open-vswitch-kernel-blame

Reviewed-by: Adrian Moreno <[email protected]>
Acked-by: Aaron Conole <[email protected]>
Signed-off-by: Eelco Chaudron <[email protected]>
  • Loading branch information
chaudron committed Sep 27, 2023
1 parent 4fc0265 commit 13dde11
Show file tree
Hide file tree
Showing 3 changed files with 2,020 additions and 0 deletions.
4 changes: 4 additions & 0 deletions utilities/automake.mk
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ scripts_DATA += utilities/ovs-lib
usdt_SCRIPTS += \
utilities/usdt-scripts/bridge_loop.bt \
utilities/usdt-scripts/dpif_nl_exec_monitor.py \
utilities/usdt-scripts/kernel_delay.py \
utilities/usdt-scripts/kernel_delay.rst \
utilities/usdt-scripts/reval_monitor.py \
utilities/usdt-scripts/upcall_cost.py \
utilities/usdt-scripts/upcall_monitor.py
Expand Down Expand Up @@ -70,6 +72,8 @@ EXTRA_DIST += \
utilities/docker/debian/build-kernel-modules.sh \
utilities/usdt-scripts/bridge_loop.bt \
utilities/usdt-scripts/dpif_nl_exec_monitor.py \
utilities/usdt-scripts/kernel_delay.py \
utilities/usdt-scripts/kernel_delay.rst \
utilities/usdt-scripts/reval_monitor.py \
utilities/usdt-scripts/upcall_cost.py \
utilities/usdt-scripts/upcall_monitor.py
Expand Down
Loading

0 comments on commit 13dde11

Please sign in to comment.