Lines Matching refs:annotate
147 int (*annotate)(struct hist_entry *he, in hists__find_annotations() local
151 annotate = dlsym(perf_gtk_handle, in hists__find_annotations()
153 if (annotate == NULL) { in hists__find_annotations()
158 ret = annotate(he, evsel, NULL); in hists__find_annotations()
283 struct perf_annotate annotate = { in cmd_annotate() local
303 OPT_STRING('s', "symbol", &annotate.sym_hist_filter, "symbol", in cmd_annotate()
310 OPT_BOOLEAN(0, "gtk", &annotate.use_gtk, "Use the GTK interface"), in cmd_annotate()
311 OPT_BOOLEAN(0, "tui", &annotate.use_tui, "Use the TUI interface"), in cmd_annotate()
312 OPT_BOOLEAN(0, "stdio", &annotate.use_stdio, "Use the stdio interface"), in cmd_annotate()
317 OPT_BOOLEAN('l', "print-line", &annotate.print_line, in cmd_annotate()
319 OPT_BOOLEAN('P', "full-paths", &annotate.full_paths, in cmd_annotate()
321 OPT_BOOLEAN(0, "skip-missing", &annotate.skip_missing, in cmd_annotate()
323 OPT_STRING('C', "cpu", &annotate.cpu_list, "cpu", "list of cpus to profile"), in cmd_annotate()
347 if (annotate.use_stdio) in cmd_annotate()
349 else if (annotate.use_tui) in cmd_annotate()
351 else if (annotate.use_gtk) in cmd_annotate()
358 annotate.session = perf_session__new(&file, false, &annotate.tool); in cmd_annotate()
359 if (annotate.session == NULL) in cmd_annotate()
365 ret = symbol__init(&annotate.session->header.env); in cmd_annotate()
380 annotate.sym_hist_filter = argv[0]; in cmd_annotate()
383 ret = __cmd_annotate(&annotate); in cmd_annotate()