summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeunghun Lee <shiin.lee@samsung.com>2013-04-12 11:29:11 +0900
committerBoram Park <boram1288.park@samsung.com>2013-09-02 17:05:04 +0900
commita3d2a97e76c397267feeb56a135ccbf1be10ece5 (patch)
treec72480224eb79fa36e36ac5d24d1170aca34e71e
parent2f2d22757a0acb3bf0d675a248f0c6212bf3d6c1 (diff)
downloadxf86-misc-exynos4412-a3d2a97e76c397267feeb56a135ccbf1be10ece5.tar.gz
xf86-misc-exynos4412-a3d2a97e76c397267feeb56a135ccbf1be10ece5.tar.bz2
xf86-misc-exynos4412-a3d2a97e76c397267feeb56a135ccbf1be10ece5.zip
Added "winsys_log_dump.sh" script for crash log.
Change-Id: I0e6e3dbbbee9d916fedde45d571eb52a4928d61d
-rwxr-xr-xarm-common/winsys_log_dump.sh29
1 files changed, 29 insertions, 0 deletions
diff --git a/arm-common/winsys_log_dump.sh b/arm-common/winsys_log_dump.sh
new file mode 100755
index 0000000..cd808d2
--- /dev/null
+++ b/arm-common/winsys_log_dump.sh
@@ -0,0 +1,29 @@
+#!/bin/sh
+
+#--------------------------------------
+# winsys
+#--------------------------------------
+export DISPLAY=:0.0
+WINSYS_DEBUG=$1/winsys
+E17_HOME=/home/app
+mkdir -p ${WINSYS_DEBUG}
+xinfo -p 2> ${WINSYS_DEBUG}/ping.log
+xinfo -xwd_topvwins ${WINSYS_DEBUG}
+cp -af /opt/var/log/keygrab_status.txt ${WINSYS_DEBUG}
+screenshot bmp ${WINSYS_DEBUG}/slp_screenshot.bmp
+xinfo -topvwins 2> ${WINSYS_DEBUG}/xinfo_topvwins.txt
+xdbg clist > ${WINSYS_DEBUG}/xdbg_clist.log 2>&1
+xdbg drmevent_pending > ${WINSYS_DEBUG}/drmevent_pending.log 2>&1
+xberc drmmode_dump > ${WINSYS_DEBUG}/drmmode_dump.log
+find /var/log/ -name "*Xorg*" -exec cp {} ${WINSYS_DEBUG}/ \;
+xprop -root -f _E_LOG 8s -set _E_LOG ${E17_HOME}/e.log
+cat ${E17_HOME}/e.log > ${WINSYS_DEBUG}/e.log
+border_win_info -p ALL -f ${E17_HOME}/e_illume2.log
+cat ${E17_HOME}/e_illume2.log > ${WINSYS_DEBUG}/e_illume2.log
+e_comp_util -l DUMP_INFO -f ${E17_HOME}/e_comp.log
+cat ${E17_HOME}/e_comp.log > ${WINSYS_DEBUG}/e_comp.log
+cat ${E17_HOME}/e_comp.log_move > ${WINSYS_DEBUG}/e_comp.log_move
+rm ${E17_HOME}/e.log
+rm ${E17_HOME}/e_comp.log
+rm ${E17_HOME}/e_comp.log_move
+rm ${E17_HOME}/e_illume2.log