Skip to content

Commit

Permalink
utilities: upcall_monitor: Remove sleep in loop.
Browse files Browse the repository at this point in the history
It increases the chances of events being lost on highly loaded systems.

Signed-off-by: Adrian Moreno <[email protected]>
Signed-off-by: 0-day Robot <[email protected]>
  • Loading branch information
amorenoz authored and ovsrobot committed Jan 17, 2025
1 parent caed64d commit 1608c4b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions utilities/usdt-scripts/upcall_monitor.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,6 @@
import re
import struct
import sys
import time

#
# Actual eBPF source code
Expand Down Expand Up @@ -513,7 +512,6 @@ def main():
while 1:
try:
b.ring_buffer_poll()
time.sleep(0.5)
except KeyboardInterrupt:
break

Expand Down

0 comments on commit 1608c4b

Please sign in to comment.