summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJayanth Othayoth <ojayanth@in.ibm.com>2017-09-03 21:26:27 -0500
committerJayanth Othayoth <ojayanth@in.ibm.com>2017-09-12 02:40:57 -0500
commit65a409f0ce1b0713c7d78e4cb97651bd3331132e (patch)
tree6aec3dfb33366e2f5051473be073c9b9cabb30bb
parentad516f4fe17bf1756980c51634e73104b6a2e193 (diff)
downloadphosphor-debug-collector-65a409f0ce1b0713c7d78e4cb97651bd3331132e.tar.gz
phosphor-debug-collector-65a409f0ce1b0713c7d78e4cb97651bd3331132e.zip
dreport: Replace eSEL usage by elog string
Change-Id: I0f56b55df797ba4a463f7842285aae4788b2724a Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
-rwxr-xr-xtools/dreport8
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/dreport b/tools/dreport
index 8dba934..f690498 100755
--- a/tools/dreport
+++ b/tools/dreport
@@ -84,7 +84,7 @@ command_list=(
get_cpuinfo
get_meminfo
get_top
- get_esel
+ get_elog_all
get_journal
get_failed_services
)
@@ -244,9 +244,9 @@ function chassis_state()
run_command "$command" "$copy_loc" "$desc"
}
-function get_esel()
+function get_elog_all()
{
- desc="eSEL"
+ desc="elog"
entries=$(busctl --list --no-pager tree \
xyz.openbmc_project.Logging | grep \
@@ -265,7 +265,7 @@ function get_esel()
call xyz.openbmc_project.Logging {} \
org.freedesktop.DBus.Properties GetAll s \
xyz.openbmc_project.Logging.Entry"
- copy_loc="eSEL.log"
+ copy_loc="elog.log"
run_command "$command" "$copy_loc" "$desc"
}
OpenPOWER on IntegriCloud