Lines Matching refs:annotate
140 int (*annotate)(struct hist_entry *he, in hists__find_annotations() local
144 annotate = dlsym(perf_gtk_handle, in hists__find_annotations()
146 if (annotate == NULL) { in hists__find_annotations()
151 ret = annotate(he, evsel, NULL); in hists__find_annotations()
273 struct perf_annotate annotate = { in cmd_annotate() local
294 OPT_STRING('s', "symbol", &annotate.sym_hist_filter, "symbol", in cmd_annotate()
301 OPT_BOOLEAN(0, "gtk", &annotate.use_gtk, "Use the GTK interface"), in cmd_annotate()
302 OPT_BOOLEAN(0, "tui", &annotate.use_tui, "Use the TUI interface"), in cmd_annotate()
303 OPT_BOOLEAN(0, "stdio", &annotate.use_stdio, "Use the stdio interface"), in cmd_annotate()
308 OPT_BOOLEAN('l', "print-line", &annotate.print_line, in cmd_annotate()
310 OPT_BOOLEAN('P', "full-paths", &annotate.full_paths, in cmd_annotate()
312 OPT_BOOLEAN(0, "skip-missing", &annotate.skip_missing, in cmd_annotate()
314 OPT_STRING('C', "cpu", &annotate.cpu_list, "cpu", "list of cpus to profile"), in cmd_annotate()
336 if (annotate.use_stdio) in cmd_annotate()
338 else if (annotate.use_tui) in cmd_annotate()
340 else if (annotate.use_gtk) in cmd_annotate()
345 annotate.session = perf_session__new(&file, false, &annotate.tool); in cmd_annotate()
346 if (annotate.session == NULL) in cmd_annotate()
352 ret = symbol__init(&annotate.session->header.env); in cmd_annotate()
367 annotate.sym_hist_filter = argv[0]; in cmd_annotate()
370 ret = __cmd_annotate(&annotate); in cmd_annotate()