mirror of
https://github.com/ARM-software/devlib.git
synced 2025-01-31 02:00:45 +00:00
utils/rendering: Fix incorrect debug message
This debug message is used for all derived FrameCollectors so do not specify a particular method.
This commit is contained in:
parent
3da7fbc9dd
commit
a4c22cef71
@ -54,7 +54,7 @@ class FrameCollector(threading.Thread):
|
|||||||
self.header = None
|
self.header = None
|
||||||
|
|
||||||
def run(self):
|
def run(self):
|
||||||
logger.debug('Surface flinger frame data collection started.')
|
logger.debug('Frame data collection started.')
|
||||||
try:
|
try:
|
||||||
self.stop_signal.clear()
|
self.stop_signal.clear()
|
||||||
fd, self.temp_file = tempfile.mkstemp()
|
fd, self.temp_file = tempfile.mkstemp()
|
||||||
@ -71,7 +71,7 @@ class FrameCollector(threading.Thread):
|
|||||||
except Exception as e: # pylint: disable=W0703
|
except Exception as e: # pylint: disable=W0703
|
||||||
logger.warning('Exception on collector thread: {}({})'.format(e.__class__.__name__, e))
|
logger.warning('Exception on collector thread: {}({})'.format(e.__class__.__name__, e))
|
||||||
self.exc = WorkerThreadError(self.name, sys.exc_info())
|
self.exc = WorkerThreadError(self.name, sys.exc_info())
|
||||||
logger.debug('Surface flinger frame data collection stopped.')
|
logger.debug('Frame data collection stopped.')
|
||||||
|
|
||||||
def stop(self):
|
def stop(self):
|
||||||
self.stop_signal.set()
|
self.stop_signal.set()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user