Home
last modified time | relevance | path

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

123

/tools/testing/selftests/kselftest/
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/gpio/
Dgpio-mockup.sh17 module=
49 GPIO_DRV_SYSFS=`echo $SYSFS/devices/platform/$module/gpio`
64 modprobe -q $module $1
66 echo $msg insmod $module failed >&2
74 modprobe -r -q $module
102 echo -n "GPIO $module test with ranges: <"
105 test_chips $module $valid
133 module=$2
151 if [ X"$module" = X ]; then
152 module="gpio-mockup"
/tools/testing/selftests/splice/
Dshort_splice_read.sh127 if ! [ -d /sys/module/test_module/sections ] ; then
130 expect_failure "kernfs attr splice" test_splice /sys/module/test_module/coresize
131 expect_failure "kernfs binattr splice" test_splice /sys/module/test_module/sections/.init.text
/tools/perf/util/
Dprobe-event.c151 static struct map *kernel_get_module_map(const char *module) in kernel_get_module_map() argument
157 if (module && strchr(module, '/')) in kernel_get_module_map()
158 return dso__new_map(module); in kernel_get_module_map()
160 if (!module) { in kernel_get_module_map()
167 if (strncmp(pos->dso->short_name + 1, module, in kernel_get_module_map()
169 module[pos->dso->short_name_len - 2] == '\0') { in kernel_get_module_map()
269 static char *find_module_name(const char *module) in find_module_name() argument
280 fd = open(module, O_RDONLY); in find_module_name()
325 static int kernel_get_module_dso(const char *module, struct dso **pdso) in kernel_get_module_dso() argument
332 if (module) { in kernel_get_module_dso()
[all …]
Dprobe-event.h32 char *module; /* Module name */ member
174 const char *module, bool use_stdout);
176 int show_line_range(struct line_range *lr, const char *module,
180 int show_available_funcs(const char *module, struct nsinfo *nsi,
Dpython.c1313 PyObject *module = Py_InitModule("perf", perf__methods); in initperf() local
1326 PyObject *module = PyModule_Create(&moduledef); in initperf() local
1329 if (module == NULL || in initperf()
1338 return module; in initperf()
1345 PyModule_AddObject(module, "evlist", (PyObject*)&pyrf_evlist__type); in initperf()
1348 PyModule_AddObject(module, "evsel", (PyObject*)&pyrf_evsel__type); in initperf()
1351 PyModule_AddObject(module, "mmap_event", (PyObject *)&pyrf_mmap_event__type); in initperf()
1354 PyModule_AddObject(module, "lost_event", (PyObject *)&pyrf_lost_event__type); in initperf()
1357 PyModule_AddObject(module, "comm_event", (PyObject *)&pyrf_comm_event__type); in initperf()
1360 PyModule_AddObject(module, "task_event", (PyObject *)&pyrf_task_event__type); in initperf()
[all …]
Dbpf-event.c342 char *module, *name; in kallsyms_process_symbol() local
346 module = strchr(_name, '\t'); in kallsyms_process_symbol()
347 if (!module) in kallsyms_process_symbol()
351 if (strcmp(module + 1, "[bpf]")) in kallsyms_process_symbol()
354 name = memdup(_name, (module - _name) + 1); in kallsyms_process_symbol()
358 name[module - _name] = 0; in kallsyms_process_symbol()
/tools/testing/selftests/firmware/
Dfw_lib.sh127 echo -n "$FWPATH" >/sys/module/firmware_class/parameters/path
184 printf '\000' >/sys/module/firmware_class/parameters/path
186 echo -n "$OLD_FWPATH" >/sys/module/firmware_class/parameters/path
/tools/objtool/
Dbuiltin-check.c21 bool no_fp, no_unreachable, retpoline, module, backtrace, uaccess, stats, variable
35 OPT_BOOLEAN('m', "module", &module, "Indicates the object will be part of a kernel module"),
Dbuiltin.h11 extern bool no_fp, no_unreachable, retpoline, module, backtrace, uaccess, stats,
/tools/testing/selftests/lib/
Dbitmap.sh3 $(dirname $0)/../kselftest/module.sh "bitmap" test_bitmap
Dprintf.sh4 $(dirname $0)/../kselftest/module.sh "printf" test_printf
Dstrscpy.sh3 $(dirname $0)/../kselftest/module.sh "strscpy*" test_strscpy
Dprime_numbers.sh4 $(dirname $0)/../kselftest/module.sh "prime numbers" prime_numbers selftest=65536
/tools/kvm/kvm_stat/
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
Dkvm_stat.service4 Description=Service that logs KVM kernel module trace events
/tools/testing/selftests/kmod/
Dconfig5 # For the module parameter force_init_test is used
/tools/testing/selftests/cpufreq/
DMakefile5 TEST_FILES := cpu.sh cpufreq.sh governor.sh module.sh special-tests.sh
Dmain.sh7 source module.sh
/tools/include/linux/
Dkallsyms.h11 struct module;
/tools/testing/selftests/tc-testing/
DTODO.txt11 - Use python logger module for debug/verbose output
14 Maybe use python logger module for this too.
/tools/perf/scripts/perl/Perf-Trace-Util/
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/testing/selftests/pstore/
Dcommon_tests77 backend=`cat /sys/module/pstore/parameters/backend`
/tools/perf/Documentation/
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/bpf/progs/
Dstrobemeta.h265 uint64_t module; member
319 if (tls_index.module > 0) { in calc_location()
323 dtv += tls_index.module; in calc_location()

123