Lines Matching defs:ann

181 				   struct perf_annotate *ann,
206 ret = hist_entry_iter__add(&iter, &a, PERF_MAX_STACK_DEPTH, ann);
210 static bool has_annotation(struct perf_annotate *ann)
212 return ui__has_annotation() || ann->use_stdio2;
216 struct addr_location *al, struct perf_annotate *ann,
223 if ((!ann->has_br_stack || !has_annotation(ann)) &&
224 ann->sym_hist_filter != NULL &&
226 strcmp(ann->sym_hist_filter, al->sym->name) != 0)) {
247 if (ann->has_br_stack && has_annotation(ann))
248 return process_branch_callback(evsel, sample, al, ann, machine);
265 struct perf_annotate *ann = container_of(tool, struct perf_annotate, tool);
275 if (ann->cpu_list && !test_bit(sample->cpu, ann->cpu_bitmap))
279 evsel__add_sample(evsel, sample, &al, ann, machine)) {
299 struct perf_annotate *ann)
301 if (!ann->use_stdio2)
302 return symbol__tty_annotate(&he->ms, evsel, &ann->opts);
304 return symbol__tty_annotate2(&he->ms, evsel, &ann->opts);
309 struct perf_annotate *ann)
321 if (ann->sym_hist_filter &&
322 (strcmp(he->ms.sym->name, ann->sym_hist_filter) != 0))
349 if (!ret || !ann->skip_missing)
355 key = hist_entry__tui_annotate(he, evsel, NULL, &ann->opts);
359 if (!ann->skip_missing)
375 hist_entry__tty_annotate(he, evsel, ann);
388 static int __cmd_annotate(struct perf_annotate *ann)
391 struct perf_session *session = ann->session;
395 if (ann->cpu_list) {
396 ret = perf_session__cpu_bitmap(session, ann->cpu_list,
397 ann->cpu_bitmap);
402 if (!ann->opts.objdump_path) {
404 &ann->opts.objdump_path);
440 hists__find_annotations(hists, pos, ann);