/linux-6.12.1/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 …]
|
/linux-6.12.1/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", 249 # set when creating a new config 257 # in a .config file. The MIN_CONFIG and ADD_CONFIG configs. 260 # do not force reboots on config problems [all …]
|
/linux-6.12.1/tools/testing/selftests/net/rds/ |
D | run.sh | 2 # SPDX-License-Identifier: GPL-2.0 4 set -e 5 set -u 13 if test -f "$build_include"; then 26 kconfig="$ksrc_dir/.config" 41 GCC_VER=$(gcc -dumpfullversion) 42 GCOV_VER=$($GCOV_CMD -v | grep gcov | awk '{print $3}'| awk 'BEGIN {FS="-"}{print $1}') 45 GCOV_CMD=gcov-$(gcc -dumpversion) 55 GCOV_VER=$($GCOV_CMD -v | grep gcov | awk '{print $3}'| \ 56 awk 'BEGIN {FS="-"}{print $1}') [all …]
|
/linux-6.12.1/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 …]
|
/linux-6.12.1/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 …]
|
/linux-6.12.1/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 …]
|
/linux-6.12.1/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 29 use Getopt::Long qw(:config no_auto_abbrev); 30 use Config; 42 # Kernel addresses vary by architecture. We can only auto-detect the following 43 # architectures (using `uname -m`). (flag --32-bit overrides auto-detection.) 57 my $opt_32bit = 0; # Scan 32-bit kernel. 58 my $page_offset_32bit = 0; # Page offset for 32-bit kernel. [all …]
|
/linux-6.12.1/tools/testing/selftests/drivers/net/ |
D | README.rst | 1 .. SPDX-License-Identifier: GPL-2.0 17 (for example) can be run under ``virtme-ng`` like the core networking selftests. 33 and a real device. SW-only tests should instead be placed in net/ or 34 drivers/net/netdevsim, HW-only tests in drivers/net/hw. 39 The variables can be set in the environment or by creating a net.config 46 $ cat tools/testing/selftests/drivers/net/net.config 69 Test framework has built-in support for ``netns`` and ``ssh`` channels. 86 for netns - name of the "remote" namespace 87 for ssh - name/address of the remote host 94 # make -C tools/testing/selftests/ TARGETS="drivers/net drivers/net/hw" [all …]
|
/linux-6.12.1/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 …]
|
/linux-6.12.1/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 …]
|
/linux-6.12.1/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 92 test -d $LINE_DIR || mkdir $LINE_DIR 127 $BASE_DIR/gpio-chip-info /dev/`configfs_chip_name $CHIP $BANK` num-lines || \ [all …]
|
/linux-6.12.1/drivers/net/ethernet/renesas/ |
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 6 config NET_VENDOR_RENESAS 13 kernel: saying N will just cause the configurator to skip all 19 config SH_ETH 29 config RAVB 42 config RENESAS_ETHER_SWITCH 53 config RENESAS_GEN4_PTP 54 tristate "Renesas R-Car Gen4 gPTP support" if COMPILE_TEST 60 Renesas R-Car Gen4 gPTP device driver. 62 config RTSN [all …]
|
/linux-6.12.1/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 …]
|
/linux-6.12.1/arch/x86/events/intel/ |
D | bts.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * Copyright (c) 2013-2014, Intel Corporation. 85 int cpu = event->cpu; in bts_buffer_setup_aux() 86 int node = (cpu == -1) ? cpu : cpu_to_node(cpu); in bts_buffer_setup_aux() 108 buf->nr_pages = nr_pages; in bts_buffer_setup_aux() 109 buf->nr_bufs = nbuf; in bts_buffer_setup_aux() 110 buf->snapshot = overwrite; in bts_buffer_setup_aux() 111 buf->data_pages = pages; in bts_buffer_setup_aux() 112 buf->real_size = size - size % BTS_RECORD_SIZE; in bts_buffer_setup_aux() 114 for (pg = 0, nbuf = 0, offset = 0, pad = 0; nbuf < buf->nr_bufs; nbuf++) { in bts_buffer_setup_aux() [all …]
|
/linux-6.12.1/Documentation/rust/ |
D | testing.rst | 1 .. SPDX-License-Identifier: GPL-2.0 11 - The KUnit tests. 12 - The ``#[test]`` tests. 13 - The Kselftests. 16 --------------- 27 ./tools/testing/kunit/kunit.py run --make_options LLVM=1 --arch x86_64 --kconfig_add CONFIG_RUST=y 29 Alternatively, KUnit can run them as kernel built-in at boot. Refer to 30 Documentation/dev-tools/kunit/index.rst for the general KUnit documentation 31 and Documentation/dev-tools/kunit/architecture.rst for the details of kernel 32 built-in vs. command line testing. [all …]
|
/linux-6.12.1/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 35 config XILINX_LL_TEMAC 36 tristate "Xilinx LL TEMAC (LocalLink Tri-mode Ethernet MAC) driver"
|
/linux-6.12.1/tools/testing/selftests/mm/ |
D | va_high_addr_switch.sh | 2 # SPDX-License-Identifier: GPL-2.0 6 # This is a test for mmap behavior with 5-level paging. This script wraps the 13 # Kselftest framework requirement - SKIP code is 4. 24 local config="/proc/config.gz" 25 [[ -f "${config}" ]] || config="/boot/config-$(uname -r)" 26 [[ -f "${config}" ]] || fail "Cannot find kernel config in /proc or /boot" 28 # gzip -dcfq automatically handles both compressed and plaintext input. 29 # See man 1 gzip under '-f'. 30 local pg_table_levels=$(gzip -dcfq "${config}" | grep PGTABLE_LEVELS | cut -d'=' -f 2) 35 if [[ "${pg_table_levels}" -lt 5 ]]; then [all …]
|
/linux-6.12.1/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
|
/linux-6.12.1/drivers/net/ethernet/toshiba/ |
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 6 config NET_VENDOR_TOSHIBA 14 kernel: saying N will just cause the configurator to skip all 20 config GELIC_NET 26 console. This driver has built-in support for Ethernet. 31 config GELIC_WIRELESS 37 If you have the wireless-less model of PS3 or have no plan to 40 safely enable this option even if you have a wireless-less model. 42 config SPIDER_NET 49 Cell Processor-Based Blades from IBM. [all …]
|
/linux-6.12.1/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 40 config KS8851_MLL 53 config KSZ884X_PCI
|
/linux-6.12.1/drivers/net/ethernet/qlogic/ |
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 6 config NET_VENDOR_QLOGIC 14 kernel: saying N will just cause the configurator to skip all 20 config QLA3XXX 29 config QLCNIC 37 config QLCNIC_SRIOV 38 bool "QLOGIC QLCNIC 83XX family SR-IOV Support" 47 config QLCNIC_DCB 58 config QLCNIC_HWMON 69 config NETXEN_NIC [all …]
|
/linux-6.12.1/drivers/net/ethernet/sgi/ |
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 6 config NET_VENDOR_SGI 14 kernel: saying N will just cause the configurator to skip all 20 config SGI_IOC3_ETH 29 config SGI_O2MACE_ETH
|
/linux-6.12.1/drivers/net/ethernet/i825xx/ |
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 6 config NET_VENDOR_I825XX 14 kernel: saying N will just cause the configurator to skip all 20 config ARM_ETHER1 27 config BVME6000_NET 36 config LASI_82596 41 found in Hewlett-Packard PA-RISC machines with 10Mbit ethernet. 43 config MVME16x_NET 52 config SNI_82596 56 Say Y here to support the on-board Intel 82596 ethernet controller [all …]
|
/linux-6.12.1/drivers/pinctrl/mvebu/ |
D | pinctrl-mvebu.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 * Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 24 #include "pinctrl-mvebu.h" 59 unsigned int pid, unsigned long *config) in mvebu_mmio_mpp_ctrl_get() argument 64 *config = (readl(data->base + off) >> shift) & MVEBU_MPP_MASK; in mvebu_mmio_mpp_ctrl_get() 70 unsigned int pid, unsigned long config) in mvebu_mmio_mpp_ctrl_set() argument 76 reg = readl(data->base + off) & ~(MVEBU_MPP_MASK << shift); in mvebu_mmio_mpp_ctrl_set() 77 writel(reg | (config << shift), data->base + off); in mvebu_mmio_mpp_ctrl_set() 86 for (n = 0; n < pctl->num_groups; n++) { in mvebu_pinctrl_find_group_by_pid() 87 if (pid >= pctl->groups[n].pins[0] && in mvebu_pinctrl_find_group_by_pid() [all …]
|