Home
last modified time | relevance | path

Searched refs:symbol_name (Results 1 – 25 of 29) sorted by relevance

12

/Linux-v6.6/samples/kprobes/
Dkprobe_example.c24 .symbol_name = symbol,
32 p->symbol_name, p->addr, regs->ip, regs->flags); in handler_pre()
36 p->symbol_name, p->addr, regs->nip, regs->msr); in handler_pre()
40 p->symbol_name, p->addr, regs->cp0_epc, regs->cp0_status); in handler_pre()
44 p->symbol_name, p->addr, (long)regs->pc, (long)regs->pstate); in handler_pre()
48 p->symbol_name, p->addr, (long)regs->ARM_pc, (long)regs->ARM_cpsr); in handler_pre()
52 p->symbol_name, p->addr, regs->epc, regs->status); in handler_pre()
56 p->symbol_name, p->addr, regs->psw.addr, regs->flags); in handler_pre()
60 p->symbol_name, p->addr, regs->csr_era, regs->csr_estat); in handler_pre()
73 p->symbol_name, p->addr, regs->flags); in handler_post()
[all …]
Dkretprobe_example.c84 my_kretprobe.kp.symbol_name = func_name; in kretprobe_init()
91 my_kretprobe.kp.symbol_name, my_kretprobe.kp.addr); in kretprobe_init()
102 my_kretprobe.nmissed, my_kretprobe.kp.symbol_name); in kretprobe_exit()
/Linux-v6.6/tools/lib/symbol/
Dkallsyms.c52 char symbol_name[KSYM_NAME_LEN + 1]; in kallsyms__parse() local
63 for (i = 0; i < sizeof(symbol_name); i++) { in kallsyms__parse()
67 symbol_name[i] = ch; in kallsyms__parse()
69 symbol_name[i] = '\0'; in kallsyms__parse()
71 err = process_symbol(arg, symbol_name, symbol_type, start); in kallsyms__parse()
/Linux-v6.6/kernel/
Dfail_function.c62 attr->kp.symbol_name = kstrdup(sym, GFP_KERNEL); in fei_attr_new()
63 if (!attr->kp.symbol_name) { in fei_attr_new()
78 kfree(attr->kp.symbol_name); in fei_attr_free()
88 if (!strcmp(attr->kp.symbol_name, sym)) in fei_attr_lookup()
159 dir = debugfs_create_dir(attr->kp.symbol_name, fei_debugfs_dir); in fei_debugfs_add_attr()
166 debugfs_lookup_and_remove(attr->kp.symbol_name, fei_debugfs_dir); in fei_debugfs_remove_attr()
Dkprobes.c1446 _kprobe_addr(kprobe_opcode_t *addr, const char *symbol_name, in _kprobe_addr() argument
1449 if ((symbol_name && addr) || (!symbol_name && !addr)) in _kprobe_addr()
1452 if (symbol_name) { in _kprobe_addr()
1460 addr = kprobe_lookup_name(symbol_name, offset); in _kprobe_addr()
1490 return _kprobe_addr(p->addr, p->symbol_name, p->offset, &on_func_entry); in kprobe_addr()
1622 addr = _kprobe_addr(p->addr, p->symbol_name, p->offset, &on_func_entry); in register_kprobe()
2200 ret = kprobe_on_func_entry(rp->kp.addr, rp->kp.symbol_name, rp->kp.offset); in register_kretprobe()
2458 kp->symbol_name, kp->offset, kp->addr); in dump_kprobe()
/Linux-v6.6/lib/
Dtest_kprobes.c56 .symbol_name = "kprobe_target",
117 .symbol_name = "kprobe_target2",
150 .symbol_name = "kprobe_recursed_target",
196 .kp.symbol_name = "kprobe_target"
221 .kp.symbol_name = "kprobe_target2"
285 .kp.symbol_name = "kprobe_stacktrace_target"
346 .kp.symbol_name = "kprobe_stacktrace_internal_target"
/Linux-v6.6/tools/testing/selftests/bpf/prog_tests/
Dbtf_module.c8 static const char *symbol_name = "bpf_testmod_test_read"; variable
28 type_id = btf__find_by_name(module_btf, symbol_name); in test_btf_module()
Dmodule_fentry_shadow.c9 static const char *symbol_name = "bpf_fentry_shadow_test"; variable
85 btf_id[0] = btf__find_by_name_kind(vmlinux_btf, symbol_name, BTF_KIND_FUNC); in test_module_fentry_shadow()
89 btf_id[1] = btf__find_by_name_kind(mod_btf, symbol_name, BTF_KIND_FUNC); in test_module_fentry_shadow()
/Linux-v6.6/tools/perf/Documentation/
Dperf-kallsyms.txt11 'perf kallsyms' [<options>] symbol_name[,symbol_name...]
Dperf-annotate.txt11 'perf annotate' [-i <file> | --input=file] [symbol_name]
/Linux-v6.6/sound/pci/cs46xx/
Ddsp_spos.c145 if (!strcmp(module->symbol_table.symbols[0].symbol_name, "OVERLAYBEGINADDRESS") && in add_symbols()
160 module->symbol_table.symbols[i].symbol_name, in add_symbols()
176 module->symbol_table.symbols[i].symbol_name); */ in add_symbols()
185 add_symbol (struct snd_cs46xx * chip, char * symbol_name, u32 address, int type) in add_symbol() argument
197 symbol_name, in add_symbol()
200 "dsp_spos: symbol <%s> duplicated\n", symbol_name); in add_symbol()
206 strcpy (ins->symbol_table.symbols[index].symbol_name, symbol_name); in add_symbol()
445 cs46xx_dsp_lookup_symbol (struct snd_cs46xx * chip, char * symbol_name, int symbol_type) in cs46xx_dsp_lookup_symbol() argument
455 if (!strcmp(ins->symbol_table.symbols[i].symbol_name,symbol_name) && in cs46xx_dsp_lookup_symbol()
463 symbol_name,symbol_type); in cs46xx_dsp_lookup_symbol()
[all …]
Dcs46xx_dsp_spos.h55 char symbol_name[DSP_MAX_SYMBOL_NAME]; member
Dcs46xx_lib.h81 struct dsp_symbol_entry *cs46xx_dsp_lookup_symbol (struct snd_cs46xx * chip, char * symbol_name,
/Linux-v6.6/drivers/misc/lkdtm/
Dcore.c46 .symbol_name = (_symbol), \
170 if (!crashpoint->kprobe.symbol_name) { in lkdtm_register_cpoint()
184 crashpoint->kprobe.symbol_name); in lkdtm_register_cpoint()
/Linux-v6.6/tools/perf/jvmti/
Djvmti_agent.h22 int jvmti_write_code(void *agent, char const *symbol_name,
/Linux-v6.6/tools/perf/scripts/python/
Dexport-to-postgresql.py1017 def symbol_table(symbol_id, dso_id, sym_start, sym_end, binding, symbol_name, *x): argument
1018 symbol_name = toserverstr(symbol_name)
1019 n = len(symbol_name)
1021 … struct.pack(fmt, 6, 8, symbol_id, 8, dso_id, 8, sym_start, 8, sym_end, 4, binding, n, symbol_name)
/Linux-v6.6/arch/s390/lib/
Dtest_kprobes.c16 kp->symbol_name = symbol; in setup_kprobe()
/Linux-v6.6/tools/perf/util/
Devent.h362 const char *symbol_name, u64 *addr);
364 const char *symbol_name, u64 *addr);
Devent.c126 const char *symbol_name, u64 *addr) in kallsyms__get_function_start() argument
128 struct process_symbol_args args = { .name = symbol_name, }; in kallsyms__get_function_start()
138 const char *symbol_name, u64 *addr) in kallsyms__get_symbol_start() argument
140 struct process_symbol_args args = { .name = symbol_name, }; in kallsyms__get_symbol_start()
Dmap.h210 int map__set_kallsyms_ref_reloc_sym(struct map *map, const char *symbol_name,
Dmachine.c1191 const char **symbol_name, in machine__get_running_kernel_start() argument
1213 if (symbol_name) in machine__get_running_kernel_start()
1214 *symbol_name = name; in machine__get_running_kernel_start()
1838 const char *symbol_name = xm->name + strlen(mmap_name); in machine__process_kernel_mmap_event() local
1907 symbol_name, in machine__process_kernel_mmap_event()
/Linux-v6.6/tools/objtool/
Delf.c260 elf_hash_for_each_possible(symbol_name, sym, name_hash, str_hash(name)) { in find_symbol_by_name()
425 elf_hash_add(symbol_name, &sym->name_hash, str_hash(sym->name)); in elf_add_symbol()
462 !elf_alloc_hash(symbol_name, symbols_nr)) in read_symbols()
/Linux-v6.6/include/linux/
Dkprobes.h73 const char *symbol_name; member
/Linux-v6.6/kernel/trace/
Dtrace_kprobe.c224 tk->rp.kp.addr ? NULL : tk->rp.kp.symbol_name, in trace_kprobe_on_func_entry()
279 tk->rp.kp.symbol_name = tk->symbol; in alloc_trace_kprobe()
526 if (tk->rp.kp.symbol_name) in __unregister_trace_kprobe()
/Linux-v6.6/Documentation/trace/
Dkprobes.rst372 1. With the introduction of the "symbol_name" field to struct kprobe,
376 kp.symbol_name = "symbol_name";
385 3. Specify either the kprobe "symbol_name" OR the "addr". If both are

12