Home
last modified time | relevance | path

Searched refs:symbol (Results 1 – 25 of 120) sorted by relevance

12345

/tools/perf/util/
Dsymbol.h47 struct symbol { struct
62 void symbol__delete(struct symbol *sym); argument
73 nd && (pos = rb_entry(nd, struct symbol, rb_node)); \
76 static inline size_t symbol__size(const struct symbol *sym) in symbol__size()
86 struct symbol sym;
99 static inline void *symbol__priv(struct symbol *sym) in symbol__priv()
114 struct symbol *sym;
133 struct symbol *sym);
135 struct symbol *sym);
137 struct symbol *dso__find_symbol(struct dso *dso, u64 addr);
[all …]
Dsrcline.h10 struct symbol;
13 char *get_srcline(struct dso *dso, u64 addr, struct symbol *sym,
15 char *__get_srcline(struct dso *dso, u64 addr, struct symbol *sym,
31 struct symbol *symbol; member
44 struct symbol *sym);
Dsymbol_fprintf.c10 size_t symbol__fprintf(struct symbol *sym, FILE *fp) in symbol__fprintf()
19 size_t __symbol__fprintf_symname_offs(const struct symbol *sym, in __symbol__fprintf_symname_offs()
43 size_t symbol__fprintf_symname_offs(const struct symbol *sym, in symbol__fprintf_symname_offs()
50 size_t __symbol__fprintf_symname(const struct symbol *sym, in __symbol__fprintf_symname()
57 size_t symbol__fprintf_symname(const struct symbol *sym, FILE *fp) in symbol__fprintf_symname()
Dsymbol.c120 int __weak arch__choose_best_symbol(struct symbol *syma, in arch__choose_best_symbol()
121 struct symbol *symb __maybe_unused) in arch__choose_best_symbol()
132 static int choose_best_symbol(struct symbol *syma, struct symbol *symb) in choose_best_symbol()
184 struct symbol *curr, *next; in symbols__fixup_duplicate()
192 curr = rb_entry(nd, struct symbol, rb_node); in symbols__fixup_duplicate()
195 next = rb_entry(nd, struct symbol, rb_node); in symbols__fixup_duplicate()
219 struct symbol *curr, *prev; in symbols__fixup_end()
224 curr = rb_entry(prevnd, struct symbol, rb_node); in symbols__fixup_end()
228 curr = rb_entry(nd, struct symbol, rb_node); in symbols__fixup_end()
283 struct symbol *symbol__new(u64 start, u64 len, u8 binding, u8 type, const char *name) in symbol__new()
[all …]
Dsrcline.c39 static int inline_list__append(struct symbol *symbol, char *srcline, in inline_list__append() argument
48 ilist->symbol = symbol; in inline_list__append()
83 static struct symbol *new_inline_sym(struct dso *dso, in new_inline_sym()
84 struct symbol *base_sym, in new_inline_sym()
87 struct symbol *inline_sym; in new_inline_sym()
280 struct symbol *sym) in inline_list__append_dso_a2l()
283 struct symbol *inline_sym = new_inline_sym(dso, sym, a2l->funcname); in inline_list__append_dso_a2l()
295 struct symbol *sym) in addr2line()
365 struct dso *dso, struct symbol *sym) in addr2inlines()
410 struct symbol *sym __maybe_unused) in addr2line()
[all …]
Dannotate.h25 struct symbol;
39 struct symbol *sym;
200 bool disasm_line__is_valid_local_jump(struct disasm_line *dl, struct symbol *sym);
228 void symbol__calc_percent(struct symbol *sym, struct evsel *evsel);
322 void annotation__mark_jump_targets(struct annotation *notes, struct symbol *sym);
324 void annotation__init_column_widths(struct annotation *notes, struct symbol *sym);
336 static inline struct annotation *symbol__annotation(struct symbol *sym) in symbol__annotation()
351 struct annotated_source *symbol__hists(struct symbol *sym, int nr_hists);
352 void symbol__annotate_zero_histograms(struct symbol *sym);
389 void symbol__annotate_zero_histogram(struct symbol *sym, int evidx);
[all …]
Dmap_symbol.h9 struct symbol;
14 struct symbol *sym;
Dcall-path.h30 struct symbol *sym;
66 struct symbol *sym, u64 ip, u64 ks);
Dblock-range.h9 struct symbol;
25 struct symbol *sym;
Dcall-path.c15 struct symbol *sym, u64 ip, bool in_kernel) in call_path__init()
51 struct symbol *sym, u64 ip, in call_path__new()
79 struct symbol *sym, u64 ip, u64 ks) in call_path__findnew()
/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/
DEventClass.py26 def create_event(name, comm, dso, symbol, raw_buf): argument
28 event = PebsEvent(name, comm, dso, symbol, raw_buf)
30 event = PebsNHM(name, comm, dso, symbol, raw_buf)
32 event = PerfEvent(name, comm, dso, symbol, raw_buf)
38 def __init__(self, name, comm, dso, symbol, raw_buf, ev_type=EVTYPE_GENERIC): argument
42 self.symbol = symbol
49 (self.name, self.symbol, self.comm, self.dso))
58 def __init__(self, name, comm, dso, symbol, raw_buf, ev_type=EVTYPE_PEBS): argument
72 PerfEvent.__init__(self, name, comm, dso, symbol, raw_buf, ev_type)
87 def __init__(self, name, comm, dso, symbol, raw_buf, ev_type=EVTYPE_PEBS_LL): argument
[all …]
/tools/perf/
Dbuiltin-kallsyms.c31 struct symbol *symbol = machine__find_kernel_symbol_by_name(machine, argv[i], &map); in __cmd_kallsyms() local
33 if (symbol == NULL) { in __cmd_kallsyms()
39 symbol->name, map->dso->short_name, map->dso->long_name, in __cmd_kallsyms()
40 map->unmap_ip(map, symbol->start), map->unmap_ip(map, symbol->end), in __cmd_kallsyms()
41 symbol->start, symbol->end); in __cmd_kallsyms()
DMANIFEST16 tools/lib/symbol/kallsyms.c
17 tools/lib/symbol/kallsyms.h
/tools/perf/scripts/python/
Dintel-pt-events.py182 def print_common_ip(param_dict, sample, symbol, dso): argument
203 print("%s%s (%s)" % (symbol, offs, dso), end=' ')
205 print("%16x %s%s (%s)" % (ip, symbol, offs, dso), end=' ')
209 symbol = get_optional(sample, "addr_symbol")
211 print("=> %x %s%s (%s)%s" % (addr, symbol, offs, dso, ipc_str))
215 def print_srccode(comm, param_dict, sample, symbol, dso, with_insn): argument
217 if symbol == "[unknown]":
221 start_str = common_start_str(comm, sample) + (symbol + offs).ljust(40)
271 symbol = get_optional(param_dict, "symbol")
280 print_srccode(comm, param_dict, sample, symbol, dso, True)
[all …]
Devent_analyzing_sample.py87 symbol = param_dict["symbol"]
89 symbol = "Unknown_symbol"
92 event = create_event(name, comm, dso, symbol, raw_buf)
98 (event.name, event.symbol, event.comm, event.dso))
103 (event.name, event.symbol, event.comm, event.dso, event.flags,
/tools/objtool/include/objtool/
Delf.h37 struct symbol *sym;
44 struct symbol { struct
56 struct symbol *pfunc, *cfunc, *alias; argument
74 struct symbol *sym; argument
139 unsigned int type, struct symbol *sym, s64 addend);
152 struct symbol *find_func_by_offset(struct section *sec, unsigned long offset);
153 struct symbol *find_symbol_by_offset(struct section *sec, unsigned long offset);
154 struct symbol *find_symbol_by_name(const struct elf *elf, const char *name);
155 struct symbol *find_symbol_containing(const struct section *sec, unsigned long offset);
159 struct symbol *find_func_containing(struct section *sec, unsigned long offset);
Darch.h90 bool arch_is_retpoline(struct symbol *sym);
91 bool arch_is_rethunk(struct symbol *sym);
92 bool arch_is_embedded_insn(struct symbol *sym);
/tools/include/linux/
Dbtf_ids.h27 #define ____BTF_ID(symbol) \ argument
30 ".local " #symbol " ; \n" \
31 ".type " #symbol ", STT_OBJECT; \n" \
32 ".size " #symbol ", 4; \n" \
33 #symbol ": \n" \
37 #define __BTF_ID(symbol) \ argument
38 ____BTF_ID(symbol)
/tools/perf/ui/browsers/
Dmap.c27 struct symbol *sym = rb_entry(nd, struct symbol, rb_node); in map_browser__write()
43 static u32 *symbol__browser_index(struct symbol *browser) in symbol__browser_index()
51 struct symbol *sym; in map_browser__search()
121 struct symbol *pos = rb_entry(nd, struct symbol, rb_node); in map__browse()
/tools/perf/arch/powerpc/util/
Dsym-handling.c13 int arch__choose_best_symbol(struct symbol *syma, in arch__choose_best_symbol()
14 struct symbol *symb __maybe_unused) in arch__choose_best_symbol()
70 void arch__sym_update(struct symbol *s, GElf_Sym *sym) in arch__sym_update()
80 struct symbol *sym) in arch__fix_tev_from_maps()
123 struct symbol *sym = NULL; in arch__post_process_probe_trace_events()
/tools/build/feature/
Dtest-libbfd.c8 char symbol[4096] = "FieldName__9ClassNameFd"; in main() local
11 tmp = bfd_demangle(0, symbol, 0); in main()
Dtest-cplus-demangle.c7 char symbol[4096] = "FieldName__9ClassNameFd"; in main() local
10 tmp = cplus_demangle(symbol, 0); in main()
/tools/perf/Documentation/
Dperf-kallsyms.txt15 This command searches the running kernel kallsyms file for the given symbol(s)
17 addresses and the addresses in the ELF kallsyms symbol table (for symbols in
24 Increase verbosity level, showing details about symbol table loading, etc.
/tools/objtool/
Delf.c55 struct symbol *sa = rb_entry(a, struct symbol, node); in symbol_to_offset()
56 struct symbol *sb = rb_entry(b, struct symbol, node); in symbol_to_offset()
75 const struct symbol *s = rb_entry(node, struct symbol, node); in symbol_by_offset()
111 static struct symbol *find_symbol_by_index(struct elf *elf, unsigned int idx) in find_symbol_by_index()
113 struct symbol *sym; in find_symbol_by_index()
115 elf_hash_for_each_possible(symbol, sym, hash, idx) { in find_symbol_by_index()
123 struct symbol *find_symbol_by_offset(struct section *sec, unsigned long offset) in find_symbol_by_offset()
128 struct symbol *s = rb_entry(node, struct symbol, node); in find_symbol_by_offset()
137 struct symbol *find_func_by_offset(struct section *sec, unsigned long offset) in find_func_by_offset()
142 struct symbol *s = rb_entry(node, struct symbol, node); in find_func_by_offset()
[all …]
/tools/perf/tests/
Ddwarf-unwind.c76 char *symbol = entry->ms.sym ? entry->ms.sym->name : NULL; in unwind_entry() local
99 if (!symbol) { in unwind_entry()
107 symbol, entry->ip, funcs[idx]); in unwind_entry()
108 return strcmp((const char *) symbol, funcs[idx]); in unwind_entry()

12345