Server IP : 15.235.198.142 / Your IP : 216.73.216.14 Web Server : Apache/2.4.58 (Ubuntu) System : Linux ballsack 6.8.0-45-generic #45-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 30 12:02:04 UTC 2024 x86_64 User : www-data ( 33) PHP Version : 8.3.6 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /usr/lib/modules/6.8.0-45-generic/build/tools/testing/selftests/rcutorture/bin/ |
Upload File : |
#!/bin/bash # SPDX-License-Identifier: GPL-2.0+ # # Analyze a given results directory for rcutorture progress. # # Usage: kvm-recheck-rcu.sh resdir # # Copyright (C) Facebook, 2020 # # Authors: Paul E. McKenney <paulmck@kernel.org> i="$1" if test -d "$i" -a -r "$i" then : else echo Unreadable results directory: $i exit 1 fi . functions.sh configfile=`echo $i | sed -e 's/^.*\///'` nscfs="`grep 'scf_invoked_count ver:' $i/console.log 2> /dev/null | tail -1 | sed -e 's/^.* scf_invoked_count ver: //' -e 's/ .*$//' | tr -d '\015'`" if test -z "$nscfs" then echo "$configfile ------- " else dur="`grep -v '^#' $i/qemu-cmd | sed -e 's/^.* scftorture.shutdown_secs=//' -e 's/ .*$//' 2> /dev/null`" if test -z "$dur" then rate="" else nscfss=`awk -v nscfs=$nscfs -v dur=$dur ' BEGIN { print nscfs / dur }' < /dev/null` rate=" ($nscfss/s)" fi echo "${configfile} ------- ${nscfs} SCF handler invocations$rate" fi