Home
last modified time | relevance | path

Searched refs:notes (Results 1 – 15 of 15) sorted by relevance

/tools/perf/util/
A Dannotate.c153 notes->src->nr_histograms * sizeof(*notes->src->histograms)); in symbol__annotate_zero_histograms()
156 if (notes->branch && notes->branch->cycles_hist) { in symbol__annotate_zero_histograms()
264 if (notes == NULL) in annotation__get_branch()
268 notes->branch = zalloc(sizeof(*notes->branch)); in annotation__get_branch()
514 if (!notes->branch || !notes->branch->cycles_hist) in annotation__compute_ipc()
1029 if (notes->src && !list_empty(&notes->src->source)) in symbol__annotate()
1578 notes->src->widths.addr = notes->src->widths.target = in annotation__init_column_widths()
1588 notes->src->widths.target = notes->src->widths.min_addr; in annotation__update_column_widths()
1592 notes->src->widths.target = notes->src->widths.max_addr; in annotation__update_column_widths()
1594 notes->src->widths.addr = notes->src->widths.target; in annotation__update_column_widths()
[all …]
A Dannotate.h205 int __annotation__scnprintf_samples_period(struct annotation *notes,
353 void annotation__exit(struct annotation *notes);
355 void annotation__lock(struct annotation *notes) EXCLUSIVE_LOCK_FUNCTION(*notes);
356 void annotation__unlock(struct annotation *notes) UNLOCK_FUNCTION(*notes);
357 bool annotation__trylock(struct annotation *notes) EXCLUSIVE_TRYLOCK_FUNCTION(true, *notes);
359 static inline int annotation__cycles_width(struct annotation *notes) in annotation__cycles_width() argument
361 if (notes->branch && annotate_opts.show_minmax_cycle) in annotation__cycles_width()
367 static inline int annotation__pcnt_width(struct annotation *notes) in annotation__pcnt_width() argument
369 return (symbol_conf.show_total_period ? 12 : 8) * notes->src->nr_events; in annotation__pcnt_width()
382 void annotation__update_column_widths(struct annotation *notes);
[all …]
A Ddisasm_bpf.c30 struct annotation *notes = symbol__annotation(sym); in symbol__disassemble_bpf() local
149 &notes->src->source); in symbol__disassemble_bpf()
160 annotation_line__add(&dl->al, &notes->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, &notes->src->source); in symbol__disassemble_bpf_image()
A Dblock-info.c132 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()
A Ddisasm.c1046 int nr = notes->src->nr_events; in disasm_line__new()
1119 struct annotation *notes = symbol__annotation(sym); in symbol__parse_objdump_line() local
1176 annotation_line__add(&dl->al, &notes->src->source); in symbol__parse_objdump_line()
1182 struct annotation *notes = symbol__annotation(sym); in delete_last_nop() local
1183 struct list_head *list = &notes->src->source; in delete_last_nop()
1501 struct annotation *notes = symbol__annotation(sym); in symbol__disassemble_capstone_powerpc() local
1571 annotation_line__add(&dl->al, &notes->src->source); in symbol__disassemble_capstone_powerpc()
1599 struct list_head *list = &notes->src->source; in symbol__disassemble_capstone_powerpc()
1627 struct annotation *notes = symbol__annotation(sym); in symbol__disassemble_capstone() local
1694 struct list_head *list = &notes->src->source; in symbol__disassemble_capstone()
[all …]
A Dbuild-id.c97 char notes[PATH_MAX]; in sysfs__snprintf_build_id() local
104 scnprintf(notes, sizeof(notes), "%s/sys/kernel/notes", root_dir); in sysfs__snprintf_build_id()
106 ret = sysfs__read_build_id(notes, &bid); in sysfs__snprintf_build_id()
A Dsymbol.c318 struct annotation *notes = (void *)sym; in symbol__new() local
319 annotation__init(notes); in symbol__new()
341 struct annotation *notes = symbol__annotation(sym); in symbol__delete() local
343 annotation__exit(notes); in symbol__delete()
A Dannotate-data.c1289 struct annotation *notes = symbol__annotation(sym); in find_data_type_insn() local
1303 list_for_each_entry_from(dl, &notes->src->source, al.node) { in find_data_type_insn()
/tools/perf/ui/browsers/
A Dannotate.c52 if (nr == notes->src->max_jump_sources) in ui_browser__jumps_percent_color()
314 annotation__lock(notes); in annotate_browser__calc_percent()
343 annotation__unlock(notes); in annotate_browser__calc_percent()
440 notes->src->tried_source = true; in annotate_browser__toggle_source()
442 if (!annotation__has_source(notes)) in annotate_browser__toggle_source()
538 struct annotation *notes; in annotate_browser__callq() local
547 annotation__lock(notes); in annotate_browser__callq()
550 annotation__unlock(notes); in annotate_browser__callq()
559 annotation__unlock(notes); in annotate_browser__callq()
954 notes->src->nr_asm_entries); in annotate_browser__run()
[all …]
A Dhists.c2470 struct annotation *notes; in do_annotate() local
2478 notes = symbol__annotation(act->ms.sym); in do_annotate()
2479 if (!notes->src) in do_annotate()
/tools/perf/ui/gtk/
A Dannotate.c32 struct annotation *notes; in perf_gtk__get_percent() local
45 notes = symbol__annotation(sym); in perf_gtk__get_percent()
46 symhist = annotation__histogram(notes, evsel); in perf_gtk__get_percent()
47 entry = annotated_source__hist_entry(notes->src, evsel, dl->al.offset); in perf_gtk__get_percent()
109 struct annotation *notes; in perf_gtk__annotate_symbol() local
117 notes = symbol__annotation(sym); in perf_gtk__annotate_symbol()
136 list_for_each_entry(pos, &notes->src->source, al.node) { in perf_gtk__annotate_symbol()
166 list_for_each_entry_safe(pos, n, &notes->src->source, al.node) { in perf_gtk__annotate_symbol()
/tools/perf/
A Dbuiltin-top.c116 struct annotation *notes; in perf_top__parse_source() local
140 notes = symbol__annotation(sym); in perf_top__parse_source()
141 annotation__lock(notes); in perf_top__parse_source()
144 annotation__unlock(notes); in perf_top__parse_source()
160 annotation__unlock(notes); in perf_top__parse_source()
204 struct annotation *notes; in perf_top__record_precise_ip() local
220 annotation__unlock(notes); in perf_top__record_precise_ip()
245 struct annotation *notes; in perf_top__show_details() local
257 annotation__lock(notes); in perf_top__show_details()
261 if (notes->src == NULL) in perf_top__show_details()
[all …]
A Dbuiltin-annotate.c101 struct annotation *notes = sym ? symbol__annotation(sym) : NULL; in process_basic_block() local
116 branch = annotation__get_branch(notes); in process_basic_block()
422 struct annotation *notes; in hists__find_annotations() local
442 notes = symbol__annotation(he->ms.sym); in hists__find_annotations()
443 if (notes->src == NULL) { in hists__find_annotations()
/tools/perf/Documentation/
A Dperf-kvm.txt47 for use by perf report. As buildid is read from /sys/kernel/notes in os, then
A Dperf.data-file-format.txt455 Some notes on parsing:

Completed in 49 milliseconds