From: yangyang92 <yangyan...@baidu.com>

Ovsdb-server should not care about guest events, so set it to true by
default.

Signed-off-by: lirongqing <lirongq...@baidu.com>
Signed-off-by: yangyang92 <yangyan...@baidu.com>
---
 lib/perf-counter.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/perf-counter.c b/lib/perf-counter.c
index 022e0d2cd..1622ba851 100644
--- a/lib/perf-counter.c
+++ b/lib/perf-counter.c
@@ -71,6 +71,7 @@ perf_event_setup(void)
     pe.disabled = 1;
     pe.exclude_kernel = 1;
     pe.exclude_hv = 1;
+    pe.exclude_guest = 1;
 
     fd__ = perf_event_open(&pe, 0, -1, -1, 0);
     if (fd__ > 0) {
-- 
2.49.0

_______________________________________________
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to