Lines Matching defs:ann

188 				   struct perf_annotate *ann,
217 ret = hist_entry_iter__add(&iter, &a, PERF_MAX_STACK_DEPTH, ann);
223 static bool has_annotation(struct perf_annotate *ann)
225 return ui__has_annotation() || ann->use_stdio2;
229 struct addr_location *al, struct perf_annotate *ann,
236 if ((!ann->has_br_stack || !has_annotation(ann)) &&
237 ann->sym_hist_filter != NULL &&
239 strcmp(ann->sym_hist_filter, al->sym->name) != 0)) {
261 if (ann->has_br_stack && has_annotation(ann))
262 return process_branch_callback(evsel, sample, al, ann, machine);
279 struct perf_annotate *ann = container_of(tool, struct perf_annotate, tool);
291 if (ann->cpu_list && !test_bit(sample->cpu, ann->cpu_bitmap))
295 evsel__add_sample(evsel, sample, &al, ann, machine)) {
315 struct perf_annotate *ann)
317 if (!ann->use_stdio2)
318 return symbol__tty_annotate(&he->ms, evsel, &ann->opts);
320 return symbol__tty_annotate2(&he->ms, evsel, &ann->opts);
325 struct perf_annotate *ann)
337 if (ann->sym_hist_filter &&
338 (strcmp(he->ms.sym->name, ann->sym_hist_filter) != 0))
341 if (ann->min_percent) {
348 if (percent < ann->min_percent)
376 ret = annotate(he, evsel, &ann->opts, NULL);
377 if (!ret || !ann->skip_missing)
383 key = hist_entry__tui_annotate(he, evsel, NULL, &ann->opts);
387 if (!ann->skip_missing)
405 hist_entry__tty_annotate(he, evsel, ann);
411 static int __cmd_annotate(struct perf_annotate *ann)
414 struct perf_session *session = ann->session;
418 if (ann->cpu_list) {
419 ret = perf_session__cpu_bitmap(session, ann->cpu_list,
420 ann->cpu_bitmap);
425 if (!ann->opts.objdump_path) {
427 &ann->opts.objdump_path);
463 hists__find_annotations(hists, pos, ann);
491 struct perf_annotate *ann = opt->value;
494 ann->min_percent = pcnt;