Skip to content

Commit d72e6c0

Browse files
paulmckrcuJoel Fernandes
authored andcommitted
torture: Check for "Call trace:" as well as "Call Trace:"
Different architectures capitalize their splats differently. Who knew? This commit therefore checks for both arm64 "Call trace:" and x86 "Call Trace:". Reported-by: Joel Fernandes <[email protected]> Closes: https://lore.kernel.org/all/[email protected]/ Signed-off-by: Paul E. McKenney <[email protected]> Signed-off-by: Joel Fernandes <[email protected]>
1 parent aafe12f commit d72e6c0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tools/testing/selftests/rcutorture/bin/console-badness.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
#
1111
# Authors: Paul E. McKenney <[email protected]>
1212

13-
grep -E 'Badness|WARNING:|Warn|BUG|===========|BUG: KCSAN:|Call Trace:|Oops:|detected stalls on CPUs/tasks:|self-detected stall on CPU|Stall ended before state dump start|\?\?\? Writer stall state|rcu_.*kthread starved for|!!!' |
13+
grep -E 'Badness|WARNING:|Warn|BUG|===========|BUG: KCSAN:|Call Trace:|Call trace:|Oops:|detected stalls on CPUs/tasks:|self-detected stall on CPU|Stall ended before state dump start|\?\?\? Writer stall state|rcu_.*kthread starved for|!!!' |
1414
grep -v 'ODEBUG: ' |
1515
grep -v 'This means that this is a DEBUG kernel and it is' |
1616
grep -v 'Warning: unable to open an initial console' |

tools/testing/selftests/rcutorture/bin/parse-console.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ then
148148
summary="$summary KCSAN: $n_kcsan"
149149
fi
150150
fi
151-
n_calltrace=`grep -c 'Call Trace:' $file`
151+
n_calltrace=`grep -Ec 'Call Trace:|Call trace:' $file`
152152
if test "$n_calltrace" -ne 0
153153
then
154154
summary="$summary Call Traces: $n_calltrace"

0 commit comments

Comments
 (0)