Home
last modified time | relevance | path

Searched refs:annotate_opts (Results 1 – 10 of 10) sorted by relevance

/linux-6.14.4/tools/perf/ui/browsers/
Dannotate.c98 .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()
380 if (annotate_opts.hide_src_code) { in annotate_browser__toggle_source()
385 annotate_opts.hide_src_code = false; in annotate_browser__toggle_source()
403 annotate_opts.hide_src_code = true; in annotate_browser__toggle_source()
[all …]
Dhists.c2434 if (!annotate_opts.objdump_path && in do_annotate()
2435 perf_env__lookup_objdump(browser->env, &annotate_opts.objdump_path)) in do_annotate()
3709 annotate_opts.show_br_cntr = true; in block_hists_tui_browse()
/linux-6.14.4/tools/perf/
Dbuiltin-annotate.c564 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()
819 annotate_opts.disassembler_style = strdup(disassembler_style); in cmd_annotate()
[all …]
Dbuiltin-top.c264 printf(" Events Pcnt (>=%d%%)\n", annotate_opts.min_pcnt); in perf_top__show_details()
453 fprintf(stdout, "\t[F] annotate display filter (percent). \t(%d%%)\n", annotate_opts.min_pcnt); in perf_top__print_mapped_keys()
556 prompt_percent(&annotate_opts.min_pcnt, in perf_top__handle_keypress()
1250 if (!annotate_opts.objdump_path) { in __cmd_top()
1252 &annotate_opts.objdump_path); in __cmd_top()
1548 OPT_BOOLEAN(0, "source", &annotate_opts.annotate_src, in cmd_top()
1550 OPT_BOOLEAN(0, "asm-raw", &annotate_opts.show_asm_raw, in cmd_top()
1561 OPT_STRING(0, "prefix", &annotate_opts.prefix, "prefix", in cmd_top()
1563 OPT_STRING(0, "prefix-strip", &annotate_opts.prefix_strip, "N", in cmd_top()
1623 annotate_opts.min_pcnt = 5; in cmd_top()
[all …]
Dbuiltin-report.c1395 OPT_BOOLEAN(0, "source", &annotate_opts.annotate_src, in cmd_report()
1397 OPT_BOOLEAN(0, "asm-raw", &annotate_opts.show_asm_raw, in cmd_report()
1401 OPT_STRING(0, "prefix", &annotate_opts.prefix, "prefix", in cmd_report()
1403 OPT_STRING(0, "prefix-strip", &annotate_opts.prefix_strip, "N", in cmd_report()
1455 OPT_CALLBACK(0, "percent-type", &annotate_opts, "local-period", in cmd_report()
1507 annotate_opts.disassembler_style = strdup(disassembler_style); in cmd_report()
1508 if (!annotate_opts.disassembler_style) in cmd_report()
1512 annotate_opts.objdump_path = strdup(objdump_path); in cmd_report()
1513 if (!annotate_opts.objdump_path) in cmd_report()
1704 annotate_opts.annotate_src = false; in cmd_report()
/linux-6.14.4/tools/perf/util/
Dannotate.c69 struct annotation_options annotate_opts; variable
970 .options = &annotate_opts, in symbol__annotate()
1007 if (annotate_opts.full_addr) in symbol__annotate()
1020 unsigned int percent_type = annotate_opts.percent_type; in insert_source_line()
1181 struct annotation_options *opts = &annotate_opts; in symbol__annotate_printf()
1535 if (annotate_opts.use_offset) in annotation__update_column_widths()
1537 else if (annotate_opts.full_addr) in annotation__update_column_widths()
1544 if (annotate_opts.show_nr_jumps) in annotation__update_column_widths()
1550 annotate_opts.full_addr = !annotate_opts.full_addr; in annotation__toggle_full_addr()
1552 if (annotate_opts.full_addr) in annotation__toggle_full_addr()
[all …]
Dannotate.h71 extern struct annotation_options annotate_opts;
357 if (notes->branch && annotate_opts.show_minmax_cycle) in annotation__cycles_width()
370 return annotate_opts.hide_src_code && al->offset == -1; in annotation_line__filter()
375 return annotate_opts.show_br_cntr ? ANNOTATION__BR_CNTR_WIDTH : 0; in annotation__br_cntr_width()
Ddisasm_bpf.c140 if (!annotate_opts.hide_src_code && srcline) { in symbol__disassemble_bpf()
Ddisasm.c2084 struct annotation_options *opts = &annotate_opts; in symbol__disassemble_objdump()
/linux-6.14.4/tools/perf/arch/powerpc/annotate/
Dinstructions.c311 annotate_opts.show_asm_raw = true; in powerpc__annotate_init()