Lines Matching refs:ann

195 				   struct perf_annotate *ann,
224 ret = hist_entry_iter__add(&iter, &a, PERF_MAX_STACK_DEPTH, ann);
230 static bool has_annotation(struct perf_annotate *ann)
232 return ui__has_annotation() || ann->use_stdio2;
236 struct addr_location *al, struct perf_annotate *ann,
243 if ((!ann->has_br_stack || !has_annotation(ann)) &&
244 ann->sym_hist_filter != NULL &&
246 strcmp(ann->sym_hist_filter, al->sym->name) != 0)) {
268 if (ann->has_br_stack && has_annotation(ann))
269 return process_branch_callback(evsel, sample, al, ann, machine);
286 struct perf_annotate *ann = container_of(tool, struct perf_annotate, tool);
298 if (ann->cpu_list && !test_bit(sample->cpu, ann->cpu_bitmap))
302 evsel__add_sample(evsel, sample, &al, ann, machine)) {
322 struct perf_annotate *ann)
324 if (!ann->use_stdio2)
476 struct perf_annotate *ann)
481 if (ann->type_stat)
483 if (ann->insn_stat)
493 if (ann->sym_hist_filter &&
494 (strcmp(he->ms.sym->name, ann->sym_hist_filter) != 0))
497 if (ann->min_percent) {
504 if (percent < ann->min_percent)
518 if (ann->data_type) {
523 if (ann->target_data_type) {
527 if (strncmp(ann->target_data_type, "struct ", 7) &&
532 if (strncmp(ann->target_data_type, "union ", 6) &&
536 if (strcmp(ann->target_data_type, type_name))
560 if (!ret || !ann->skip_missing)
570 if (!ann->skip_missing)
588 hist_entry__tty_annotate(he, evsel, ann);
594 static int __cmd_annotate(struct perf_annotate *ann)
597 struct perf_session *session = ann->session;
601 if (ann->cpu_list) {
602 ret = perf_session__cpu_bitmap(session, ann->cpu_list,
603 ann->cpu_bitmap);
658 hists__find_annotations(hists, pos, ann);
678 hists__find_annotations(hists, pos, ann);
700 struct perf_annotate *ann = opt->value;
703 ann->min_percent = pcnt;
709 struct perf_annotate *ann = opt->value;
711 ann->data_type = !unset;
713 ann->target_data_type = strdup(str);