]> piware.de Git - bin.git/commitdiff
add xdebug script
authormartin@piware.de <>
Mon, 2 Nov 2009 11:48:15 +0000 (12:48 +0100)
committermartin@piware.de <>
Mon, 2 Nov 2009 11:48:15 +0000 (12:48 +0100)
xdebug [new file with mode: 0755]

diff --git a/xdebug b/xdebug
new file mode 100755 (executable)
index 0000000..33c258e
--- /dev/null
+++ b/xdebug
@@ -0,0 +1,10 @@
+#!/bin/sh
+D=$HOME/xdebug-`date '+%Y-%m-%d_%H:%M'`
+mkdir $D
+cd $D
+dmesg > dmesg
+xrandr > xrandr.txt
+cp /var/log/Xorg.0.log Xorg.log
+sudo intel_reg_dumper > regs.txt
+[ -d /sys/kernel/debug/dri ] || sudo mount -t debugfs debugfs /sys/kernel/debug
+sudo intel_gpu_dump > gpu_dump.txt