Home
last modified time | relevance | path

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

/linux-6.8/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()
196 if (annotate_opts.hide_src_code) { in annotate_browser__draw_current_jump()
225 if (annotate_opts.jump_arrows) in annotate_browser__refresh()
259 if (disasm__cmp(al, l, annotate_opts.percent_type) < 0) in disasm_rb_tree__insert()
297 if (annotate_opts.hide_src_code) in annotate_browser__set_rb_top()
330 annotate_opts.percent_type); in annotate_browser__calc_percent()
379 if (annotate_opts.hide_src_code) { in annotate_browser__toggle_source()
384 annotate_opts.hide_src_code = false; in annotate_browser__toggle_source()
402 annotate_opts.hide_src_code = true; in annotate_browser__toggle_source()
[all …]
Dhists.c2433 if (!annotate_opts.objdump_path && in do_annotate()
2434 perf_env__lookup_objdump(browser->env, &annotate_opts.objdump_path)) in do_annotate()
/linux-6.8/tools/perf/
Dbuiltin-annotate.c608 if (!annotate_opts.objdump_path) { in __cmd_annotate()
610 &annotate_opts.objdump_path); in __cmd_annotate()
781 OPT_BOOLEAN('l', "print-line", &annotate_opts.print_lines, in cmd_annotate()
783 OPT_BOOLEAN('P', "full-paths", &annotate_opts.full_path, in cmd_annotate()
794 OPT_BOOLEAN(0, "source", &annotate_opts.annotate_src, in cmd_annotate()
796 OPT_BOOLEAN(0, "asm-raw", &annotate_opts.show_asm_raw, in cmd_annotate()
800 OPT_STRING(0, "prefix", &annotate_opts.prefix, "prefix", in cmd_annotate()
802 OPT_STRING(0, "prefix-strip", &annotate_opts.prefix_strip, "N", in cmd_annotate()
821 OPT_CALLBACK(0, "percent-type", &annotate_opts, "local-period", in cmd_annotate()
864 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()
1243 if (!annotate_opts.objdump_path) { in __cmd_top()
1245 &annotate_opts.objdump_path); in __cmd_top()
1539 OPT_BOOLEAN(0, "source", &annotate_opts.annotate_src, in cmd_top()
1541 OPT_BOOLEAN(0, "asm-raw", &annotate_opts.show_asm_raw, in cmd_top()
1552 OPT_STRING(0, "prefix", &annotate_opts.prefix, "prefix", in cmd_top()
1554 OPT_STRING(0, "prefix-strip", &annotate_opts.prefix_strip, "N", in cmd_top()
1614 annotate_opts.min_pcnt = 5; in cmd_top()
[all …]
Dbuiltin-report.c1362 OPT_BOOLEAN(0, "source", &annotate_opts.annotate_src, in cmd_report()
1364 OPT_BOOLEAN(0, "asm-raw", &annotate_opts.show_asm_raw, in cmd_report()
1368 OPT_STRING(0, "prefix", &annotate_opts.prefix, "prefix", in cmd_report()
1370 OPT_STRING(0, "prefix-strip", &annotate_opts.prefix_strip, "N", in cmd_report()
1422 OPT_CALLBACK(0, "percent-type", &annotate_opts, "local-period", in cmd_report()
1473 annotate_opts.disassembler_style = strdup(disassembler_style); in cmd_report()
1474 if (!annotate_opts.disassembler_style) in cmd_report()
1478 annotate_opts.objdump_path = strdup(objdump_path); in cmd_report()
1479 if (!annotate_opts.objdump_path) in cmd_report()
1645 annotate_opts.annotate_src = false; in cmd_report()
/linux-6.8/tools/perf/util/
Dannotate.c63 struct annotation_options annotate_opts; variable
2019 if (!annotate_opts.hide_src_code && srcline) { in symbol__disassemble_bpf()
2142 struct annotation_options *opts = &annotate_opts; in symbol__disassemble()
2426 .options = &annotate_opts, in symbol__annotate()
2440 if (annotate_opts.full_addr) in symbol__annotate()
2453 unsigned int percent_type = annotate_opts.percent_type; in insert_source_line()
2610 struct annotation_options *opts = &annotate_opts; in symbol__annotate_printf()
2963 if (annotate_opts.use_offset) in annotation__update_column_widths()
2965 else if (annotate_opts.full_addr) in annotation__update_column_widths()
2972 if (annotate_opts.show_nr_jumps) in annotation__update_column_widths()
[all …]
Dannotate.h111 extern struct annotation_options annotate_opts;
325 if (notes->branch && annotate_opts.show_minmax_cycle) in annotation__cycles_width()
338 return annotate_opts.hide_src_code && al->offset == -1; in annotation_line__filter()