Change in vdsm[master]: sampling: add traceback for sampling threads
fromani at redhat.com
fromani at redhat.com
Mon Dec 15 14:28:12 UTC 2014
Francesco Romani has uploaded a new change for review.
Change subject: sampling: add traceback for sampling threads
......................................................................
sampling: add traceback for sampling threads
add traceback decorator to stat thread bodies,
for better debuggability.
Change-Id: I9876f8bbfbe94e3b9e4f78d2172a1a75de4f0729
Related-To: https://bugzilla.redhat.com/1142776
Signed-off-by: Francesco Romani <fromani at redhat.com>
---
M vdsm/virt/sampling.py
1 file changed, 1 insertion(+), 0 deletions(-)
git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/81/36181/1
diff --git a/vdsm/virt/sampling.py b/vdsm/virt/sampling.py
index 146691d..81d0731 100644
--- a/vdsm/virt/sampling.py
+++ b/vdsm/virt/sampling.py
@@ -450,6 +450,7 @@
def getLastSampleTime(self):
return self._statsTime
+ @utils.traceback(on="AdvancedStatsThread")
def run(self):
self._log.debug("Stats thread started")
self._contEvent.set()
--
To view, visit http://gerrit.ovirt.org/36181
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I9876f8bbfbe94e3b9e4f78d2172a1a75de4f0729
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Francesco Romani <fromani at redhat.com>
More information about the vdsm-patches
mailing list