/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/ |
D | EventClass.py | 24 def create_event(name, comm, dso, symbol, raw_buf): argument 26 event = PebsEvent(name, comm, dso, symbol, raw_buf) 28 event = PebsNHM(name, comm, dso, symbol, raw_buf) 30 event = PerfEvent(name, comm, dso, symbol, raw_buf) 36 def __init__(self, name, comm, dso, symbol, raw_buf, ev_type=EVTYPE_GENERIC): argument 40 self.symbol = symbol 46 …MU event: name=%12s, symbol=%24s, comm=%8s, dso=%12s" % (self.name, self.symbol, self.comm, self.d… 55 def __init__(self, name, comm, dso, symbol, raw_buf, ev_type=EVTYPE_PEBS): argument 69 PerfEvent.__init__(self, name, comm, dso, symbol, raw_buf, ev_type) 84 def __init__(self, name, comm, dso, symbol, raw_buf, ev_type=EVTYPE_PEBS_LL): argument [all …]
|
/tools/perf/util/ |
D | annotate.h | 120 struct symbol symbol; member 129 static inline struct annotation *symbol__annotation(struct symbol *sym) in symbol__annotation() 131 struct sannotation *a = container_of(sym, struct sannotation, symbol); in symbol__annotation() 139 int symbol__alloc_hist(struct symbol *sym); 140 void symbol__annotate_zero_histograms(struct symbol *sym); 142 int symbol__annotate(struct symbol *sym, struct map *map, size_t privsize); 146 int symbol__annotate_init(struct map *map __maybe_unused, struct symbol *sym); 147 int symbol__annotate_printf(struct symbol *sym, struct map *map, 150 void symbol__annotate_zero_histogram(struct symbol *sym, int evidx); 151 void symbol__annotate_decay_histogram(struct symbol *sym, int evidx); [all …]
|
D | symbol.h | 72 struct symbol { struct 82 void symbol__delete(struct symbol *sym); argument 93 nd && (pos = rb_entry(nd, struct symbol, rb_node)); \ 96 static inline size_t symbol__size(const struct symbol *sym) in symbol__size() 160 static inline void *symbol__priv(struct symbol *sym) in symbol__priv() 173 struct symbol *sym; 180 struct symbol *sym; 201 struct symbol *sym; 249 struct symbol *dso__find_symbol(struct dso *dso, enum map_type type, 251 struct symbol *dso__find_symbol_by_name(struct dso *dso, enum map_type type, [all …]
|
D | parse-events.c | 24 const char *symbol; member 44 .symbol = "cpu-cycles", 48 .symbol = "instructions", 52 .symbol = "cache-references", 56 .symbol = "cache-misses", 60 .symbol = "branch-instructions", 64 .symbol = "branch-misses", 68 .symbol = "bus-cycles", 72 .symbol = "stalled-cycles-frontend", 76 .symbol = "stalled-cycles-backend", [all …]
|
D | symbol.c | 88 static int choose_best_symbol(struct symbol *syma, struct symbol *symb) in choose_best_symbol() 146 struct symbol *curr, *next; in symbols__fixup_duplicate() 151 curr = rb_entry(nd, struct symbol, rb_node); in symbols__fixup_duplicate() 154 next = rb_entry(nd, struct symbol, rb_node); in symbols__fixup_duplicate() 177 struct symbol *curr, *prev; in symbols__fixup_end() 182 curr = rb_entry(prevnd, struct symbol, rb_node); in symbols__fixup_end() 186 curr = rb_entry(nd, struct symbol, rb_node); in symbols__fixup_end() 220 struct symbol *symbol__new(u64 start, u64 len, u8 binding, const char *name) in symbol__new() 223 struct symbol *sym = calloc(1, (symbol_conf.priv_size + in symbol__new() 243 void symbol__delete(struct symbol *sym) in symbol__delete() [all …]
|
D | map.h | 106 struct symbol; 119 typedef int (*symbol_filter_t)(struct map *map, struct symbol *sym); 137 struct symbol *map__find_symbol(struct map *map, 139 struct symbol *map__find_symbol_by_name(struct map *map, const char *name, 190 struct symbol *map_groups__find_symbol(struct map_groups *mg, 195 struct symbol *map_groups__find_symbol_by_name(struct map_groups *mg, 206 struct symbol *map_groups__find_function_by_name(struct map_groups *mg, in map_groups__find_function_by_name()
|
D | machine.h | 14 struct symbol; 129 struct symbol **parent, 153 struct symbol *machine__find_kernel_symbol(struct machine *machine, in machine__find_kernel_symbol() 163 struct symbol *machine__find_kernel_function(struct machine *machine, u64 addr, in machine__find_kernel_function() 172 struct symbol *machine__find_kernel_function_by_name(struct machine *machine, in machine__find_kernel_function_by_name()
|
D | callchain.h | 85 struct symbol *sym; 134 struct map *map, struct symbol *sym); 165 int sample__resolve_callchain(struct perf_sample *sample, struct symbol **parent,
|
D | map.c | 234 struct symbol *sym = rb_entry(nd, struct symbol, rb_node); in map__fixup_start() 244 struct symbol *sym = rb_entry(nd, struct symbol, rb_node); in map__fixup_end() 295 struct symbol *map__find_symbol(struct map *map, u64 addr, in map__find_symbol() 304 struct symbol *map__find_symbol_by_name(struct map *map, const char *name, in map__find_symbol_by_name() 518 struct symbol *map_groups__find_symbol(struct map_groups *mg, in map_groups__find_symbol() 535 struct symbol *map_groups__find_symbol_by_name(struct map_groups *mg, in map_groups__find_symbol_by_name() 545 struct symbol *sym = map__find_symbol_by_name(pos, name, filter); in map_groups__find_symbol_by_name()
|
D | annotate.c | 429 int symbol__annotate_init(struct map *map __maybe_unused, struct symbol *sym) in symbol__annotate_init() 436 int symbol__alloc_hist(struct symbol *sym) in symbol__alloc_hist() 462 void symbol__annotate_zero_histograms(struct symbol *sym) in symbol__annotate_zero_histograms() 473 static int __symbol__inc_addr_samples(struct symbol *sym, struct map *map, in __symbol__inc_addr_samples() 495 static int symbol__inc_addr_samples(struct symbol *sym, struct map *map, in symbol__inc_addr_samples() 667 static int disasm_line__print(struct disasm_line *dl, struct symbol *sym, u64 start, in disasm_line__print() 790 static int symbol__parse_objdump_line(struct symbol *sym, struct map *map, in symbol__parse_objdump_line() 872 static void delete_last_nop(struct symbol *sym) in delete_last_nop() 896 int symbol__annotate(struct symbol *sym, struct map *map, size_t privsize) in symbol__annotate() 1103 static void symbol__free_source_line(struct symbol *sym, int len) in symbol__free_source_line() [all …]
|
D | unwind.h | 11 struct symbol *sym;
|
D | probe-event.c | 115 static struct symbol *__find_kernel_function_by_name(const char *name, in __find_kernel_function_by_name() 122 static struct symbol *__find_kernel_function(u64 addr, struct map **mapp) in __find_kernel_function() 142 struct symbol *sym; in kernel_get_symbol_address_by_name() 340 addr = kernel_get_symbol_address_by_name(tp->symbol, false); in find_perf_probe_point_from_dwarf() 453 free(tevs[i].point.symbol); in post_process_probe_trace_events() 454 tevs[i].point.symbol = tmp; in post_process_probe_trace_events() 749 fprintf(stdout, "\t@<%s+%lu>\n", vl->point.symbol, in show_available_vars_at() 751 zfree(&vl->point.symbol); in show_available_vars_at() 1339 tp->symbol = strdup(fmt1_str); in parse_probe_trace_command() 1340 if (tp->symbol == NULL) { in parse_probe_trace_command() [all …]
|
/tools/perf/ui/browsers/ |
D | map.c | 23 struct symbol *sym = rb_entry(nd, struct symbol, rb_node); in map_browser__write() 39 static u32 *symbol__browser_index(struct symbol *browser) in symbol__browser_index() 47 struct symbol *sym; in map_browser__search() 117 struct symbol *pos = rb_entry(nd, struct symbol, rb_node); in map__browse()
|
D | annotate.c | 200 static bool disasm_line__is_valid_jump(struct disasm_line *dl, struct symbol *sym) in disasm_line__is_valid_jump() 217 struct symbol *sym = ms->sym; in annotate_browser__draw_current_jump() 341 struct symbol *sym = ms->sym; in annotate_browser__calc_percent() 433 static int sym_title(struct symbol *sym, struct map *map, char *title, in sym_title() 485 struct symbol *sym = ms->sym; in annotate_browser__find_offset() 524 struct symbol *sym = ms->sym; in annotate_browser__find_string() 563 struct symbol *sym = ms->sym; in annotate_browser__find_string_reverse() 664 struct symbol *sym = ms->sym; in annotate_browser__run() 833 struct symbol *sym = ms->sym; in annotate_browser__mark_jump_targets() 872 int symbol__tui_annotate(struct symbol *sym, struct map *map, in symbol__tui_annotate()
|
/tools/perf/config/feature-checks/ |
D | test-libbfd.c | 7 char symbol[4096] = "FieldName__9ClassNameFd"; in main() local 10 tmp = bfd_demangle(0, symbol, 0); in main()
|
D | test-cplus-demangle.c | 6 char symbol[4096] = "FieldName__9ClassNameFd"; in main() local 9 tmp = cplus_demangle(symbol, 0); in main()
|
/tools/perf/scripts/python/ |
D | event_analyzing_sample.py | 84 symbol = param_dict["symbol"] 86 symbol = "Unknown_symbol" 89 event = create_event(name, comm, dso, symbol, raw_buf) 95 (event.name, event.symbol, event.comm, event.dso)) 100 (event.name, event.symbol, event.comm, event.dso, event.flags,
|
/tools/perf/tests/ |
D | vmlinux-kallsyms.c | 12 struct symbol *sym) in vmlinux_matches_kallsyms_filter() 25 struct symbol *sym; in test__vmlinux_matches_kallsyms() 111 struct symbol *pair, *first_pair; in test__vmlinux_matches_kallsyms() 114 sym = rb_entry(nd, struct symbol, rb_node); in test__vmlinux_matches_kallsyms() 158 struct symbol *next = rb_entry(nnd, struct symbol, rb_node); in test__vmlinux_matches_kallsyms()
|
D | dwarf-unwind.c | 36 char *symbol = entry->sym ? entry->sym->name : NULL; in unwind_entry() local 51 if (!symbol) { in unwind_entry() 57 pr_debug("got: %s 0x%" PRIx64 "\n", symbol, entry->ip); in unwind_entry() 58 return strcmp((const char *) symbol, funcs[(*cnt)++]); in unwind_entry()
|
/tools/perf/Documentation/ |
D | perf-report.txt | 26 Be more verbose. (show symbol address, etc) 30 Show the number of samples for each symbol 54 --symbol-filter=:: 59 Only display entries resolved to a symbol. 65 pid, comm, dso, symbol, parent, cpu, srcline, weight, local_weight. 72 - symbol: name of function executed at the time of sample 92 By default, comm, dso and symbol keys are used. 93 (i.e. --sort comm,dso,symbol) 124 - symbol_daddr: name of data symbol being executed on at the time of sample 155 all occurrences of this separator in symbol names (and other output) [all …]
|
D | perf-annotate.txt | 31 --symbol=<symbol>:: 40 Be more verbose. (Show symbol address, etc)
|
D | perf-top.txt | 90 --sym-annotate=<symbol>:: 91 Annotate this symbol. 106 Dump the symbol table used for profiling. 118 Sort by key(s): pid, comm, dso, symbol, parent, srcline, weight, 224 Annotate symbol.
|
/tools/perf/ui/gtk/ |
D | annotate.c | 22 static int perf_gtk__get_percent(char *buf, size_t size, struct symbol *sym, in perf_gtk__get_percent() 51 static int perf_gtk__get_offset(char *buf, size_t size, struct symbol *sym, in perf_gtk__get_offset() 88 static int perf_gtk__annotate_symbol(GtkWidget *window, struct symbol *sym, in perf_gtk__annotate_symbol() 157 static int symbol__gtk_annotate(struct symbol *sym, struct map *map, in symbol__gtk_annotate()
|
/tools/perf/ |
D | builtin-top.c | 92 struct symbol *sym; in perf_top__parse_source() 142 struct symbol *sym = he->ms.sym; in __zero_source_counters() 146 static void ui__warn_map_erange(struct map *map, struct symbol *sym, u64 ip) in ui__warn_map_erange() 178 struct symbol *sym; in perf_top__record_precise_ip() 220 struct symbol *symbol; in perf_top__show_details() local 226 symbol = he->ms.sym; in perf_top__show_details() 227 notes = symbol__annotation(symbol); in perf_top__show_details() 234 printf("Showing %s for %s\n", perf_evsel__name(top->sym_evsel), symbol->name); in perf_top__show_details() 237 more = symbol__annotate_printf(symbol, he->ms.map, top->sym_evsel, in perf_top__show_details() 240 symbol__annotate_zero_histogram(symbol, top->sym_evsel->idx); in perf_top__show_details() [all …]
|
D | MANIFEST | 5 tools/lib/symbol/kallsyms.c 6 tools/lib/symbol/kallsyms.h
|