OVS commit 066741d9c5ca ("ovsdb-idl: Add memory report function.")
enhanced the IDL to track memory usage. Use it in ovn-controller for
the Southbound DB and local OVS DB IDLs.
Signed-off-by: Dumitru Ceara <[email protected]>
---
controller/ovn-controller.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/controller/ovn-controller.c b/controller/ovn-controller.c
index 29c1a05b2..fa1ff13bd 100644
--- a/controller/ovn-controller.c
+++ b/controller/ovn-controller.c
@@ -3444,6 +3444,8 @@ main(int argc, char *argv[])
ofctrl_get_memory_usage(&usage);
if_status_mgr_get_memory_usage(if_mgr, &usage);
local_datapath_memory_usage(&usage);
+ ovsdb_idl_get_memory_usage(ovnsb_idl_loop.idl, &usage);
+ ovsdb_idl_get_memory_usage(ovs_idl_loop.idl, &usage);
memory_report(&usage);
simap_destroy(&usage);
}
--
2.27.0
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev