Add log collection for BMC kernel sys trace
Changes:
- Add log collection for the file
/sys/kernel/tracing/trace
Tested:
- Tested on the sandbox.
Change-Id: If6a38de6b70502034e6251bc339fa03f3e330d90
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
diff --git a/lib/openbmc_ffdc_list.py b/lib/openbmc_ffdc_list.py
index 6e33481..a6218f2 100755
--- a/lib/openbmc_ffdc_list.py
+++ b/lib/openbmc_ffdc_list.py
@@ -106,6 +106,9 @@
"cat /var/lib/phosphor-software-manager/pnor/rw/DEVTREE >"
" /tmp/DEVTREE 2>&1"
),
+ "kernel_sys_trace.txt": (
+ "cat /sys/kernel/tracing/trace >/tmp/kernel_sys_trace.txt 2>&1"
+ ),
},
}
# Add file name and corresponding command needed for all Linux distributions