Lines Matching refs:annotate

339 			int (*annotate)(struct hist_entry *he,  in hists__find_annotations()  local
343 annotate = dlsym(perf_gtk_handle, in hists__find_annotations()
345 if (annotate == NULL) { in hists__find_annotations()
350 ret = annotate(he, evsel, NULL); in hists__find_annotations()
475 struct perf_annotate annotate = { in cmd_annotate() local
501 OPT_STRING('s', "symbol", &annotate.sym_hist_filter, "symbol", in cmd_annotate()
509 OPT_BOOLEAN(0, "gtk", &annotate.use_gtk, "Use the GTK interface"), in cmd_annotate()
510 OPT_BOOLEAN(0, "tui", &annotate.use_tui, "Use the TUI interface"), in cmd_annotate()
511 OPT_BOOLEAN(0, "stdio", &annotate.use_stdio, "Use the stdio interface"), in cmd_annotate()
512 OPT_BOOLEAN(0, "stdio2", &annotate.use_stdio2, "Use the stdio interface"), in cmd_annotate()
519 OPT_BOOLEAN('l', "print-line", &annotate.opts.print_lines, in cmd_annotate()
521 OPT_BOOLEAN('P', "full-paths", &annotate.opts.full_path, in cmd_annotate()
523 OPT_BOOLEAN(0, "skip-missing", &annotate.skip_missing, in cmd_annotate()
526 &annotate.group_set, in cmd_annotate()
528 OPT_STRING('C', "cpu", &annotate.cpu_list, "cpu", "list of cpus to profile"), in cmd_annotate()
532 OPT_BOOLEAN(0, "source", &annotate.opts.annotate_src, in cmd_annotate()
534 OPT_BOOLEAN(0, "asm-raw", &annotate.opts.show_asm_raw, in cmd_annotate()
536 OPT_STRING('M', "disassembler-style", &annotate.opts.disassembler_style, "disassembler style", in cmd_annotate()
538 OPT_STRING(0, "objdump", &annotate.opts.objdump_path, "path", in cmd_annotate()
549 OPT_CALLBACK(0, "percent-type", &annotate.opts, "local-period", in cmd_annotate()
574 annotate.sym_hist_filter = argv[0]; in cmd_annotate()
577 if (symbol_conf.show_nr_samples && annotate.use_gtk) { in cmd_annotate()
587 annotate.session = perf_session__new(&data, false, &annotate.tool); in cmd_annotate()
588 if (IS_ERR(annotate.session)) in cmd_annotate()
589 return PTR_ERR(annotate.session); in cmd_annotate()
591 annotate.has_br_stack = perf_header__has_feat(&annotate.session->header, in cmd_annotate()
594 if (annotate.group_set) in cmd_annotate()
595 perf_evlist__force_leader(annotate.session->evlist); in cmd_annotate()
605 ret = symbol__init(&annotate.session->header.env); in cmd_annotate()
609 if (annotate.use_stdio || annotate.use_stdio2) in cmd_annotate()
611 else if (annotate.use_tui) in cmd_annotate()
613 else if (annotate.use_gtk) in cmd_annotate()
618 if ((use_browser == 1 || annotate.use_stdio2) && annotate.has_br_stack) { in cmd_annotate()
620 if (setup_sorting(annotate.session->evlist) < 0) in cmd_annotate()
627 ret = __cmd_annotate(&annotate); in cmd_annotate()