Home
last modified time | relevance | path

Searched refs:module (Results 1 – 25 of 65) sorted by relevance

123

/tools/testing/selftests/kselftest/
A Dmodule.sh17 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/
A Dnx_huge_pages_test.sh11 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/
A Dgpio-mockup.sh13 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/selftests/splice/
A Dshort_splice_read.sh127 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/
A Dconftest.py65 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])
A Dtest_usb_crash.py83 self.module, self.vid, self.pid = usbVidPid
84 self._load_kernel_module(None, self.module)
/tools/testing/selftests/bpf/progs/
A Dbpf_mod_race.c84 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/
A Dprobe-event.c161 const char *module; member
183 .module = module, in kernel_get_module_map()
188 if (module && strchr(module, '/')) in kernel_get_module_map()
191 if (!module) { in kernel_get_module_map()
361 if (module) { in kernel_get_module_dso()
548 if (!module || !strchr(module, '/')) { in open_debuginfo()
561 if (module) in open_debuginfo()
593 if (!module) in debuginfo_cache__open()
813 if (!module) in post_process_module_probe_trace_events()
914 else if (module) in post_process_probe_trace_events()
[all …]
A Dprobe-event.h33 char *module; /* Module name */ member
173 const char *module, bool use_stdout);
175 int show_line_range(struct line_range *lr, const char *module,
179 int show_available_funcs(const char *module, struct nsinfo *nsi,
A Dpython.c1723 PyObject *module = PyModule_Create(&moduledef); in PyInit_perf() local
1725 if (module == NULL || in PyInit_perf()
1732 return module; in PyInit_perf()
1738 PyModule_AddObject(module, "evlist", (PyObject*)&pyrf_evlist__type); in PyInit_perf()
1741 PyModule_AddObject(module, "evsel", (PyObject*)&pyrf_evsel__type); in PyInit_perf()
1744 PyModule_AddObject(module, "mmap_event", (PyObject *)&pyrf_mmap_event__type); in PyInit_perf()
1747 PyModule_AddObject(module, "lost_event", (PyObject *)&pyrf_lost_event__type); in PyInit_perf()
1771 PyModule_AddObject(module, "thread_map", (PyObject*)&pyrf_thread_map__type); in PyInit_perf()
1774 PyModule_AddObject(module, "cpu_map", (PyObject*)&pyrf_cpu_map__type); in PyInit_perf()
1779 dict = PyModule_GetDict(module); in PyInit_perf()
[all …]
/tools/testing/selftests/firmware/
A Dfw_lib.sh140 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/
A Dbitmap.sh3 $(dirname $0)/../kselftest/module.sh "bitmap" test_bitmap
/tools/kvm/kvm_stat/
A Dkvm_stat.txt6 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
A Dkvm_stat.service4 Description=Service that logs KVM kernel module trace events
/tools/testing/kunit/test_data/
A Dtest_parse_attributes.log5 # module: example
/tools/include/linux/
A Dkallsyms.h11 struct module;
/tools/testing/selftests/cpufreq/
A DMakefile5 TEST_FILES := cpu.sh cpufreq.sh governor.sh module.sh special-tests.sh
/tools/testing/selftests/ftrace/test.d/event/
A Devent-mod.tc70 echo disable just the module events
79 echo Confirm the module events are disabled
129 echo make sure that the module shows up, and '-' is converted to '_'
/tools/testing/selftests/tc-testing/
A DTODO.txt11 - Use python logger module for debug/verbose output
14 Maybe use python logger module for this too.
/tools/objtool/include/objtool/
A Dbuiltin.h35 bool module; member
/tools/perf/scripts/perl/Perf-Trace-Util/
A DREADME4 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:
/tools/bpf/bpftool/
A Dxlated_dumper.h15 char module[MODULE_MAX_NAME]; member
/tools/perf/Documentation/
A Dguest-files.txt9 kernel module information. Users copy it out from guest OS.
A Dsecurity.txt167 policy module extending base policy settings. Perf related policy module can
174 module my-perf 1.0;
184 Now compile, pack and load my-perf.pp extension module into the kernel:
208 The generated perf-event.pp related policy extension module can be removed
213 Alternatively the module can be temporarily disabled and enabled back using
/tools/testing/selftests/pstore/
A Dcommon_tests77 backend=`cat /sys/module/pstore/parameters/backend`

Completed in 31 milliseconds

123