Nir Soffer has posted comments on this change. Change subject: profiling: avoid to crash VDSM if yappi is missing ......................................................................
Patch Set 3: (1 comment) http://gerrit.ovirt.org/#/c/36012/3/lib/vdsm/profiling/cpu.py File lib/vdsm/profiling/cpu.py: Line 95: with _lock: Line 96: try: Line 97: import yappi Line 98: except ImportError as e: Line 99: logging.warning("Error starting cpu profiler: %s", e) > This is a lie - should be: On the other hand, this will log "No module named yappi", so it should be good enough. Line 100: else: Line 101: # yappi start semantics are a bit too liberal, returning success Line 102: # if yappi is already started, happily having too different code Line 103: # paths that thinks they own the single process profiler. -- To view, visit http://gerrit.ovirt.org/36012 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: comment Gerrit-Change-Id: I8272b25afe507038f930929f4b51d6d8f5b73495 Gerrit-PatchSet: 3 Gerrit-Project: vdsm Gerrit-Branch: master Gerrit-Owner: Francesco Romani <[email protected]> Gerrit-Reviewer: Federico Simoncelli <[email protected]> Gerrit-Reviewer: Francesco Romani <[email protected]> Gerrit-Reviewer: Nir Soffer <[email protected]> Gerrit-Reviewer: [email protected] Gerrit-Reviewer: oVirt Jenkins CI Server Gerrit-HasComments: Yes _______________________________________________ vdsm-patches mailing list [email protected] https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches
