| /tools/perf/util/ |
| D | annotate.c | 146 struct annotation *notes = symbol__annotation(sym); in symbol__annotate_zero_histograms() local 148 annotation__lock(notes); in symbol__annotate_zero_histograms() 149 if (notes->src != NULL) { in symbol__annotate_zero_histograms() 150 memset(notes->src->histograms, 0, in symbol__annotate_zero_histograms() 151 notes->src->nr_histograms * sizeof(*notes->src->histograms)); in symbol__annotate_zero_histograms() 152 hashmap__clear(notes->src->samples); in symbol__annotate_zero_histograms() 154 if (notes->branch && notes->branch->cycles_hist) { in symbol__annotate_zero_histograms() 155 memset(notes->branch->cycles_hist, 0, in symbol__annotate_zero_histograms() 158 annotation__unlock(notes); in symbol__annotate_zero_histograms() 260 struct annotated_branch *annotation__get_branch(struct annotation *notes) in annotation__get_branch() argument [all …]
|
| D | annotate.h | 188 void annotation_line__write(struct annotation_line *al, struct annotation *notes, 191 int __annotation__scnprintf_samples_period(struct annotation *notes, 335 static inline void annotation__init(struct annotation *notes __maybe_unused) in annotation__init() 338 void annotation__exit(struct annotation *notes); 340 void annotation__lock(struct annotation *notes) EXCLUSIVE_LOCK_FUNCTION(*notes); 341 void annotation__unlock(struct annotation *notes) UNLOCK_FUNCTION(*notes); 342 bool annotation__trylock(struct annotation *notes) EXCLUSIVE_TRYLOCK_FUNCTION(true, *notes); 344 static inline int annotation__cycles_width(struct annotation *notes) in annotation__cycles_width() argument 346 if (notes->branch && annotate_opts.show_minmax_cycle) in annotation__cycles_width() 349 return notes->branch ? ANNOTATION__IPC_WIDTH + ANNOTATION__CYCLES_WIDTH : 0; in annotation__cycles_width() [all …]
|
| D | disasm_bpf.c | 30 struct annotation *notes = symbol__annotation(sym); in symbol__disassemble_bpf() local 149 ¬es->src->source); in symbol__disassemble_bpf() 160 annotation_line__add(&dl->al, ¬es->src->source); in symbol__disassemble_bpf() 182 struct annotation *notes = symbol__annotation(sym); in symbol__disassemble_bpf_image() local 191 annotation_line__add(&dl->al, ¬es->src->source); in symbol__disassemble_bpf_image()
|
| D | block-info.c | 132 struct annotation *notes; in block_info__process_sym() local 144 notes = symbol__annotation(he->ms.sym); in block_info__process_sym() 145 if (!notes || !notes->branch || !notes->branch->cycles_hist) in block_info__process_sym() 147 ch = notes->branch->cycles_hist; in block_info__process_sym() 159 notes->branch->br_cntr, in block_info__process_sym()
|
| D | disasm.c | 1043 struct annotation *notes = symbol__annotation(args->ms.sym); in disasm_line__new() local 1044 int nr = notes->src->nr_events; in disasm_line__new() 1117 struct annotation *notes = symbol__annotation(sym); in symbol__parse_objdump_line() local 1174 annotation_line__add(&dl->al, ¬es->src->source); in symbol__parse_objdump_line() 1180 struct annotation *notes = symbol__annotation(sym); in delete_last_nop() local 1181 struct list_head *list = ¬es->src->source; in delete_last_nop() 1487 struct annotation *notes = symbol__annotation(sym); in symbol__disassemble_capstone_powerpc() local 1557 annotation_line__add(&dl->al, ¬es->src->source); in symbol__disassemble_capstone_powerpc() 1578 annotation_line__add(&dl->al, ¬es->src->source); in symbol__disassemble_capstone_powerpc() 1585 struct list_head *list = ¬es->src->source; in symbol__disassemble_capstone_powerpc() [all …]
|
| D | build-id.c | 89 char notes[PATH_MAX]; in sysfs__sprintf_build_id() local 96 scnprintf(notes, sizeof(notes), "%s/sys/kernel/notes", root_dir); in sysfs__sprintf_build_id() 98 ret = sysfs__read_build_id(notes, &bid); in sysfs__sprintf_build_id()
|
| D | symbol.c | 301 struct annotation *notes = (void *)sym; in symbol__new() local 302 annotation__init(notes); in symbol__new() 324 struct annotation *notes = symbol__annotation(sym); in symbol__delete() local 326 annotation__exit(notes); in symbol__delete()
|
| D | annotate-data.c | 1250 struct annotation *notes = symbol__annotation(sym); in find_data_type_insn() local 1264 list_for_each_entry_from(dl, ¬es->src->source, al.node) { in find_data_type_insn()
|
| /tools/perf/ui/browsers/ |
| D | annotate.c | 48 struct annotation *notes = browser__annotation(browser); in ui_browser__jumps_percent_color() local 52 if (nr == notes->src->max_jump_sources) in ui_browser__jumps_percent_color() 92 struct annotation *notes = browser__annotation(browser); in annotate_browser__write() local 115 annotation_line__write(al, notes, &ops); in annotate_browser__write() 157 struct annotation *notes = symbol__annotation(sym); in annotate_browser__draw_current_jump() local 158 u8 pcnt_width = annotation__pcnt_width(notes); in annotate_browser__draw_current_jump() 190 target = annotated_source__get_line(notes->src, cursor->ops.target.offset); in annotate_browser__draw_current_jump() 205 width = annotation__cycles_width(notes); in annotate_browser__draw_current_jump() 209 pcnt_width + 2 + notes->src->widths.addr + width + cntr_width, in annotate_browser__draw_current_jump() 215 pcnt_width + 3 + notes->src->widths.addr + width + cntr_width, in annotate_browser__draw_current_jump() [all …]
|
| D | hists.c | 2430 struct annotation *notes; in do_annotate() local 2438 notes = symbol__annotation(act->ms.sym); in do_annotate() 2439 if (!notes->src) in do_annotate()
|
| /tools/perf/ui/gtk/ |
| D | annotate.c | 31 struct annotation *notes; in perf_gtk__get_percent() local 44 notes = symbol__annotation(sym); in perf_gtk__get_percent() 45 symhist = annotation__histogram(notes, evidx); in perf_gtk__get_percent() 46 entry = annotated_source__hist_entry(notes->src, evidx, dl->al.offset); in perf_gtk__get_percent() 108 struct annotation *notes; in perf_gtk__annotate_symbol() local 116 notes = symbol__annotation(sym); in perf_gtk__annotate_symbol() 135 list_for_each_entry(pos, ¬es->src->source, al.node) { in perf_gtk__annotate_symbol() 164 list_for_each_entry_safe(pos, n, ¬es->src->source, al.node) { in perf_gtk__annotate_symbol()
|
| /tools/perf/ |
| D | builtin-top.c | 115 struct annotation *notes; in perf_top__parse_source() local 139 notes = symbol__annotation(sym); in perf_top__parse_source() 140 annotation__lock(notes); in perf_top__parse_source() 143 annotation__unlock(notes); in perf_top__parse_source() 159 annotation__unlock(notes); in perf_top__parse_source() 203 struct annotation *notes; in perf_top__record_precise_ip() local 212 notes = symbol__annotation(sym); in perf_top__record_precise_ip() 214 if (!annotation__trylock(notes)) in perf_top__record_precise_ip() 219 annotation__unlock(notes); in perf_top__record_precise_ip() 244 struct annotation *notes; in perf_top__show_details() local [all …]
|
| D | builtin-annotate.c | 100 struct annotation *notes = sym ? symbol__annotation(sym) : NULL; in process_basic_block() local 115 branch = annotation__get_branch(notes); in process_basic_block() 421 struct annotation *notes; in hists__find_annotations() local 441 notes = symbol__annotation(he->ms.sym); in hists__find_annotations() 442 if (notes->src == NULL) { in hists__find_annotations()
|
| /tools/perf/Documentation/ |
| D | perf-kvm.txt | 47 for use by perf report. As buildid is read from /sys/kernel/notes in os, then
|
| D | perf.data-file-format.txt | 455 Some notes on parsing:
|