Home
last modified time | relevance | path

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

12

/openbmc/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()
73 p->symbol_name, p->addr, regs->flags); in handler_post()
77 p->symbol_name, p->addr, regs->msr); in handler_post()
81 p->symbol_name, p->addr, regs->cp0_status); in handler_post()
85 p->symbol_name, p->addr, (long)regs->pstate); in handler_post()
89 p->symbol_name, p->addr, (long)regs->ARM_cpsr); in handler_post()
93 p->symbol_name, p->addr, regs->status); in handler_post()
97 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()
/openbmc/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()
/openbmc/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.c1452 _kprobe_addr(kprobe_opcode_t *addr, const char *symbol_name, in _kprobe_addr() argument
1455 if ((symbol_name && addr) || (!symbol_name && !addr)) in _kprobe_addr()
1458 if (symbol_name) { in _kprobe_addr()
1466 addr = kprobe_lookup_name(symbol_name, offset); in _kprobe_addr()
1496 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()
2470 kp->symbol_name, kp->offset, kp->addr); in dump_kprobe()
/openbmc/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"
/openbmc/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.c9 static const char *symbol_name = "bpf_fentry_shadow_test"; variable
90 btf_id[0] = btf__find_by_name_kind(vmlinux_btf, symbol_name, BTF_KIND_FUNC); in test_module_fentry_shadow()
94 btf_id[1] = btf__find_by_name_kind(mod_btf, symbol_name, BTF_KIND_FUNC); in test_module_fentry_shadow()
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-graphics/directfb/directfb/
H A Dcompar_fn_t.patch55 symbol_name = bsearch( name, keynames,
60 if (symbol_name)
61 return symbol_name->symbol;
/openbmc/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]
/openbmc/linux/sound/pci/cs46xx/
H A Ddsp_spos.c160 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()
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()
515 ins->symbol_table.symbols[i].symbol_name, in cs46xx_dsp_proc_symbol_table_read()
597 ins->scbs[i].task_entry->symbol_name, in cs46xx_dsp_proc_scb_read()
[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,
/openbmc/linux/tools/perf/jvmti/
H A Djvmti_agent.h22 int jvmti_write_code(void *agent, char const *symbol_name,
/openbmc/linux/drivers/misc/lkdtm/
H A Dcore.c46 .symbol_name = (_symbol), \
170 if (!crashpoint->kprobe.symbol_name) { in lkdtm_register_cpoint()
184 crashpoint->kprobe.symbol_name); in lkdtm_register_cpoint()
/openbmc/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)
/openbmc/linux/arch/s390/lib/
H A Dtest_kprobes.c16 kp->symbol_name = symbol; in setup_kprobe()
/openbmc/linux/tools/perf/util/
H A Devent.h362 const char *symbol_name, u64 *addr);
364 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.h210 int map__set_kallsyms_ref_reloc_sym(struct map *map, const char *symbol_name,
/openbmc/linux/tools/objtool/
H A 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()
/openbmc/linux/include/linux/
H A Dkprobes.h73 const char *symbol_name; member
/openbmc/linux/kernel/trace/
H A 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()
/openbmc/linux/Documentation/trace/
H A 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