Home
last modified time | relevance | path

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

/linux-6.15/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.c2441 if (!annotate_opts.objdump_path && in do_annotate()
2442 perf_env__lookup_objdump(browser->env, &annotate_opts.objdump_path)) in do_annotate()
3716 annotate_opts.show_br_cntr = true; in block_hists_tui_browse()
/linux-6.15/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()
791 OPT_BOOLEAN(0, "code-with-type", &annotate_opts.code_with_type, 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()
1254 if (!annotate_opts.objdump_path) { in __cmd_top()
1256 &annotate_opts.objdump_path); in __cmd_top()
1552 OPT_BOOLEAN(0, "source", &annotate_opts.annotate_src, in cmd_top()
1554 OPT_BOOLEAN(0, "asm-raw", &annotate_opts.show_asm_raw, in cmd_top()
1565 OPT_STRING(0, "prefix", &annotate_opts.prefix, "prefix", in cmd_top()
1567 OPT_STRING(0, "prefix-strip", &annotate_opts.prefix_strip, "N", in cmd_top()
1627 annotate_opts.min_pcnt = 5; in cmd_top()
[all …]
Dbuiltin-report.c1408 OPT_BOOLEAN(0, "source", &annotate_opts.annotate_src, in cmd_report()
1410 OPT_BOOLEAN(0, "asm-raw", &annotate_opts.show_asm_raw, in cmd_report()
1414 OPT_STRING(0, "prefix", &annotate_opts.prefix, "prefix", in cmd_report()
1416 OPT_STRING(0, "prefix-strip", &annotate_opts.prefix_strip, "N", in cmd_report()
1468 OPT_CALLBACK(0, "percent-type", &annotate_opts, "local-period", in cmd_report()
1524 annotate_opts.disassembler_style = strdup(disassembler_style); in cmd_report()
1525 if (!annotate_opts.disassembler_style) in cmd_report()
1529 annotate_opts.objdump_path = strdup(objdump_path); in cmd_report()
1530 if (!annotate_opts.objdump_path) in cmd_report()
1720 annotate_opts.annotate_src = false; in cmd_report()
/linux-6.15/tools/perf/util/
Dannotate.c69 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()
1586 if (annotate_opts.use_offset) in annotation__update_column_widths()
1588 else if (annotate_opts.full_addr) in annotation__update_column_widths()
1595 if (annotate_opts.show_nr_jumps) in annotation__update_column_widths()
1601 annotate_opts.full_addr = !annotate_opts.full_addr; in annotation__toggle_full_addr()
1603 if (annotate_opts.full_addr) in annotation__toggle_full_addr()
[all …]
Dannotate.h73 extern struct annotation_options annotate_opts;
359 if (notes->branch && annotate_opts.show_minmax_cycle) in annotation__cycles_width()
372 return annotate_opts.hide_src_code && al->offset == -1; in annotation_line__filter()
377 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.c2085 struct annotation_options *opts = &annotate_opts; in symbol__disassemble_objdump()
/linux-6.15/tools/perf/arch/powerpc/annotate/
Dinstructions.c311 annotate_opts.show_asm_raw = true; in powerpc__annotate_init()