Change in vdsm[master]: profiling: Add whole application profile
danken at redhat.com
danken at redhat.com
Wed Mar 26 14:37:04 UTC 2014
Dan Kenigsberg has posted comments on this change.
Change subject: profiling: Add whole application profile
......................................................................
Patch Set 1: Code-Review-1
(1 comment)
http://gerrit.ovirt.org/#/c/26113/1/vdsm/vdsm
File vdsm/vdsm:
Line 88: if config.getboolean('vars', 'profile_enable'):
Line 89: logging.debug("Stopping profiling")
Line 90: yappi.stop()
Line 91: stats = yappi.get_func_stats()
Line 92: stats.save('/tmp/vdsmd.prof', 'pstat')
this would open the door for a symlink attack. Please use /var/run/vdsm for writing vdsm-specific temporary data.
Line 93: finally:
Line 94: cif.prepareForShutdown()
Line 95:
Line 96:
--
To view, visit http://gerrit.ovirt.org/26113
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: I523f52c981f7bb34f3168d3117f00ed5eb6962f8
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Nir Soffer <nsoffer at redhat.com>
Gerrit-Reviewer: Allon Mureinik <amureini at redhat.com>
Gerrit-Reviewer: Dan Kenigsberg <danken at redhat.com>
Gerrit-Reviewer: Francesco Romani <fromani at redhat.com>
Gerrit-Reviewer: Nir Soffer <nsoffer at redhat.com>
Gerrit-Reviewer: Yaniv Bronhaim <ybronhei at redhat.com>
Gerrit-Reviewer: automation at ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server
Gerrit-HasComments: Yes
More information about the vdsm-patches
mailing list