add script to filter dmesg for remoteproc logs
authorVenkateswara Rao Mandela <venkat.mandela@ti.com>
Tue, 15 Aug 2017 12:49:12 +0000 (18:19 +0530)
committerVenkateswara Rao Mandela <venkat.mandela@ti.com>
Tue, 15 Aug 2017 12:49:12 +0000 (18:19 +0530)
debug/filter-dmesg-rproc.sh [new file with mode: 0755]

diff --git a/debug/filter-dmesg-rproc.sh b/debug/filter-dmesg-rproc.sh
new file mode 100755 (executable)
index 0000000..8029dc1
--- /dev/null
@@ -0,0 +1,11 @@
+#!/bin/bash
+
+dmesg | sed -n \
+            -e '/iommu/p' \
+            -e '/remoteproc/p' \
+            -e '/rproc/p' \
+            -e '/Mounted root/p' \
+            -e '/virtio/p' \
+            -e '/no idle/p' \
+            -e '/no reset/p' \
+            | uniq