Home
last modified time | relevance | path

Searched refs:mod (Results 1 – 16 of 16) sorted by relevance

/tools/testing/selftests/livepatch/
Dfunctions.sh69 local mod="$1"
71 modprobe --dry-run "$mod" &>/dev/null
75 local mod="$1"
77 if [[ $(modinfo "$mod" | awk '/^livepatch:/{print $NF}') == "Y" ]]; then
85 local mod="$1"; shift
87 local msg="% modprobe $mod $*"
89 ret=$(modprobe "$mod" "$@" 2>&1)
96 die "failed to load module $mod"
104 local mod="$1"; shift
106 assert_mod "$mod" ||
[all …]
/tools/perf/arch/powerpc/util/
Dskip-callchain-idx.c97 static Dwarf_Frame *get_eh_frame(Dwfl_Module *mod, Dwarf_Addr pc) in get_eh_frame() argument
104 cfi = dwfl_module_eh_cfi(mod, &bias); in get_eh_frame()
122 static Dwarf_Frame *get_dwarf_frame(Dwfl_Module *mod, Dwarf_Addr pc) in get_dwarf_frame() argument
129 cfi = dwfl_module_dwarf_cfi(mod, &bias); in get_dwarf_frame()
156 Dwfl_Module *mod; in check_return_addr() local
173 mod = dwfl_report_elf(dwfl, exec_file, exec_file, -1, in check_return_addr()
175 if (!mod) { in check_return_addr()
189 mod = dwfl_addrmodule(dwfl, pc); in check_return_addr()
190 if (!mod) { in check_return_addr()
199 frame = get_eh_frame(mod, pc); in check_return_addr()
[all …]
/tools/perf/util/
Dunwind-libdw.c23 static int __find_debuginfo(Dwfl_Module *mod __maybe_unused, void **userdata, in __find_debuginfo()
46 Dwfl_Module *mod; in __report_module() local
60 mod = dwfl_addrmodule(ui->dwfl, ip); in __report_module()
61 if (mod) { in __report_module()
64 dwfl_module_info(mod, NULL, &s, NULL, NULL, NULL, NULL, NULL); in __report_module()
66 mod = 0; in __report_module()
69 if (!mod) in __report_module()
70 mod = dwfl_report_elf(ui->dwfl, dso->short_name, dso->long_name, -1, in __report_module()
72 if (!mod) { in __report_module()
76 mod = dwfl_report_elf(ui->dwfl, dso->short_name, filename, -1, in __report_module()
[all …]
Dprobe-finder.h32 Dwfl_Module *mod; member
94 Dwfl_Module *mod; /* For solving symbols */ member
102 Dwfl_Module *mod; /* For solving symbols */ member
Dparse-events.c1606 static int get_event_modifier(struct event_modifier *mod, char *str, in get_event_modifier() argument
1624 memset(mod, 0, sizeof(*mod)); in get_event_modifier()
1681 mod->eu = eu; in get_event_modifier()
1682 mod->ek = ek; in get_event_modifier()
1683 mod->eh = eh; in get_event_modifier()
1684 mod->eH = eH; in get_event_modifier()
1685 mod->eG = eG; in get_event_modifier()
1686 mod->eI = eI; in get_event_modifier()
1687 mod->precise = precise; in get_event_modifier()
1688 mod->precise_max = precise_max; in get_event_modifier()
[all …]
Dprobe-finder.c65 dbg->mod = dwfl_report_offline(dbg->dwfl, "", "", fd); in debuginfo__init_offline_dwarf()
66 if (!dbg->mod) in debuginfo__init_offline_dwarf()
69 dbg->dbg = dwfl_module_getdwarf(dbg->mod, &dbg->bias); in debuginfo__init_offline_dwarf()
603 static int convert_to_trace_point(Dwarf_Die *sp_die, Dwfl_Module *mod, in convert_to_trace_point() argument
624 symbol = dwfl_module_addrsym(mod, paddr, &sym, NULL); in convert_to_trace_point()
1295 ret = convert_to_trace_point(&pf->sp_die, tf->mod, pf->addr, in add_probe_trace_event()
1353 .max_tevs = probe_conf.max_probes, .mod = dbg->mod}; in debuginfo__find_trace_events()
1475 ret = convert_to_trace_point(&pf->sp_die, af->mod, pf->addr, in add_available_vars()
1517 .mod = dbg->mod, in debuginfo__find_available_vars_at()
1554 elf = dwfl_module_getelf(dbg->mod, &dbg->bias); in debuginfo__get_text_offset()
[all …]
Devsel.c402 #define MOD_PRINT(context, mod) do { \ in perf_evsel__add_modifiers() argument
405 r += scnprintf(bf + r, size - r, "%c", mod); \ in perf_evsel__add_modifiers()
/tools/virtio/
DMakefile2 all: test mod
9 mod: target
11 .PHONY: all test mod clean
/tools/arch/x86/lib/
Dinsn.c290 insn_byte_t pfx_id, mod; in insn_get_modrm() local
297 mod = get_next(insn_byte_t, insn); in insn_get_modrm()
298 modrm->value = mod; in insn_get_modrm()
302 insn->attr = inat_get_group_attribute(mod, pfx_id, in insn_get_modrm()
380 insn_byte_t mod, rm, base; in insn_get_displacement() local
404 mod = X86_MODRM_MOD(insn->modrm.value); in insn_get_displacement()
407 if (mod == 3) in insn_get_displacement()
409 if (mod == 1) { in insn_get_displacement()
413 if ((mod == 0 && rm == 6) || mod == 2) { in insn_get_displacement()
419 if ((mod == 0 && rm == 5) || mod == 2 || in insn_get_displacement()
[all …]
/tools/power/cpupower/debug/kernel/
DMakefile15 - rm -rf *.o *.ko .*.cmd .*.mod.* *.mod.c
/tools/iio/
Diio_event_monitor.c127 enum iio_modifier mod = IIO_EVENT_CODE_EXTRACT_MODIFIER(event->id); in event_is_known() local
169 switch (mod) { in event_is_known()
247 enum iio_modifier mod = IIO_EVENT_CODE_EXTRACT_MODIFIER(event->id); in print_event() local
264 if (mod != IIO_NO_MOD) in print_event()
265 printf("(%s)", iio_modifier_names[mod]); in print_event()
/tools/testing/selftests/net/
Dreuseport_bpf.c94 static void attach_ebpf(int fd, uint16_t mod) in attach_ebpf() argument
106 { BPF_ALU64 | BPF_MOD | BPF_K, BPF_REG_0, 0, 0, mod }, in attach_ebpf()
133 static void attach_cbpf(int fd, uint16_t mod) in attach_cbpf() argument
139 { BPF_ALU | BPF_MOD, 0, 0, mod }, in attach_cbpf()
152 static void build_recv_group(const struct test_params p, int fd[], uint16_t mod, in build_recv_group() argument
170 attach_bpf(fd[i], mod); in build_recv_group()
213 static void test_recv_order(const struct test_params p, int fd[], int mod) in test_recv_order() argument
267 expected = (sport % mod); in test_recv_order()
/tools/arch/x86/tools/
Dgen-insn-attr-x86.awk239 function convert_operands(count,opnd, i,j,imm,mod)
242 mod = null
255 mod = "INAT_MODRM"
257 return add_flags(imm, mod)
/tools/lib/traceevent/
Devent-parse.c399 char *mod; member
406 char *mod; member
460 func_map[i].mod = funclist->mod; in func_map_init()
474 func_map[tep->func_count].mod = NULL; in func_map_init()
553 map->mod = NULL; in find_func()
556 &map->addr, &map->mod); in find_func()
615 unsigned long long addr, char *mod) in tep_register_function() argument
627 if (mod) { in tep_register_function()
628 item->mod = strdup(mod); in tep_register_function()
629 if (!item->mod) in tep_register_function()
[all …]
Devent-parse.h439 unsigned long long addr, char *mod);
/tools/bpf/
Dbpf_exp.y106 | mod
383 mod