Searched refs:kmod (Results 1 – 9 of 9) sorted by relevance
/tools/perf/tests/ |
D | kmod-path.c | 10 static int test(const char *path, bool alloc_name, bool kmod, in test() argument 21 path, alloc_name, m.kmod, m.comp, m.name); in test() 23 TEST_ASSERT_VAL("wrong kmod", m.kmod == kmod); in test()
|
D | Build | 37 perf-y += kmod-path.o
|
/tools/testing/selftests/kmod/ |
D | Makefile | 7 TEST_PROGS := kmod.sh
|
D | kmod.sh | 118 if ! which kmod 2> /dev/null > /dev/null; then 129 KMOD_VERSION=$(kmod --version | awk '{print $3}')
|
/tools/perf/util/ |
D | dso.c | 273 return m.kmod; in is_kernel_module() 394 m->kmod = false; in __kmod_path__parse() 397 m->kmod = true; in __kmod_path__parse() 415 m->kmod = !strncmp(ext, ".ko", 3); in __kmod_path__parse() 418 if (m->kmod) { in __kmod_path__parse() 441 if (m->kmod && m->comp) { in dso__set_module_info()
|
D | symbol.c | 1694 static bool dso__is_compatible_symtab_type(struct dso *dso, bool kmod, in dso__is_compatible_symtab_type() argument 1706 return !kmod && dso->kernel == DSO_SPACE__USER; in dso__is_compatible_symtab_type() 1726 return kmod && dso->symtab_type == type; in dso__is_compatible_symtab_type() 1789 bool kmod; in dso__load() local 1813 kmod = dso->symtab_type == DSO_BINARY_TYPE__SYSTEM_PATH_KMODULE || in dso__load() 1818 if (dso->kernel && !kmod) { in dso__load() 1875 if (!dso__is_compatible_symtab_type(dso, kmod, symtab_type)) in dso__load() 1939 ret = dso__load_sym(dso, map, syms_ss, runtime_ss, kmod); in dso__load()
|
D | dso.h | 287 bool kmod; member
|
D | machine.c | 1437 if (m.kmod) in maps__set_modules_path_dir()
|
D | header.c | 2206 if (!kmod_path__parse_name(&m, filename) && m.kmod) in __event_process_build_id()
|