diff --git a/wa/instruments/misc.py b/wa/instruments/misc.py index 7cd71008..c2f19a83 100644 --- a/wa/instruments/misc.py +++ b/wa/instruments/misc.py @@ -276,9 +276,15 @@ class InterruptStatsInstrument(Instrument): wfh.write(self.target.execute('cat /proc/interrupts')) def update_output(self, context): + context.add_artifact('interrupts [before]', self.before_file, kind='data', + classifiers={'stage': 'before'}) # If workload execution failed, the after_file may not have been created. if os.path.isfile(self.after_file): diff_interrupt_files(self.before_file, self.after_file, _f(self.diff_file)) + context.add_artifact('interrupts [after]', self.after_file, kind='data', + classifiers={'stage': 'after'}) + context.add_artifact('interrupts [diff]', self.diff_file, kind='data', + classifiers={'stage': 'diff'}) class DynamicFrequencyInstrument(SysfsExtractor):