History log of /openbmc/phosphor-debug-collector/tools/dreport.d/plugins.d/procfd (Results 1 – 3 of 3)
Revision Date Author Comments
# d56bab55 08-Aug-2024 Jian Zhang <zhangjian.3032@bytedance.com>

dreport: fix procfd missing

During the execution of 'ls -Al /proc/*/fd/ 2> /dev/null', some
processes may stop, like `while true; do echo "Hello" > /dev/null; done`

Causing the ls cmd to fail, and

dreport: fix procfd missing

During the execution of 'ls -Al /proc/*/fd/ 2> /dev/null', some
processes may stop, like `while true; do echo "Hello" > /dev/null; done`

Causing the ls cmd to fail, and as a result, the procfs.log will not be
collected in the dump log.

So ensure ls procfd returns success.

Tested:
1. Run `while true; do echo "Hello" > /dev/null; done` in the
background.

2. Run `set -e; while true; do ls -Al /proc/*/fd/ 2> /dev/null
|| true; done`, the command will not stop
(before the fix, the command will stop quickly).

Change-Id: I1f4e8fda000f303fd579825e0a94efdba5a097eb
Signed-off-by: Jian Zhang <zhangjian.3032@bytedance.com>

show more ...


# 60ab262b 26-Apr-2022 Marri Devender Rao <devenrao@in.ibm.com>

dreport: Fix warnings displayed during plugin execution

Tested:
Tue Apr 26 07:20:23 UTC 2022 INFO: Collected proc fd
Tue Apr 26 07:20:18 UTC 2022 INFO: Collected Attribute list
Tue Apr 26 07:20:18 U

dreport: Fix warnings displayed during plugin execution

Tested:
Tue Apr 26 07:20:23 UTC 2022 INFO: Collected proc fd
Tue Apr 26 07:20:18 UTC 2022 INFO: Collected Attribute list
Tue Apr 26 07:20:18 UTC 2022 INFO: Copied Device tree file
/var/lib/phosphor-software-manager/hostfw/running/DEVTREE
Tue Apr 26 07:20:18 UTC 2022 INFO: Copied Attribute info db
/usr/share/pdata/attributes_info.db

Signed-off-by: Marri Devender Rao <devenrao@in.ibm.com>
Change-Id: I34e454552b5f903721acf6149a4abee6b3f53bb7

show more ...


# fcc91644 25-Mar-2022 Marri Devender Rao <devenrao@in.ibm.com>

dreport: add active file descriptors list to the BMC dump

List all the active file descriptors to procfd.log and
append the file to the BMC dump

Tested:
cat procfd.log
/proc/1/fd/:
lrwx------ 1

dreport: add active file descriptors list to the BMC dump

List all the active file descriptors to procfd.log and
append the file to the BMC dump

Tested:
cat procfd.log
/proc/1/fd/:
lrwx------ 1 root root 64 Mar 25 11:05 0 -> /dev/null
lrwx------ 1 root root 64 Mar 25 11:05 1 -> /dev/null

Signed-off-by: Marri Devender Rao <devenrao@in.ibm.com>
Change-Id: I412abade104e5685a42150036e5149dadc94b3e7

show more ...