Home
last modified time | relevance | path

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

/openbmc/linux/tools/perf/ui/browsers/
H A Dannotate.c99 .change_color = (!annotate_opts.hide_src_code && in annotate_browser__write()
130 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()
299 if (annotate_opts.hide_src_code) in annotate_browser__set_rb_top()
332 annotate_opts.percent_type); in annotate_browser__calc_percent()
381 if (annotate_opts.hide_src_code) { in annotate_browser__toggle_source()
386 annotate_opts.hide_src_code = false; in annotate_browser__toggle_source()
404 annotate_opts.hide_src_code = true; in annotate_browser__toggle_source()
[all …]
H A Dhists.c2433 if (!annotate_opts.objdump_path && in do_annotate()
2434 perf_env__lookup_objdump(browser->env, &annotate_opts.objdump_path)) in do_annotate()
/openbmc/linux/tools/perf/
H A Dbuiltin-annotate.c423 if (!annotate_opts.objdump_path) { in __cmd_annotate()
425 &annotate_opts.objdump_path); in __cmd_annotate()
559 OPT_BOOLEAN('l', "print-line", &annotate_opts.print_lines, in cmd_annotate()
561 OPT_BOOLEAN('P', "full-paths", &annotate_opts.full_path, in cmd_annotate()
572 OPT_BOOLEAN(0, "source", &annotate_opts.annotate_src, in cmd_annotate()
574 OPT_BOOLEAN(0, "asm-raw", &annotate_opts.show_asm_raw, in cmd_annotate()
578 OPT_STRING(0, "prefix", &annotate_opts.prefix, "prefix", in cmd_annotate()
580 OPT_STRING(0, "prefix-strip", &annotate_opts.prefix_strip, "N", in cmd_annotate()
597 OPT_CALLBACK(0, "percent-type", &annotate_opts, "local-period", in cmd_annotate()
613 annotation_options__init(&annotate_opts); in cmd_annotate()
[all …]
H A 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()
1612 annotation_options__init(&annotate_opts); in cmd_top()
[all …]
H A Dbuiltin-report.c1327 OPT_BOOLEAN(0, "source", &annotate_opts.annotate_src, in cmd_report()
1329 OPT_BOOLEAN(0, "asm-raw", &annotate_opts.show_asm_raw, in cmd_report()
1333 OPT_STRING(0, "prefix", &annotate_opts.prefix, "prefix", in cmd_report()
1335 OPT_STRING(0, "prefix-strip", &annotate_opts.prefix_strip, "N", in cmd_report()
1387 OPT_CALLBACK(0, "percent-type", &annotate_opts, "local-period", in cmd_report()
1419 annotation_options__init(&annotate_opts); in cmd_report()
1438 annotate_opts.disassembler_style = strdup(disassembler_style); in cmd_report()
1439 if (!annotate_opts.disassembler_style) in cmd_report()
1443 annotate_opts.objdump_path = strdup(objdump_path); in cmd_report()
1444 if (!annotate_opts.objdump_path) in cmd_report()
[all …]
/openbmc/linux/tools/perf/util/
H A Dannotate.c61 struct annotation_options annotate_opts; variable
1963 if (!annotate_opts.hide_src_code && srcline) { in symbol__disassemble_bpf()
2086 struct annotation_options *opts = &annotate_opts; in symbol__disassemble()
2342 .options = &annotate_opts, in symbol__annotate()
2370 if (annotate_opts.full_addr) in symbol__annotate()
2383 unsigned int percent_type = annotate_opts.percent_type; in insert_source_line()
2540 struct annotation_options *opts = &annotate_opts; in symbol__annotate_printf()
2893 if (annotate_opts.use_offset) in annotation__update_column_widths()
2895 else if (annotate_opts.full_addr) in annotation__update_column_widths()
2902 if (annotate_opts.show_nr_jumps) in annotation__update_column_widths()
[all …]
H A Dannotate.h104 extern struct annotation_options annotate_opts;