From c92756d65aa9bf4d824bcaebe3b8296b9e074913 Mon Sep 17 00:00:00 2001 From: Douglas RAILLARD Date: Mon, 25 Mar 2019 12:45:57 +0000 Subject: [PATCH] trace: Fix dmesg collector when using util-linux dmesg Set missing "facility" attribute on DmesgCollector instances. --- devlib/trace/dmesg.py | 1 + 1 file changed, 1 insertion(+) diff --git a/devlib/trace/dmesg.py b/devlib/trace/dmesg.py index a9f80c7..4b43912 100644 --- a/devlib/trace/dmesg.py +++ b/devlib/trace/dmesg.py @@ -141,6 +141,7 @@ class DmesgCollector(TraceCollector): # help with an exit code of 1 self.basic_dmesg = 'BusyBox' in self.target.execute('dmesg -h', check_exit_code=False) + self.facility = facility self.reset() @property