It increases the chances of events being lost on highly loaded systems.

Signed-off-by: Adrian Moreno <[email protected]>
---
 utilities/usdt-scripts/upcall_monitor.py | 2 --
 1 file changed, 2 deletions(-)

diff --git a/utilities/usdt-scripts/upcall_monitor.py 
b/utilities/usdt-scripts/upcall_monitor.py
index d856547f0..3a758b2d2 100755
--- a/utilities/usdt-scripts/upcall_monitor.py
+++ b/utilities/usdt-scripts/upcall_monitor.py
@@ -120,7 +120,6 @@ import psutil
 import re
 import struct
 import sys
-import time
 
 #
 # Actual eBPF source code
@@ -513,7 +512,6 @@ def main():
     while 1:
         try:
             b.ring_buffer_poll()
-            time.sleep(0.5)
         except KeyboardInterrupt:
             break
 
-- 
2.48.1

_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to