| /tools/testing/selftests/kselftest/ |
| D | module.sh | 17 module="" # Filename (without the .ko). 39 module="$1" 51 if ! $modprobe -q -n $module; then 52 skip "module $module is not found" 57 if $modprobe -q $module $args; then 58 $modprobe -q -r $module
|
| /tools/testing/selftests/kvm/x86_64/ |
| D | nx_huge_pages_test.sh | 11 NX_HUGE_PAGES=$(cat /sys/module/kvm/parameters/nx_huge_pages) 12 NX_HUGE_PAGES_RECOVERY_RATIO=$(cat /sys/module/kvm/parameters/nx_huge_pages_recovery_ratio) 13 NX_HUGE_PAGES_RECOVERY_PERIOD=$(cat /sys/module/kvm/parameters/nx_huge_pages_recovery_period_ms) 40 sudo_echo 1 /sys/module/kvm/parameters/nx_huge_pages 41 sudo_echo 1 /sys/module/kvm/parameters/nx_huge_pages_recovery_ratio 42 sudo_echo 100 /sys/module/kvm/parameters/nx_huge_pages_recovery_period_ms 64 sudo_echo "$NX_HUGE_PAGES" /sys/module/kvm/parameters/nx_huge_pages 65 sudo_echo "$NX_HUGE_PAGES_RECOVERY_RATIO" /sys/module/kvm/parameters/nx_huge_pages_recovery_ratio 66 sudo_echo "$NX_HUGE_PAGES_RECOVERY_PERIOD" /sys/module/kvm/parameters/nx_huge_pages_recovery_period…
|
| /tools/testing/selftests/gpio/ |
| D | gpio-mockup.sh | 13 module="gpio-mockup" 43 echo "GPIO $module test SKIP" 54 GPIO_DEBUGFS=$DEBUGFS/$module 59 modprobe -r -q $module 73 echo "GPIO $module test FAIL" 79 modprobe -q $module "$1" || fail "insert $module failed with error $?" 295 log "GPIO $module test with ranges: <$ranges>:" 297 gpiochip=$(find "$DEBUGFS/$module/" -name gpiochip* -type d | sort) 357 remove_module || fail "can't remove existing $module module" 400 echo "GPIO $module test PASS"
|
| /tools/testing/kunit/android/ |
| D | README | 5 * If you want to run a vendor module KUnit tests, please run the tests with a 33 Load and run a test module on Android device manually 34 * Push the KUnit test framework module kunit.ko over to the device. For 39 * Load test module on device: 47 * Push the KUnit test module over to the device. For example using adb: 53 * Load test module on device: 110 1. Test module fails to load. 116 Check the test module dependency with `modinfo <module_name>.ko` on your local 118 All dependent modules need to be installed before the test module can be 121 Check if the module is already installed with `adb shell lsmod`. The `adb shell [all …]
|
| /tools/testing/selftests/splice/ |
| D | short_splice_read.sh | 127 if ! [ -d /sys/module/test_module/sections ] ; then 130 expect_success "kernfs attr splice" test_splice /sys/module/test_module/coresize 131 expect_success "kernfs binattr splice" test_splice /sys/module/test_module/sections/.init.text
|
| /tools/testing/selftests/hid/tests/ |
| D | conftest.py | 65 for module in modules.glob("*.ko"): 67 ["modinfo", module], capture_output=True, check=True, encoding="utf-8" 75 params.append([module.name.replace(".ko", ""), vid, pid])
|
| D | test_usb_crash.py | 83 self.module, self.vid, self.pid = usbVidPid 84 self._load_kernel_module(None, self.module)
|
| /tools/testing/selftests/bpf/progs/ |
| D | bpf_mod_race.c | 84 int BPF_PROG(fexit_init_module, struct module *mod, int ret) in BPF_PROG() 94 int BPF_PROG(fexit_module_get, const struct btf *btf, struct module *mod) in BPF_PROG()
|
| /tools/perf/util/ |
| D | probe-event.c | 154 const char *module; member 165 if (strncmp(short_name + 1, args->module, short_name_len - 2) == 0 && in kernel_get_module_map_cb() 166 args->module[short_name_len - 2] == '\0') { in kernel_get_module_map_cb() 173 static struct map *kernel_get_module_map(const char *module) in kernel_get_module_map() argument 176 .module = module, in kernel_get_module_map() 181 if (module && strchr(module, '/')) in kernel_get_module_map() 182 return dso__new_map(module); in kernel_get_module_map() 184 if (!module) { in kernel_get_module_map() 291 static char *find_module_name(const char *module) in find_module_name() argument 302 fd = open(module, O_RDONLY); in find_module_name() [all …]
|
| D | probe-event.h | 33 char *module; /* Module name */ member 175 const char *module, bool use_stdout); 177 int show_line_range(struct line_range *lr, const char *module, 181 int show_available_funcs(const char *module, struct nsinfo *nsi,
|
| D | python.c | 1270 PyObject *module = Py_InitModule("perf", perf__methods); in initperf() local 1283 PyObject *module = PyModule_Create(&moduledef); in initperf() local 1286 if (module == NULL || in initperf() 1295 return module; in initperf() 1302 PyModule_AddObject(module, "evlist", (PyObject*)&pyrf_evlist__type); in initperf() 1305 PyModule_AddObject(module, "evsel", (PyObject*)&pyrf_evsel__type); in initperf() 1308 PyModule_AddObject(module, "mmap_event", (PyObject *)&pyrf_mmap_event__type); in initperf() 1311 PyModule_AddObject(module, "lost_event", (PyObject *)&pyrf_lost_event__type); in initperf() 1314 PyModule_AddObject(module, "comm_event", (PyObject *)&pyrf_comm_event__type); in initperf() 1317 PyModule_AddObject(module, "task_event", (PyObject *)&pyrf_task_event__type); in initperf() [all …]
|
| /tools/testing/selftests/firmware/ |
| D | fw_lib.sh | 140 echo -n "$FWPATH" >/sys/module/firmware_class/parameters/path 197 printf '\000' >/sys/module/firmware_class/parameters/path 199 echo -n "$OLD_FWPATH" >/sys/module/firmware_class/parameters/path
|
| /tools/testing/selftests/lib/ |
| D | printf.sh | 4 $(dirname $0)/../kselftest/module.sh "printf" test_printf
|
| D | scanf.sh | 4 $(dirname $0)/../kselftest/module.sh "scanf" test_scanf
|
| D | bitmap.sh | 3 $(dirname $0)/../kselftest/module.sh "bitmap" test_bitmap
|
| D | prime_numbers.sh | 4 $(dirname $0)/../kselftest/module.sh "prime numbers" prime_numbers selftest=65536
|
| /tools/kvm/kvm_stat/ |
| D | kvm_stat.txt | 6 kvm_stat - Report KVM kernel module event counters 15 kvm_stat prints counts of KVM kernel module trace events. These events signify 25 The set of KVM kernel module trace events may be specific to the kernel version 26 or architecture. It is best to check the KVM kernel module source code for the
|
| D | kvm_stat.service | 4 Description=Service that logs KVM kernel module trace events
|
| /tools/testing/kunit/test_data/ |
| D | test_parse_attributes.log | 5 # module: example
|
| /tools/testing/selftests/kmod/ |
| D | config | 5 # For the module parameter force_init_test is used
|
| /tools/testing/selftests/cpufreq/ |
| D | Makefile | 5 TEST_FILES := cpu.sh cpufreq.sh governor.sh module.sh special-tests.sh
|
| /tools/include/linux/ |
| D | kallsyms.h | 11 struct module;
|
| /tools/testing/selftests/tc-testing/ |
| D | TODO.txt | 11 - Use python logger module for debug/verbose output 14 Maybe use python logger module for this too.
|
| /tools/objtool/include/objtool/ |
| D | builtin.h | 36 bool module; member
|
| /tools/perf/scripts/perl/Perf-Trace-Util/ |
| D | README | 4 This module contains utility functions for use with perf script. 37 module in the right place. 44 This module requires these other modules and libraries:
|