Lines Matching +full:no +full:- +full:dump +full:- +full:oops
2 # SPDX-License-Identifier: GPL-2.0+
6 # a text string for error-message purposes.
8 # Usage: parse-console.sh file title
14 T="`mktemp -d ${TMPDIR-/tmp}/parse-console.sh.XXXXXX`"
18 trap 'rm -f $T.seq $T.diags' 0
23 if test -f "$file" -a -r "$file"
30 if grep -Pq '\x00' < $file
41 if grep -q FAILURE $file || grep -q -e '-torture.*!!!' $file
43 nerrs=`grep --binary-files=text '!!!' $file |
44 tail -1 |
48 for (i=NF-8;i<=NF;i++) {
49 if (i <= 0 || i !~ /^[0-9]*$/) {
67 grep --binary-files=text 'torture:.*ver:' $file |
68 grep -E --binary-files=text -v '\(null\)|rtc: 000000000* ' |
69 sed -e 's/^(initramfs)[^]]*] //' -e 's/^\[[^]]*] //' |
70 sed -e 's/^.*ver: //' |
96 if grep -q SUCCESS $file
98 if test -s $T.seq
105 if grep -q "_HOTPLUG:" $file
111 …echo $title no success message, `grep --binary-files=text 'ver:' $file | wc -l` successful version…
112 if test -s $T.seq
118 fi | tee -a $file.diags
120 console-badness.sh < $file > $T.diags
121 if test -s $T.diags
126 n_badness=`grep -c Badness $file`
127 if test "$n_badness" -ne 0
131 …-v 'Warning: unable to open an initial console' $file | grep -v 'Warning: Failed to add ttynull co…
132 if test "$n_warn" -ne 0
136 n_bugs=`grep -E -c '\bBUG|Oops:' $file`
137 if test "$n_bugs" -ne 0
141 n_kcsan=`grep -E -c 'BUG: KCSAN: ' $file`
142 if test "$n_kcsan" -ne 0
151 n_calltrace=`grep -c 'Call Trace:' $file`
152 if test "$n_calltrace" -ne 0
156 n_lockdep=`grep -c =========== $file`
157 if test "$n_badness" -ne 0
161 …n_stalls=`grep -E -c 'detected stalls on CPUs/tasks:|self-detected stall on CPU|Stall ended before…
162 if test "$n_stalls" -ne 0
166 n_starves=`grep -c 'rcu_.*kthread starved for' $file`
167 if test "$n_starves" -ne 0
176 if test -f "$i"
181 if ! test -s $file.diags
183 rm -f $file.diags
189 if [ ! -s $file.ftrace ]; then
190 rm -f $file.ftrace