Home
last modified time | relevance | path

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

12345

/tools/perf/util/
Dsymbol.h45 struct symbol { struct
60 void symbol__delete(struct symbol *sym); argument
71 nd && (pos = rb_entry(nd, struct symbol, rb_node)); \
74 static inline size_t symbol__size(const struct symbol *sym) in symbol__size()
84 struct symbol sym;
97 static inline void *symbol__priv(struct symbol *sym) in symbol__priv()
109 struct symbol *sym;
123 struct symbol *sym;
142 struct symbol *sym);
144 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);
Dannotate.h24 struct symbol;
37 struct symbol *sym;
196 bool disasm_line__is_valid_local_jump(struct disasm_line *dl, struct symbol *sym);
224 void symbol__calc_percent(struct symbol *sym, struct evsel *evsel);
318 void annotation__mark_jump_targets(struct annotation *notes, struct symbol *sym);
320 void annotation__init_column_widths(struct annotation *notes, struct symbol *sym);
332 static inline struct annotation *symbol__annotation(struct symbol *sym) in symbol__annotation()
347 struct annotated_source *symbol__hists(struct symbol *sym, int nr_hists);
348 void symbol__annotate_zero_histograms(struct symbol *sym);
350 int symbol__annotate(struct symbol *sym, struct map *map,
[all …]
Dmap_symbol.h8 struct symbol;
12 struct symbol *sym;
17 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()
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 …]
Dsymbol.c104 void __weak arch__symbols__fixup_end(struct symbol *p, struct symbol *c) in arch__symbols__fixup_end()
125 int __weak arch__choose_best_symbol(struct symbol *syma, in arch__choose_best_symbol()
126 struct symbol *symb __maybe_unused) in arch__choose_best_symbol()
137 static int choose_best_symbol(struct symbol *syma, struct symbol *symb) in choose_best_symbol()
189 struct symbol *curr, *next; in symbols__fixup_duplicate()
197 curr = rb_entry(nd, struct symbol, rb_node); in symbols__fixup_duplicate()
200 next = rb_entry(nd, struct symbol, rb_node); in symbols__fixup_duplicate()
223 struct symbol *curr, *prev; in symbols__fixup_end()
228 curr = rb_entry(prevnd, struct symbol, rb_node); in symbols__fixup_end()
232 curr = rb_entry(nd, struct symbol, rb_node); in symbols__fixup_end()
[all …]
Dcall-path.h30 struct symbol *sym;
66 struct symbol *sym, u64 ip, u64 ks);
Dmap_groups.h28 struct symbol *maps__find_symbol_by_name(struct maps *maps, const char *name, struct map **mapp);
84 struct symbol *map_groups__find_symbol(struct map_groups *mg, u64 addr, struct map **mapp);
85 struct symbol *map_groups__find_symbol_by_name(struct map_groups *mg, const char *name, struct map …
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/
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()
DMANIFEST15 tools/lib/symbol/kallsyms.c
16 tools/lib/symbol/kallsyms.h
/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/objtool/
Delf.h34 struct symbol *sym;
42 struct symbol { struct
52 struct symbol *pfunc, *cfunc, *alias; argument
61 struct symbol *sym; argument
80 struct symbol *find_symbol_by_offset(struct section *sec, unsigned long offset);
81 struct symbol *find_symbol_by_name(struct elf *elf, const char *name);
82 struct symbol *find_symbol_containing(struct section *sec, unsigned long offset);
86 struct symbol *find_containing_func(struct section *sec, unsigned long offset);
Delf.c47 static struct symbol *find_symbol_by_index(struct elf *elf, unsigned int idx) in find_symbol_by_index()
50 struct symbol *sym; in find_symbol_by_index()
60 struct symbol *find_symbol_by_offset(struct section *sec, unsigned long offset) in find_symbol_by_offset()
62 struct symbol *sym; in find_symbol_by_offset()
72 struct symbol *find_symbol_by_name(struct elf *elf, const char *name) in find_symbol_by_name()
75 struct symbol *sym; in find_symbol_by_name()
85 struct symbol *find_symbol_containing(struct section *sec, unsigned long offset) in find_symbol_containing()
87 struct symbol *sym; in find_symbol_containing()
119 struct symbol *find_containing_func(struct section *sec, unsigned long offset) in find_containing_func()
121 struct symbol *func; in find_containing_func()
[all …]
/tools/perf/scripts/python/
Dintel-pt-events.py89 def print_common_ip(sample, symbol, dso): argument
91 print("%16x %s (%s)" % (ip, symbol, dso))
107 symbol = param_dict["symbol"]
109 symbol = "[unknown]"
114 print_common_ip(sample, symbol, dso)
118 print_common_ip(sample, symbol, dso)
122 print_common_ip(sample, symbol, dso)
126 print_common_ip(sample, symbol, dso)
130 print_common_ip(sample, symbol, dso)
134 print_common_ip(sample, symbol, dso)
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/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.c23 int arch__choose_best_symbol(struct symbol *syma, in arch__choose_best_symbol()
24 struct symbol *symb __maybe_unused) in arch__choose_best_symbol()
80 void arch__sym_update(struct symbol *s, GElf_Sym *sym) in arch__sym_update()
90 struct symbol *sym) in arch__fix_tev_from_maps()
133 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/perf/arch/s390/util/
Dmachine.c44 void arch__symbols__fixup_end(struct symbol *p, struct symbol *c) in arch__symbols__fixup_end()
/tools/perf/tests/
Ddwarf-unwind.c62 char *symbol = entry->sym ? entry->sym->name : NULL; in unwind_entry() local
85 if (!symbol) { in unwind_entry()
93 symbol, entry->ip, funcs[idx]); in unwind_entry()
94 return strcmp((const char *) symbol, funcs[idx]); in unwind_entry()

12345