/linux/tools/perf/ui/browsers/ |
H A D | annotate.c | 98 .change_color = (!annotate_opts.hide_src_code && in annotate_browser__write() 129 if (!annotate_opts.hide_src_code) in is_fused() 197 if (annotate_opts.hide_src_code) { in annotate_browser__draw_current_jump() 226 if (annotate_opts.jump_arrows) in annotate_browser__refresh() 260 if (disasm__cmp(al, l, annotate_opts.percent_type) < 0) in disasm_rb_tree__insert() 298 if (annotate_opts.hide_src_code) in annotate_browser__set_rb_top() 331 annotate_opts.percent_type); in annotate_browser__calc_percent() 421 if (!annotate_opts.annotate_src) in annotate_browser__toggle_source() 422 annotate_opts.annotate_src = true; in annotate_browser__toggle_source() 429 if (annotate_opts.hide_src_code && !notes->src->tried_source) { in annotate_browser__toggle_source() [all …]
|
H A D | hists.c | 2474 if (!annotate_opts.objdump_path && in do_annotate() 2475 perf_env__lookup_objdump(browser->env, &annotate_opts.objdump_path)) in do_annotate() 3738 annotate_opts.show_br_cntr = true; in block_hists_tui_browse()
|
/linux/tools/perf/ |
H A D | builtin-annotate.c | 564 if (!annotate_opts.objdump_path) { in __cmd_annotate() 566 &annotate_opts.objdump_path); in __cmd_annotate() 736 OPT_BOOLEAN('l', "print-line", &annotate_opts.print_lines, in cmd_annotate() 738 OPT_BOOLEAN('P', "full-paths", &annotate_opts.full_path, in cmd_annotate() 749 OPT_BOOLEAN(0, "source", &annotate_opts.annotate_src, in cmd_annotate() 751 OPT_BOOLEAN(0, "asm-raw", &annotate_opts.show_asm_raw, in cmd_annotate() 755 OPT_STRING(0, "prefix", &annotate_opts.prefix, "prefix", in cmd_annotate() 757 OPT_STRING(0, "prefix-strip", &annotate_opts.prefix_strip, "N", in cmd_annotate() 774 OPT_CALLBACK(0, "percent-type", &annotate_opts, "local-period", in cmd_annotate() 791 OPT_BOOLEAN(0, "code-with-type", &annotate_opts.code_with_type, in cmd_annotate() [all …]
|
H A D | builtin-top.c | 265 printf(" Events Pcnt (>=%d%%)\n", annotate_opts.min_pcnt); in perf_top__show_details() 454 fprintf(stdout, "\t[F] annotate display filter (percent). \t(%d%%)\n", annotate_opts.min_pcnt); in perf_top__print_mapped_keys() 557 prompt_percent(&annotate_opts.min_pcnt, in perf_top__handle_keypress() 1256 if (!annotate_opts.objdump_path) { in __cmd_top() 1258 &annotate_opts.objdump_path); in __cmd_top() 1558 OPT_BOOLEAN(0, "source", &annotate_opts.annotate_src, in cmd_top() 1560 OPT_BOOLEAN(0, "asm-raw", &annotate_opts.show_asm_raw, in cmd_top() 1571 OPT_STRING(0, "prefix", &annotate_opts.prefix, "prefix", in cmd_top() 1573 OPT_STRING(0, "prefix-strip", &annotate_opts.prefix_strip, "N", in cmd_top() 1634 annotate_opts.min_pcnt = 5; in cmd_top() [all …]
|
H A D | builtin-report.c | 1422 OPT_BOOLEAN(0, "source", &annotate_opts.annotate_src, in cmd_report() 1424 OPT_BOOLEAN(0, "asm-raw", &annotate_opts.show_asm_raw, in cmd_report() 1428 OPT_STRING(0, "prefix", &annotate_opts.prefix, "prefix", in cmd_report() 1430 OPT_STRING(0, "prefix-strip", &annotate_opts.prefix_strip, "N", in cmd_report() 1482 OPT_CALLBACK(0, "percent-type", &annotate_opts, "local-period", in cmd_report() 1538 annotate_opts.disassembler_style = strdup(disassembler_style); in cmd_report() 1539 if (!annotate_opts.disassembler_style) in cmd_report() 1543 annotate_opts.objdump_path = strdup(objdump_path); in cmd_report() 1544 if (!annotate_opts.objdump_path) in cmd_report() 1730 annotate_opts.annotate_src = false; in cmd_report()
|
/linux/tools/perf/util/ |
H A D | annotate.c | 69 struct annotation_options annotate_opts; variable 1017 .options = &annotate_opts, in symbol__annotate() 1054 if (annotate_opts.full_addr) in symbol__annotate() 1067 unsigned int percent_type = annotate_opts.percent_type; in insert_source_line() 1229 struct annotation_options *opts = &annotate_opts; in hist_entry__annotate_printf() 1587 if (annotate_opts.use_offset) in annotation__update_column_widths() 1589 else if (annotate_opts.full_addr) in annotation__update_column_widths() 1596 if (annotate_opts.show_nr_jumps) in annotation__update_column_widths() 1602 annotate_opts.full_addr = !annotate_opts.full_addr; in annotation__toggle_full_addr() 1604 if (annotate_opts.full_addr) in annotation__toggle_full_addr() [all …]
|
H A D | annotate.h | 74 extern struct annotation_options annotate_opts; 361 if (notes->branch && annotate_opts.show_minmax_cycle) in annotation__cycles_width() 374 return annotate_opts.hide_src_code && al->offset == -1; in annotation_line__filter() 379 return annotate_opts.show_br_cntr ? ANNOTATION__BR_CNTR_WIDTH : 0; in annotation__br_cntr_width()
|
H A D | disasm_bpf.c | 140 if (!annotate_opts.hide_src_code && srcline) { in symbol__disassemble_bpf()
|
H A D | disasm.c | 2085 struct annotation_options *opts = &annotate_opts; in symbol__disassemble_objdump()
|