__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
#!/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/\<CFLIST\>/$defaultconfigs/g"`"
T=`mktemp -d /tmp/config2latex.sh.XXXXXX`
trap 'rm -rf $T' 0
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
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| config2csv.sh | File | 1.81 KB | 0755 |
|
| configNR_CPUS.sh | File | 688 B | 0755 |
|
| config_override.sh | File | 823 B | 0755 |
|
| configcheck.sh | File | 1.05 KB | 0755 |
|
| configinit.sh | File | 1.29 KB | 0755 |
|
| console-badness.sh | File | 798 B | 0755 |
|
| cpus2use.sh | File | 829 B | 0755 |
|
| functions.sh | File | 7.97 KB | 0755 |
|
| jitter.sh | File | 2.19 KB | 0755 |
|
| jitterstart.sh | File | 994 B | 0644 |
|
| jitterstop.sh | File | 520 B | 0644 |
|
| kcsan-collapse.sh | File | 484 B | 0755 |
|
| kvm-again.sh | File | 4.83 KB | 0755 |
|
| kvm-assign-cpus.sh | File | 1.97 KB | 0755 |
|
| kvm-build.sh | File | 1.3 KB | 0755 |
|
| kvm-check-branches.sh | File | 3.23 KB | 0755 |
|
| kvm-end-run-stats.sh | File | 1.09 KB | 0755 |
|
| kvm-find-errors.sh | File | 1.94 KB | 0755 |
|
| kvm-get-cpus-script.sh | File | 2.27 KB | 0755 |
|
| kvm-recheck-lock.sh | File | 884 B | 0755 |
|
| kvm-recheck-rcu.sh | File | 2.09 KB | 0755 |
|
| kvm-recheck-rcuscale-ftrace.sh | File | 2.62 KB | 0755 |
|
| kvm-recheck-rcuscale.sh | File | 2.03 KB | 0755 |
|
| kvm-recheck-refscale.sh | File | 1.53 KB | 0755 |
|
| kvm-recheck-scf.sh | File | 930 B | 0755 |
|
| kvm-recheck.sh | File | 3.61 KB | 0755 |
|
| kvm-remote-noreap.sh | File | 629 B | 0755 |
|
| kvm-remote.sh | File | 8.42 KB | 0755 |
|
| kvm-test-1-run-batch.sh | File | 2.64 KB | 0755 |
|
| kvm-test-1-run-qemu.sh | File | 5.28 KB | 0755 |
|
| kvm-test-1-run.sh | File | 8.64 KB | 0755 |
|
| kvm-transform.sh | File | 3.19 KB | 0755 |
|
| kvm.sh | File | 19.36 KB | 0755 |
|
| mkinitrd.sh | File | 2.27 KB | 0755 |
|
| parse-build.sh | File | 1.1 KB | 0755 |
|
| parse-console.sh | File | 4.35 KB | 0755 |
|
| srcu_lockdep.sh | File | 1.77 KB | 0755 |
|
| torture.sh | File | 23.21 KB | 0755 |
|