Home
last modified time | relevance | path

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

12

/linux-6.1.9/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()
69 p->symbol_name, p->addr, regs->flags); in handler_post()
73 p->symbol_name, p->addr, regs->msr); 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-6.1.9/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-6.1.9/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()
168 dir = debugfs_lookup(attr->kp.symbol_name, fei_debugfs_dir); in fei_debugfs_remove_attr()
Dkprobes.c1449 _kprobe_addr(kprobe_opcode_t *addr, const char *symbol_name, in _kprobe_addr() argument
1452 if ((symbol_name && addr) || (!symbol_name && !addr)) in _kprobe_addr()
1455 if (symbol_name) { in _kprobe_addr()
1463 addr = kprobe_lookup_name(symbol_name, offset); in _kprobe_addr()
1493 return _kprobe_addr(p->addr, p->symbol_name, p->offset, &on_func_entry); in kprobe_addr()
1613 addr = _kprobe_addr(p->addr, p->symbol_name, p->offset, &on_func_entry); in register_kprobe()
2190 ret = kprobe_on_func_entry(rp->kp.addr, rp->kp.symbol_name, rp->kp.offset); in register_kretprobe()
2450 kp->symbol_name, kp->offset, kp->addr); in dump_kprobe()
/linux-6.1.9/lib/
Dtest_kprobes.c46 .symbol_name = "kprobe_target",
107 .symbol_name = "kprobe_target2",
163 .kp.symbol_name = "kprobe_target"
188 .kp.symbol_name = "kprobe_target2"
252 .kp.symbol_name = "kprobe_stacktrace_target"
313 .kp.symbol_name = "kprobe_stacktrace_internal_target"
/linux-6.1.9/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()
/linux-6.1.9/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-6.1.9/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-6.1.9/tools/perf/jvmti/
Djvmti_agent.h22 int jvmti_write_code(void *agent, char const *symbol_name,
/linux-6.1.9/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-6.1.9/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-6.1.9/arch/s390/lib/
Dtest_kprobes.c16 kp->symbol_name = symbol; in setup_kprobe()
/linux-6.1.9/tools/perf/util/
Dmap.h137 int map__set_kallsyms_ref_reloc_sym(struct map *map, const char *symbol_name,
Devent.c114 const char *symbol_name, u64 *addr) in kallsyms__get_function_start() argument
116 struct process_symbol_args args = { .name = symbol_name, }; in kallsyms__get_function_start()
Devent.h483 const char *symbol_name, u64 *addr);
Dmachine.c1147 const char **symbol_name, in machine__get_running_kernel_start() argument
1169 if (symbol_name) in machine__get_running_kernel_start()
1170 *symbol_name = name; in machine__get_running_kernel_start()
1776 const char *symbol_name = xm->name + strlen(mmap_name); in machine__process_kernel_mmap_event() local
1842 symbol_name, in machine__process_kernel_mmap_event()
/linux-6.1.9/tools/objtool/
Delf.c243 elf_hash_for_each_possible(symbol_name, sym, name_hash, str_hash(name)) { in find_symbol_by_name()
397 elf_hash_add(symbol_name, &sym->name_hash, str_hash(sym->name)); in elf_add_symbol()
434 !elf_alloc_hash(symbol_name, symbols_nr)) in read_symbols()
/linux-6.1.9/include/linux/
Dkprobes.h73 const char *symbol_name; member
/linux-6.1.9/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-6.1.9/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
/linux-6.1.9/Documentation/livepatch/
Dmodule-elf-format.rst243 .klp.sym.objname.symbol_name,sympos

12