diff --git a/libs/utils/analysis_register.py b/libs/utils/analysis_register.py index fb348245f3db91a6bb876e843e3057dbb058abb1..ba5be1e3406bbc1f94d0738a7e090afc88b5cd25 100644 --- a/libs/utils/analysis_register.py +++ b/libs/utils/analysis_register.py @@ -50,7 +50,7 @@ class AnalysisRegister(object): sys.path.insert(0, analysis_dir) self._log.debug('Syspath: %s', sys.path) - self._log.info('Registering trace analysis modules:') + self._log.debug('Registering trace analysis modules:') for filepath in glob(os.path.join(analysis_dir, '*.py')): filename = os.path.splitext(os.path.basename(filepath))[0] @@ -71,6 +71,6 @@ class AnalysisRegister(object): issubclass(handler, AnalysisModule): module_name = module.__name__.replace('_analysis', '') setattr(self, module_name, handler(trace)) - self._log.info(' %s', module_name) + self._log.debug(' %s', module_name) # vim :set tabstop=4 shiftwidth=4 expandtab diff --git a/libs/utils/trace.py b/libs/utils/trace.py index e8efebaa0e3443b1ef8ac554363df230235392e3..3c4faae0438cca3bfd9a76d6dbb5a689c568f6f7 100644 --- a/libs/utils/trace.py +++ b/libs/utils/trace.py @@ -186,7 +186,7 @@ class Trace(object): self.x_max = self.time_range else: self.x_max = t_max - self._log.info('Set plots time range to (%.6f, %.6f)[s]', + self._log.debug('Set plots time range to (%.6f, %.6f)[s]', self.x_min, self.x_max) def __registerTraceEvents(self, events): @@ -228,11 +228,11 @@ class Trace(object): self._log.debug('Loading [sched] events from trace in [%s]...', path) self._log.debug('Parsing events: %s', self.events) if trace_format.upper() == 'SYSTRACE' or path.endswith('html'): - self._log.info('Parsing SysTrace format...') + self._log.debug('Parsing SysTrace format...') trace_class = trappy.SysTrace self.trace_format = 'SysTrace' elif trace_format.upper() == 'FTRACE': - self._log.info('Parsing FTrace format...') + self._log.debug('Parsing FTrace format...') trace_class = trappy.FTrace self.trace_format = 'FTrace' else: @@ -341,7 +341,7 @@ class Trace(object): te = df.index[-1] self.time_range = te - ts - self._log.info('Collected events spans a %.3f [s] time interval', + self._log.debug('Collected events spans a %.3f [s] time interval', self.time_range) # Build a stat on trace overutilization @@ -350,7 +350,7 @@ class Trace(object): self.overutilized_time = df[df.overutilized == 1].len.sum() self.overutilized_prc = 100. * self.overutilized_time / self.time_range - self._log.info('Overutilized time: %.6f [s] (%.3f%% of trace time)', + self._log.debug('Overutilized time: %.6f [s] (%.3f%% of trace time)', self.overutilized_time, self.overutilized_prc) def _scanTasks(self, df, name_key='comm', pid_key='pid'):