/usr/src/linux-headers-5.15.0-181/tools/testing/selftests/rcutorture/bin
NameSizeModeActions
config2csv.sh18420755editdlrm
configcheck.sh9860755editdlrm
configinit.sh13140755editdlrm
configNR_CPUS.sh6880755editdlrm
config_override.sh8140755editdlrm
console-badness.sh7840755editdlrm
cpus2use.sh8290755editdlrm
functions.sh75380644editdlrm
jitter.sh22440755editdlrm
jitterstart.sh9940644editdlrm
jitterstop.sh5200644editdlrm
kcsan-collapse.sh4840755editdlrm
kvm-again.sh40250755editdlrm
kvm-assign-cpus.sh19990755editdlrm
kvm-build.sh13170755editdlrm
kvm-check-branches.sh35170755editdlrm
kvm-end-run-stats.sh10830755editdlrm
kvm-find-errors.sh16240755editdlrm
kvm-get-cpus-script.sh23260755editdlrm
kvm-recheck-lock.sh8840755editdlrm
kvm-recheck-rcu.sh21250755editdlrm
kvm-recheck-rcuscale-ftrace.sh26800755editdlrm
kvm-recheck-rcuscale.sh19590755editdlrm
kvm-recheck-refscale.sh15620755editdlrm
kvm-recheck-scf.sh9300755editdlrm
kvm-recheck.sh26940755editdlrm
kvm-remote-noreap.sh6290755editdlrm
kvm-remote.sh71880755editdlrm
kvm-test-1-run-batch.sh26300755editdlrm
kvm-test-1-run-qemu.sh53930755editdlrm
kvm-test-1-run.sh87360755editdlrm
kvm-transform.sh20110755editdlrm
kvm.sh189360755editdlrm
mkinitrd.sh19960755editdlrm
parse-build.sh10320755editdlrm
parse-console.sh39680755editdlrm
torture.sh147750755editdlrm
Edit: /usr/src/linux-headers-5.15.0-181/tools/testing/selftests/rcutorture/bin/config2csv.sh (1842B)
#!/bin/sh # SPDX-License-Identifier: GPL-2.0+ # # Create a spreadsheet from torture-test Kconfig options and kernel boot # parameters. Run this in the directory containing the scenario files. # # Usage: config2csv path.csv [ "scenario1 scenario2 ..." ] # # By default, this script will take the list of scenarios from the CFLIST # file in that directory, otherwise it will consider only the scenarios # specified on the command line. It will examine each scenario's file # and also its .boot file, if present, and create a column in the .csv # output file. Note that "CFLIST" is a synonym for all the scenarios in the # CFLIST file, which allows easy comparison of those scenarios with selected # scenarios such as BUSTED that are normally omitted from CFLIST files. csvout=${1} if test -z "$csvout" then echo "Need .csv output file as first argument." exit 1 fi shift defaultconfigs="`tr '\012' ' ' < CFLIST`" if test "$#" -eq 0 then scenariosarg=$defaultconfigs else scenariosarg=$* fi scenarios="`echo $scenariosarg | sed -e "s/\/$defaultconfigs/g"`" T=/tmp/config2latex.sh.$$ trap 'rm -rf $T' 0 mkdir $T cat << '---EOF---' >> $T/p.awk END { ---EOF--- for i in $scenarios do echo ' s["'$i'"] = 1;' >> $T/p.awk grep -v '^#' < $i | grep -v '^ *$' > $T/p if test -r $i.boot then tr -s ' ' '\012' < $i.boot | grep -v '^#' >> $T/p fi sed -e 's/^[^=]*$/&=?/' < $T/p | sed -e 's/^\([^=]*\)=\(.*\)$/\tp["\1:'"$i"'"] = "\2";\n\tc["\1"] = 1;/' >> $T/p.awk done cat << '---EOF---' >> $T/p.awk ns = asorti(s, ss); nc = asorti(c, cs); for (j = 1; j <= ns; j++) printf ",\"%s\"", ss[j]; printf "\n"; for (i = 1; i <= nc; i++) { printf "\"%s\"", cs[i]; for (j = 1; j <= ns; j++) { printf ",\"%s\"", p[cs[i] ":" ss[j]]; } printf "\n"; } } ---EOF--- awk -f $T/p.awk < /dev/null > $T/p.csv cp $T/p.csv $csvout