/openbmc/phosphor-debug-collector/tools/dreport.d/plugins.d/ |
H A D | ramoops | ff92ffe2 Tue Feb 09 01:01:53 CST 2021 George Liu <liuxiwei@inspur.com> Collect ramoops data into BMC dump - Add ramoops file monitor and support to enable ramoops data collection for kernel dump. - Systemd will collect ramoops data and write it into /var/lib/systemd/pstore when a system kernel oops/panics. - Today, need to grab everything in that directory, put it in a dump and then delete everything in that directory. Tested: - Simulate a kernel panic by creating similar data in the expected location. `dmesg > /var/lib/systemd/pstore/dmesg1.txt` `dmesg > /var/lib/systemd/pstore/dmesg2.txt` `dmesg > /var/lib/systemd/pstore/dmesg3.txt` `dmesg > /var/lib/systemd/pstore/dmesg4.txt` tar -tvf obmcdump_1_248.tar.xz: drwxr-xr-x 0/0 0 1970-01-01 00:01:32 obmcdump_1_248/ -rw-r--r-- 0/0 21239 1970-01-01 00:01:32 obmcdump_1_248/dmesg1.txt -rw-r--r-- 0/0 21239 1970-01-01 00:01:32 obmcdump_1_248/dmesg2.txt -rw-r--r-- 0/0 21239 1970-01-01 00:01:32 obmcdump_1_248/dmesg3.txt -rw-r--r-- 0/0 21239 1970-01-01 00:01:32 obmcdump_1_248/dmesg4.txt -rw-r--r-- 0/0 162 1970-01-01 00:01:32 obmcdump_1_248/dreport.log -rw-r--r-- 0/0 294 1970-01-01 00:01:31 obmcdump_1_248/os-release -rw-r--r-- 0/0 278 1970-01-01 00:01:31 obmcdump_1_248/summary.log Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: I05bca408f4dcc2b62350104a0c5f757d740dde22
|
H A D | osrelease | ff92ffe2 Tue Feb 09 01:01:53 CST 2021 George Liu <liuxiwei@inspur.com> Collect ramoops data into BMC dump - Add ramoops file monitor and support to enable ramoops data collection for kernel dump. - Systemd will collect ramoops data and write it into /var/lib/systemd/pstore when a system kernel oops/panics. - Today, need to grab everything in that directory, put it in a dump and then delete everything in that directory. Tested: - Simulate a kernel panic by creating similar data in the expected location. `dmesg > /var/lib/systemd/pstore/dmesg1.txt` `dmesg > /var/lib/systemd/pstore/dmesg2.txt` `dmesg > /var/lib/systemd/pstore/dmesg3.txt` `dmesg > /var/lib/systemd/pstore/dmesg4.txt` tar -tvf obmcdump_1_248.tar.xz: drwxr-xr-x 0/0 0 1970-01-01 00:01:32 obmcdump_1_248/ -rw-r--r-- 0/0 21239 1970-01-01 00:01:32 obmcdump_1_248/dmesg1.txt -rw-r--r-- 0/0 21239 1970-01-01 00:01:32 obmcdump_1_248/dmesg2.txt -rw-r--r-- 0/0 21239 1970-01-01 00:01:32 obmcdump_1_248/dmesg3.txt -rw-r--r-- 0/0 21239 1970-01-01 00:01:32 obmcdump_1_248/dmesg4.txt -rw-r--r-- 0/0 162 1970-01-01 00:01:32 obmcdump_1_248/dreport.log -rw-r--r-- 0/0 294 1970-01-01 00:01:31 obmcdump_1_248/os-release -rw-r--r-- 0/0 278 1970-01-01 00:01:31 obmcdump_1_248/summary.log Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: I05bca408f4dcc2b62350104a0c5f757d740dde22
|
/openbmc/phosphor-debug-collector/tools/dreport.d/ |
H A D | sample.conf | ff92ffe2 Tue Feb 09 01:01:53 CST 2021 George Liu <liuxiwei@inspur.com> Collect ramoops data into BMC dump - Add ramoops file monitor and support to enable ramoops data collection for kernel dump. - Systemd will collect ramoops data and write it into /var/lib/systemd/pstore when a system kernel oops/panics. - Today, need to grab everything in that directory, put it in a dump and then delete everything in that directory. Tested: - Simulate a kernel panic by creating similar data in the expected location. `dmesg > /var/lib/systemd/pstore/dmesg1.txt` `dmesg > /var/lib/systemd/pstore/dmesg2.txt` `dmesg > /var/lib/systemd/pstore/dmesg3.txt` `dmesg > /var/lib/systemd/pstore/dmesg4.txt` tar -tvf obmcdump_1_248.tar.xz: drwxr-xr-x 0/0 0 1970-01-01 00:01:32 obmcdump_1_248/ -rw-r--r-- 0/0 21239 1970-01-01 00:01:32 obmcdump_1_248/dmesg1.txt -rw-r--r-- 0/0 21239 1970-01-01 00:01:32 obmcdump_1_248/dmesg2.txt -rw-r--r-- 0/0 21239 1970-01-01 00:01:32 obmcdump_1_248/dmesg3.txt -rw-r--r-- 0/0 21239 1970-01-01 00:01:32 obmcdump_1_248/dmesg4.txt -rw-r--r-- 0/0 162 1970-01-01 00:01:32 obmcdump_1_248/dreport.log -rw-r--r-- 0/0 294 1970-01-01 00:01:31 obmcdump_1_248/os-release -rw-r--r-- 0/0 278 1970-01-01 00:01:31 obmcdump_1_248/summary.log Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: I05bca408f4dcc2b62350104a0c5f757d740dde22
|
H A D | dreport | ff92ffe2 Tue Feb 09 01:01:53 CST 2021 George Liu <liuxiwei@inspur.com> Collect ramoops data into BMC dump - Add ramoops file monitor and support to enable ramoops data collection for kernel dump. - Systemd will collect ramoops data and write it into /var/lib/systemd/pstore when a system kernel oops/panics. - Today, need to grab everything in that directory, put it in a dump and then delete everything in that directory. Tested: - Simulate a kernel panic by creating similar data in the expected location. `dmesg > /var/lib/systemd/pstore/dmesg1.txt` `dmesg > /var/lib/systemd/pstore/dmesg2.txt` `dmesg > /var/lib/systemd/pstore/dmesg3.txt` `dmesg > /var/lib/systemd/pstore/dmesg4.txt` tar -tvf obmcdump_1_248.tar.xz: drwxr-xr-x 0/0 0 1970-01-01 00:01:32 obmcdump_1_248/ -rw-r--r-- 0/0 21239 1970-01-01 00:01:32 obmcdump_1_248/dmesg1.txt -rw-r--r-- 0/0 21239 1970-01-01 00:01:32 obmcdump_1_248/dmesg2.txt -rw-r--r-- 0/0 21239 1970-01-01 00:01:32 obmcdump_1_248/dmesg3.txt -rw-r--r-- 0/0 21239 1970-01-01 00:01:32 obmcdump_1_248/dmesg4.txt -rw-r--r-- 0/0 162 1970-01-01 00:01:32 obmcdump_1_248/dreport.log -rw-r--r-- 0/0 294 1970-01-01 00:01:31 obmcdump_1_248/os-release -rw-r--r-- 0/0 278 1970-01-01 00:01:31 obmcdump_1_248/summary.log Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: I05bca408f4dcc2b62350104a0c5f757d740dde22
|
/openbmc/phosphor-debug-collector/ |
H A D | ramoops_manager_main.cpp | ff92ffe2 Tue Feb 09 01:01:53 CST 2021 George Liu <liuxiwei@inspur.com> Collect ramoops data into BMC dump - Add ramoops file monitor and support to enable ramoops data collection for kernel dump. - Systemd will collect ramoops data and write it into /var/lib/systemd/pstore when a system kernel oops/panics. - Today, need to grab everything in that directory, put it in a dump and then delete everything in that directory. Tested: - Simulate a kernel panic by creating similar data in the expected location. `dmesg > /var/lib/systemd/pstore/dmesg1.txt` `dmesg > /var/lib/systemd/pstore/dmesg2.txt` `dmesg > /var/lib/systemd/pstore/dmesg3.txt` `dmesg > /var/lib/systemd/pstore/dmesg4.txt` tar -tvf obmcdump_1_248.tar.xz: drwxr-xr-x 0/0 0 1970-01-01 00:01:32 obmcdump_1_248/ -rw-r--r-- 0/0 21239 1970-01-01 00:01:32 obmcdump_1_248/dmesg1.txt -rw-r--r-- 0/0 21239 1970-01-01 00:01:32 obmcdump_1_248/dmesg2.txt -rw-r--r-- 0/0 21239 1970-01-01 00:01:32 obmcdump_1_248/dmesg3.txt -rw-r--r-- 0/0 21239 1970-01-01 00:01:32 obmcdump_1_248/dmesg4.txt -rw-r--r-- 0/0 162 1970-01-01 00:01:32 obmcdump_1_248/dreport.log -rw-r--r-- 0/0 294 1970-01-01 00:01:31 obmcdump_1_248/os-release -rw-r--r-- 0/0 278 1970-01-01 00:01:31 obmcdump_1_248/summary.log Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: I05bca408f4dcc2b62350104a0c5f757d740dde22
|
H A D | ramoops_manager.hpp | ff92ffe2 Tue Feb 09 01:01:53 CST 2021 George Liu <liuxiwei@inspur.com> Collect ramoops data into BMC dump - Add ramoops file monitor and support to enable ramoops data collection for kernel dump. - Systemd will collect ramoops data and write it into /var/lib/systemd/pstore when a system kernel oops/panics. - Today, need to grab everything in that directory, put it in a dump and then delete everything in that directory. Tested: - Simulate a kernel panic by creating similar data in the expected location. `dmesg > /var/lib/systemd/pstore/dmesg1.txt` `dmesg > /var/lib/systemd/pstore/dmesg2.txt` `dmesg > /var/lib/systemd/pstore/dmesg3.txt` `dmesg > /var/lib/systemd/pstore/dmesg4.txt` tar -tvf obmcdump_1_248.tar.xz: drwxr-xr-x 0/0 0 1970-01-01 00:01:32 obmcdump_1_248/ -rw-r--r-- 0/0 21239 1970-01-01 00:01:32 obmcdump_1_248/dmesg1.txt -rw-r--r-- 0/0 21239 1970-01-01 00:01:32 obmcdump_1_248/dmesg2.txt -rw-r--r-- 0/0 21239 1970-01-01 00:01:32 obmcdump_1_248/dmesg3.txt -rw-r--r-- 0/0 21239 1970-01-01 00:01:32 obmcdump_1_248/dmesg4.txt -rw-r--r-- 0/0 162 1970-01-01 00:01:32 obmcdump_1_248/dreport.log -rw-r--r-- 0/0 294 1970-01-01 00:01:31 obmcdump_1_248/os-release -rw-r--r-- 0/0 278 1970-01-01 00:01:31 obmcdump_1_248/summary.log Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: I05bca408f4dcc2b62350104a0c5f757d740dde22
|
H A D | ramoops_manager.cpp | ff92ffe2 Tue Feb 09 01:01:53 CST 2021 George Liu <liuxiwei@inspur.com> Collect ramoops data into BMC dump - Add ramoops file monitor and support to enable ramoops data collection for kernel dump. - Systemd will collect ramoops data and write it into /var/lib/systemd/pstore when a system kernel oops/panics. - Today, need to grab everything in that directory, put it in a dump and then delete everything in that directory. Tested: - Simulate a kernel panic by creating similar data in the expected location. `dmesg > /var/lib/systemd/pstore/dmesg1.txt` `dmesg > /var/lib/systemd/pstore/dmesg2.txt` `dmesg > /var/lib/systemd/pstore/dmesg3.txt` `dmesg > /var/lib/systemd/pstore/dmesg4.txt` tar -tvf obmcdump_1_248.tar.xz: drwxr-xr-x 0/0 0 1970-01-01 00:01:32 obmcdump_1_248/ -rw-r--r-- 0/0 21239 1970-01-01 00:01:32 obmcdump_1_248/dmesg1.txt -rw-r--r-- 0/0 21239 1970-01-01 00:01:32 obmcdump_1_248/dmesg2.txt -rw-r--r-- 0/0 21239 1970-01-01 00:01:32 obmcdump_1_248/dmesg3.txt -rw-r--r-- 0/0 21239 1970-01-01 00:01:32 obmcdump_1_248/dmesg4.txt -rw-r--r-- 0/0 162 1970-01-01 00:01:32 obmcdump_1_248/dreport.log -rw-r--r-- 0/0 294 1970-01-01 00:01:31 obmcdump_1_248/os-release -rw-r--r-- 0/0 278 1970-01-01 00:01:31 obmcdump_1_248/summary.log Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: I05bca408f4dcc2b62350104a0c5f757d740dde22
|
H A D | dump_manager_bmc.hpp | ff92ffe2 Tue Feb 09 01:01:53 CST 2021 George Liu <liuxiwei@inspur.com> Collect ramoops data into BMC dump - Add ramoops file monitor and support to enable ramoops data collection for kernel dump. - Systemd will collect ramoops data and write it into /var/lib/systemd/pstore when a system kernel oops/panics. - Today, need to grab everything in that directory, put it in a dump and then delete everything in that directory. Tested: - Simulate a kernel panic by creating similar data in the expected location. `dmesg > /var/lib/systemd/pstore/dmesg1.txt` `dmesg > /var/lib/systemd/pstore/dmesg2.txt` `dmesg > /var/lib/systemd/pstore/dmesg3.txt` `dmesg > /var/lib/systemd/pstore/dmesg4.txt` tar -tvf obmcdump_1_248.tar.xz: drwxr-xr-x 0/0 0 1970-01-01 00:01:32 obmcdump_1_248/ -rw-r--r-- 0/0 21239 1970-01-01 00:01:32 obmcdump_1_248/dmesg1.txt -rw-r--r-- 0/0 21239 1970-01-01 00:01:32 obmcdump_1_248/dmesg2.txt -rw-r--r-- 0/0 21239 1970-01-01 00:01:32 obmcdump_1_248/dmesg3.txt -rw-r--r-- 0/0 21239 1970-01-01 00:01:32 obmcdump_1_248/dmesg4.txt -rw-r--r-- 0/0 162 1970-01-01 00:01:32 obmcdump_1_248/dreport.log -rw-r--r-- 0/0 294 1970-01-01 00:01:31 obmcdump_1_248/os-release -rw-r--r-- 0/0 278 1970-01-01 00:01:31 obmcdump_1_248/summary.log Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: I05bca408f4dcc2b62350104a0c5f757d740dde22
|
H A D | meson.build | ff92ffe2 Tue Feb 09 01:01:53 CST 2021 George Liu <liuxiwei@inspur.com> Collect ramoops data into BMC dump - Add ramoops file monitor and support to enable ramoops data collection for kernel dump. - Systemd will collect ramoops data and write it into /var/lib/systemd/pstore when a system kernel oops/panics. - Today, need to grab everything in that directory, put it in a dump and then delete everything in that directory. Tested: - Simulate a kernel panic by creating similar data in the expected location. `dmesg > /var/lib/systemd/pstore/dmesg1.txt` `dmesg > /var/lib/systemd/pstore/dmesg2.txt` `dmesg > /var/lib/systemd/pstore/dmesg3.txt` `dmesg > /var/lib/systemd/pstore/dmesg4.txt` tar -tvf obmcdump_1_248.tar.xz: drwxr-xr-x 0/0 0 1970-01-01 00:01:32 obmcdump_1_248/ -rw-r--r-- 0/0 21239 1970-01-01 00:01:32 obmcdump_1_248/dmesg1.txt -rw-r--r-- 0/0 21239 1970-01-01 00:01:32 obmcdump_1_248/dmesg2.txt -rw-r--r-- 0/0 21239 1970-01-01 00:01:32 obmcdump_1_248/dmesg3.txt -rw-r--r-- 0/0 21239 1970-01-01 00:01:32 obmcdump_1_248/dmesg4.txt -rw-r--r-- 0/0 162 1970-01-01 00:01:32 obmcdump_1_248/dreport.log -rw-r--r-- 0/0 294 1970-01-01 00:01:31 obmcdump_1_248/os-release -rw-r--r-- 0/0 278 1970-01-01 00:01:31 obmcdump_1_248/summary.log Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: I05bca408f4dcc2b62350104a0c5f757d740dde22
|