| /kernel/linux/linux-6.6/tools/testing/ktest/examples/include/ |
| D | min-config.conf | 3 # (A .config file that is the minimum for a machine to boot, or 8 # .config by only setting the configs in your MIN_CONFIG. The closer 10 # boot your machine, the closer the config you test with will be 11 # to the users config that had the failure. 16 # In this example, the final config will reside in 17 # ${CONFIG_DIR}/config-new-min and ${CONFIG_DIR}/config-new-min-net. 26 # This is because the second test config is a subset of the first). 28 # The ${CONFIG_DIR}/config-skip (and -net) will hold the configs 30 # The config-new-min holds configs that ktest.pl could not test 31 # directly because another config that was needed to boot the box [all …]
|
| /kernel/linux/linux-5.10/tools/testing/ktest/examples/include/ |
| D | min-config.conf | 3 # (A .config file that is the minimum for a machine to boot, or 8 # .config by only setting the configs in your MIN_CONFIG. The closer 10 # boot your machine, the closer the config you test with will be 11 # to the users config that had the failure. 16 # In this example, the final config will reside in 17 # ${CONFIG_DIR}/config-new-min and ${CONFIG_DIR}/config-new-min-net. 26 # This is because the second test config is a subset of the first). 28 # The ${CONFIG_DIR}/config-skip (and -net) will hold the configs 30 # The config-new-min holds configs that ktest.pl could not test 31 # directly because another config that was needed to boot the box [all …]
|
| /kernel/linux/linux-6.6/tools/testing/ktest/ |
| D | sample.conf | 2 # Config file for ktest.pl 7 # the name of your config file as the first argument of ktest.pl. 34 # You can skip a test by adding SKIP (before or after the ITERATE 37 # TEST_START SKIP 39 # TEST_START SKIP ITERATE 10 41 # TEST_START ITERATE 10 SKIP 43 # The SKIP label causes the options and the test itself to be ignored. 44 # This is useful to set up several different tests in one config file, and 54 # MIN_CONFIG = /home/test/config-test1 57 # MIN_CONFIG = /home/test/config-default [all …]
|
| D | ktest.pl | 1 #!/usr/bin/perl -w 2 # SPDX-License-Identifier: GPL-2.0-only 4 # Copyright 2010 - Steven Rostedt <srostedt@redhat.com>, Red Hat Inc. 67 "GRUB_REBOOT" => "grub2-reboot", 68 "GRUB_BLS_GET" => "grubby --info=ALL", 76 "LOCALVERSION" => "-test", 79 "TARGET_IMAGE" => "/boot/vmlinuz-test", 247 # set when creating a new config 255 # in a .config file. The MIN_CONFIG and ADD_CONFIG configs. 258 # do not force reboots on config problems [all …]
|
| /kernel/linux/linux-5.10/tools/testing/ktest/ |
| D | sample.conf | 2 # Config file for ktest.pl 7 # the name of your config file as the first argument of ktest.pl. 34 # You can skip a test by adding SKIP (before or after the ITERATE 37 # TEST_START SKIP 39 # TEST_START SKIP ITERATE 10 41 # TEST_START ITERATE 10 SKIP 43 # The SKIP label causes the options and the test itself to be ignored. 44 # This is useful to set up several different tests in one config file, and 54 # MIN_CONFIG = /home/test/config-test1 57 # MIN_CONFIG = /home/test/config-default [all …]
|
| D | ktest.pl | 1 #!/usr/bin/perl -w 2 # SPDX-License-Identifier: GPL-2.0-only 4 # Copyright 2010 - Steven Rostedt <srostedt@redhat.com>, Red Hat Inc. 67 "GRUB_REBOOT" => "grub2-reboot", 68 "GRUB_BLS_GET" => "grubby --info=ALL", 76 "LOCALVERSION" => "-test", 79 "TARGET_IMAGE" => "/boot/vmlinuz-test", 247 # set when creating a new config 255 # in a .config file. The MIN_CONFIG and ADD_CONFIG configs. 258 # do not force reboots on config problems [all …]
|
| /kernel/linux/linux-5.10/lib/ |
| D | Kconfig.kcsan | 1 # SPDX-License-Identifier: GPL-2.0-only 3 config HAVE_ARCH_KCSAN 6 config HAVE_KCSAN_COMPILER 7 def_bool (CC_IS_CLANG && $(cc-option,-fsanitize=thread -mllvm -tsan-distinguish-volatile=1)) || \ 8 (CC_IS_GCC && $(cc-option,-fsanitize=thread --param tsan-distinguish-volatile=1)) 11 <file:Documentation/dev-tools/kcsan.rst>. 13 config KCSAN_KCOV_BROKEN 16 …depends on !$(cc-option,-Werror=unused-command-line-argument -fsanitize=thread -fsanitize-coverage… 31 data-race detector that relies on compile-time instrumentation. 32 KCSAN uses a watchpoint-based sampling approach to detect races. [all …]
|
| /kernel/linux/linux-5.10/tools/perf/util/ |
| D | stat.c | 1 // SPDX-License-Identifier: GPL-2.0 22 stats->n++; in update_stats() 23 delta = val - stats->mean; in update_stats() 24 stats->mean += delta / stats->n; in update_stats() 25 stats->M2 += delta*(val - stats->mean); in update_stats() 27 if (val > stats->max) in update_stats() 28 stats->max = val; in update_stats() 30 if (val < stats->min) in update_stats() 31 stats->min = val; in update_stats() 36 return stats->mean; in avg_stats() [all …]
|
| /kernel/linux/linux-6.6/lib/ |
| D | Kconfig.kcsan | 1 # SPDX-License-Identifier: GPL-2.0-only 3 config HAVE_ARCH_KCSAN 6 config HAVE_KCSAN_COMPILER 7 def_bool (CC_IS_CLANG && $(cc-option,-fsanitize=thread -mllvm -tsan-distinguish-volatile=1)) || \ 8 (CC_IS_GCC && $(cc-option,-fsanitize=thread --param tsan-distinguish-volatile=1)) 11 <file:Documentation/dev-tools/kcsan.rst>. 21 data-race detector that relies on compile-time instrumentation. 22 KCSAN uses a watchpoint-based sampling approach to detect races. 29 See <file:Documentation/dev-tools/kcsan.rst> for more details. 33 config CC_HAS_TSAN_COMPOUND_READ_BEFORE_WRITE [all …]
|
| /kernel/linux/linux-6.6/tools/perf/util/ |
| D | stat.c | 1 // SPDX-License-Identifier: GPL-2.0 24 stats->n++; in update_stats() 25 delta = val - stats->mean; in update_stats() 26 stats->mean += delta / stats->n; in update_stats() 27 stats->M2 += delta*(val - stats->mean); in update_stats() 29 if (val > stats->max) in update_stats() 30 stats->max = val; in update_stats() 32 if (val < stats->min) in update_stats() 33 stats->min = val; in update_stats() 38 return stats->mean; in avg_stats() [all …]
|
| /kernel/linux/linux-6.6/scripts/ |
| D | leaking_addresses.pl | 2 # SPDX-License-Identifier: GPL-2.0-only 7 # - Scans dmesg output. 8 # - Walks directory tree and parses each file (for each directory in @DIRS). 10 # Use --debug to output path before parsing, this is useful to find files that 28 use Getopt::Long qw(:config no_auto_abbrev); 29 use Config; 41 # Kernel addresses vary by architecture. We can only auto-detect the following 42 # architectures (using `uname -m`). (flag --32-bit overrides auto-detection.) 55 my $opt_32bit = 0; # Scan 32-bit kernel. 56 my $page_offset_32bit = 0; # Page offset for 32-bit kernel. [all …]
|
| /kernel/linux/linux-5.10/scripts/ |
| D | leaking_addresses.pl | 2 # SPDX-License-Identifier: GPL-2.0-only 7 # - Scans dmesg output. 8 # - Walks directory tree and parses each file (for each directory in @DIRS). 10 # Use --debug to output path before parsing, this is useful to find files that 28 use Getopt::Long qw(:config no_auto_abbrev); 29 use Config; 41 # Kernel addresses vary by architecture. We can only auto-detect the following 42 # architectures (using `uname -m`). (flag --32-bit overrides auto-detection.) 55 my $opt_32bit = 0; # Scan 32-bit kernel. 56 my $page_offset_32bit = 0; # Page offset for 32-bit kernel. [all …]
|
| /kernel/linux/linux-5.10/tools/testing/selftests/bpf/ |
| D | test_bpftool_build.sh | 2 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 5 -h|--help) 6 echo -e "$0 [-j <n>]" 7 echo -e "\tTest the different ways of building bpftool." 8 echo -e "" 9 echo -e "\tOptions:" 10 echo -e "\t\t-j <n>:\tPass -j flag to 'make'." 19 SCRIPT_REL_PATH=$(realpath --relative-to=$PWD $0) 23 if [ ! -e tools/bpf/bpftool/Makefile ]; then 24 echo -e "skip: bpftool files not found!\n" [all …]
|
| /kernel/linux/linux-6.6/tools/testing/selftests/bpf/ |
| D | test_bpftool_build.sh | 2 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 5 -h|--help) 6 echo -e "$0 [-j <n>]" 7 echo -e "\tTest the different ways of building bpftool." 8 echo -e "" 9 echo -e "\tOptions:" 10 echo -e "\t\t-j <n>:\tPass -j flag to 'make'." 19 SCRIPT_REL_PATH=$(realpath --relative-to=$PWD $0) 23 if [ ! -e tools/bpf/bpftool/Makefile ]; then 24 echo -e "skip: bpftool files not found!\n" [all …]
|
| /kernel/linux/linux-6.6/tools/testing/selftests/net/ |
| D | test_ingress_egress_chaining.sh | 2 # SPDX-License-Identifier: GPL-2.0 7 # Kselftest framework requirement - SKIP code is 4. 10 if [ "$(id -u)" -ne 0 ];then 11 echo "SKIP: Need root privileges" 17 modinfo $mod &>/dev/null || { echo "SKIP: Need act_mirred module"; exit $ksft_skip; } 34 killall -q -9 udpgso_bench_rx 41 function config() { function 54 echo "Add tc filter ingress->egress forwarding $veth1 <-> $veth2" 62 echo "Add tc filter egress->ingress forwarding $peer1 -> $veth1, bypassing the veth pipe" 70 ./udpgso_bench_rx -t & [all …]
|
| /kernel/linux/linux-6.6/tools/perf/tests/ |
| D | attr.py | 1 # SPDX-License-Identifier: GPL-2.0 40 return '\'%s\' - %s' % (self.test.path, self.msg) 61 'config', 135 # [config] 136 # - just single instance in file 137 # - needs to specify: 138 # 'command' - perf command name 139 # 'args' - special command arguments 140 # 'ret' - Skip test if Perf doesn't exit with this value (0 by default) 141 # 'test_ret'- If set to 'true', fail test instead of skipping for 'ret' argument [all …]
|
| /kernel/linux/linux-5.10/tools/testing/selftests/livepatch/ |
| D | functions.sh | 2 # SPDX-License-Identifier: GPL-2.0 10 # Kselftest framework requirement - SKIP code is 4 13 # log(msg) - write message to kernel log 14 # msg - insightful words 19 # skip(msg) - testing can't proceed 20 # msg - explanation 21 function skip() { function 22 log "SKIP: $1" 23 echo "SKIP: $1" >&2 29 uid=$(id -u) [all …]
|
| /kernel/linux/linux-6.6/tools/testing/selftests/gpio/ |
| D | gpio-sim.sh | 2 # SPDX-License-Identifier: GPL-2.0 6 CONFIGFS_DIR="/sys/kernel/config/gpio-sim" 7 MODULE="gpio-sim" 15 skip() { function 17 echo "GPIO $MODULE test SKIP" 26 if [ "$BANK" = "live" -o "$BANK" = "dev_name" ]; then 30 LINES=`ls $CONFIGFS_DIR/$CHIP/$BANK/ | grep -E ^line` 33 if [ -e $CONFIGFS_DIR/$CHIP/$BANK/$LINE/hog ]; then 86 test -d $LINE_DIR || mkdir $LINE_DIR 128 $BASE_DIR/gpio-chip-info /dev/`configfs_chip_name $CHIP $BANK` num-lines || \ [all …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/microchip/ |
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 6 config NET_VENDOR_MICROCHIP 13 kernel: saying N will just cause the configurator to skip all 19 config ENC28J60 29 config ENC28J60_WRITEVERIFY 36 config ENCX24J600 45 config LAN743X
|
| /kernel/linux/linux-5.10/arch/mips/include/asm/octeon/ |
| D | cvmx-config.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 5 /************************* Config Specific Defines ************************/ 9 /* PKO queues per port for interface 0 (ports 0-15) */ 11 /* PKO queues per port for interface 1 (ports 16-31) */ 17 /* PKO queues per port for PCI (ports 32-35) */ 19 /* PKO queues per port for Loop devices (ports 36-39) */ 81 * available FAU address that is not allocated in cvmx-config.h. This 90 * the use of 8-byte aligned addresses, so proper alignment needs to 95 /* First location available after cvmx-config.h allocated region. */ 102 * SKIP details. [all …]
|
| /kernel/linux/linux-6.6/arch/mips/include/asm/octeon/ |
| D | cvmx-config.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 5 /************************* Config Specific Defines ************************/ 9 /* PKO queues per port for interface 0 (ports 0-15) */ 11 /* PKO queues per port for interface 1 (ports 16-31) */ 17 /* PKO queues per port for PCI (ports 32-35) */ 19 /* PKO queues per port for Loop devices (ports 36-39) */ 81 * available FAU address that is not allocated in cvmx-config.h. This 90 * the use of 8-byte aligned addresses, so proper alignment needs to 95 /* First location available after cvmx-config.h allocated region. */ 102 * SKIP details. [all …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/xilinx/ |
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 6 config NET_VENDOR_XILINX 13 kernel: saying N will just cause the configurator to skip all 19 config XILINX_EMACLITE 26 config XILINX_AXI_EMAC 33 config XILINX_LL_TEMAC 34 tristate "Xilinx LL TEMAC (LocalLink Tri-mode Ethernet MAC) driver"
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/xilinx/ |
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 6 config NET_VENDOR_XILINX 13 kernel: saying N will just cause the configurator to skip all 19 config XILINX_EMACLITE 26 config XILINX_AXI_EMAC 34 config XILINX_LL_TEMAC 35 tristate "Xilinx LL TEMAC (LocalLink Tri-mode Ethernet MAC) driver"
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/micrel/ |
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 6 config NET_VENDOR_MICREL 14 kernel: saying N will just cause the configurator to skip all 20 config KS8842 24 This platform driver is for KSZ8841(1-port) / KS8842(2-port) 28 config KS8851 37 config KS8851_MLL 47 config KSZ884X_PCI
|
| /kernel/linux/linux-5.10/drivers/net/wireless/rsi/ |
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 2 config WLAN_VENDOR_RSI 9 kernel: saying N will just cause the configurator to skip all the 15 config RSI_91X 23 config RSI_DEBUGFS 31 config RSI_SDIO 39 config RSI_USB 47 config RSI_COEX
|