Home
last modified time | relevance | path

Searched refs:module_name (Results 1 – 9 of 9) sorted by relevance

/tools/testing/selftests/bpf/prog_tests/
Dbtf_module.c7 static const char *module_name = "bpf_testmod"; variable
24 module_btf = btf__load_module_btf(module_name, vmlinux_btf); in test_btf_module()
Dbtf_tag.c57 const char *module_name = "bpf_testmod"; in load_btfs() local
85 *module_btf = btf__load_module_btf(module_name, *vmlinux_btf); in load_btfs()
92 printf("%s:SKIP: btf_type_tag attribute not in %s", __func__, module_name); in load_btfs()
Dmodule_fentry_shadow.c9 static const char *module_name = "bpf_testmod"; variable
48 if (strcmp(name, module_name) == 0) in get_bpf_testmod_btf_fd()
/tools/testing/selftests/bpf/progs/
Dbpf_iter_ksym.c55 if (iter->module_name[0]) { in dump_ksym()
58 value, type, iter->name, iter->module_name); in dump_ksym()
/tools/testing/kunit/android/
DREADME116 Check the test module dependency with `modinfo <module_name>.ko` on your local
117 host machine or on the Android device with `adb shell modinfo <module_name.ko>`.
/tools/testing/selftests/kvm/lib/
Dkvm_util.c58 static ssize_t get_module_param(const char *module_name, const char *param, in get_module_param() argument
67 module_name, param); in get_module_param()
82 static int get_module_param_integer(const char *module_name, const char *param) in get_module_param_integer() argument
94 r = get_module_param(module_name, param, value, sizeof(value)); in get_module_param_integer()
106 static bool get_module_param_bool(const char *module_name, const char *param) in get_module_param_bool() argument
111 r = get_module_param(module_name, param, &value, sizeof(value)); in get_module_param_bool()
/tools/lib/bpf/
Dbtf.h140 LIBBPF_API struct btf *btf__load_module_btf(const char *module_name, struct btf *vmlinux_btf);
Dbtf.c5106 struct btf *btf__load_module_btf(const char *module_name, struct btf *vmlinux_btf) in btf__load_module_btf() argument
5110 snprintf(path, sizeof(path), "/sys/kernel/btf/%s", module_name); in btf__load_module_btf()
/tools/perf/util/
Dprobe-event.c355 char module_name[128]; in kernel_get_module_dso() local
357 snprintf(module_name, sizeof(module_name), "[%s]", module); in kernel_get_module_dso()
358 map = maps__find_by_name(machine__kernel_maps(host_machine), module_name); in kernel_get_module_dso()