Home
last modified time | relevance | path

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

12

/linux/samples/kprobes/
H A 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 …]
H A 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/tools/lib/symbol/
H A 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/kernel/
H A 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()
H A Dkprobes.c1451 _kprobe_addr(kprobe_opcode_t *addr, const char *symbol_name, in _kprobe_addr() argument
1454 if ((symbol_name && addr) || (!symbol_name && !addr)) in _kprobe_addr()
1457 if (symbol_name) { in _kprobe_addr()
1465 addr = kprobe_lookup_name(symbol_name, offset); in _kprobe_addr()
1495 return _kprobe_addr(p->addr, p->symbol_name, p->offset, &on_func_entry); in kprobe_addr()
1634 addr = _kprobe_addr(p->addr, p->symbol_name, p->offset, &on_func_entry); in register_kprobe()
2212 ret = kprobe_on_func_entry(rp->kp.addr, rp->kp.symbol_name, rp->kp.offset); in register_kretprobe()
2457 kp->symbol_name, kp->offset, kp->addr); in dump_kprobe()
/linux/lib/
H A 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/tools/testing/selftests/bpf/prog_tests/
H A 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()
H A Dmodule_fentry_shadow.c10 static const char *symbol_name = "bpf_fentry_shadow_test"; variable
91 btf_id[0] = btf__find_by_name_kind(vmlinux_btf, symbol_name, BTF_KIND_FUNC); in test_module_fentry_shadow()
95 btf_id[1] = btf__find_by_name_kind(mod_btf, symbol_name, BTF_KIND_FUNC); in test_module_fentry_shadow()
/linux/tools/perf/Documentation/
H A Dperf-kallsyms.txt11 'perf kallsyms' [<options>] symbol_name[,symbol_name...]
H A Dperf-annotate.txt11 'perf annotate' [-i <file> | --input=file] [symbol_name]
/linux/sound/pci/cs46xx/
H A 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 …]
H A Dcs46xx_dsp_spos.h55 char symbol_name[DSP_MAX_SYMBOL_NAME]; member
H A Dcs46xx_lib.h81 struct dsp_symbol_entry *cs46xx_dsp_lookup_symbol (struct snd_cs46xx * chip, char * symbol_name,
/linux/drivers/misc/lkdtm/
H A Dcore.c46 .symbol_name = (_symbol), \
175 if (!crashpoint->kprobe.symbol_name) in lkdtm_register_cpoint()
187 crashpoint->kprobe.symbol_name); in lkdtm_register_cpoint()
/linux/tools/perf/jvmti/
H A Djvmti_agent.h22 int jvmti_write_code(void *agent, char const *symbol_name,
/linux/tools/perf/scripts/python/
H A 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/arch/s390/lib/
H A Dtest_kprobes.c16 kp->symbol_name = symbol; in setup_kprobe()
/linux/tools/perf/util/
H A Devent.h366 const char *symbol_name, u64 *addr);
368 const char *symbol_name, u64 *addr);
H A 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()
H A Dmap.h219 int map__set_kallsyms_ref_reloc_sym(struct map *map, const char *symbol_name,
H A Dmachine.c975 const char **symbol_name, in machine__get_running_kernel_start() argument
997 if (symbol_name) in machine__get_running_kernel_start()
998 *symbol_name = name; in machine__get_running_kernel_start()
1636 const char *symbol_name = xm->name + strlen(mmap_name); in machine__process_kernel_mmap_event() local
1672 symbol_name, in machine__process_kernel_mmap_event()
/linux/tools/objtool/
H A Delf.c258 elf_hash_for_each_possible(symbol_name, sym, name_hash, str_hash(name)) { in find_symbol_by_name()
423 elf_hash_add(symbol_name, &sym->name_hash, str_hash(sym->name)); in elf_add_symbol()
460 !elf_alloc_hash(symbol_name, symbols_nr)) in read_symbols()
/linux/include/linux/
H A Dkprobes.h72 const char *symbol_name; member
/linux/kernel/trace/
H A Dtrace_kprobe.c231 tk->rp.kp.addr ? NULL : tk->rp.kp.symbol_name, in trace_kprobe_on_func_entry()
286 tk->rp.kp.symbol_name = tk->symbol; in alloc_trace_kprobe()
533 if (tk->rp.kp.symbol_name) in __unregister_trace_kprobe()
/linux/Documentation/trace/
H A Dkprobes.rst373 1. With the introduction of the "symbol_name" field to struct kprobe,
377 kp.symbol_name = "symbol_name";
386 3. Specify either the kprobe "symbol_name" OR the "addr". If both are

12