Lines Matching defs:evsel
28 #include "evsel.h"
1001 struct evsel *evsel, u64 addr,
1009 src = symbol__hists(sym, evsel->evlist->core.nr_entries);
1010 return src ? __symbol__inc_addr_samples(ms, src, evsel->core.idx, addr, sample) : 0;
1152 struct evsel *evsel)
1154 return symbol__inc_addr_samples(&ams->ms, evsel, ams->al_addr, sample);
1158 struct evsel *evsel, u64 ip)
1160 return symbol__inc_addr_samples(&he->ms, evsel, ip, sample);
1205 struct evsel *evsel;
1253 if (evsel__is_group_event(args->evsel))
1254 nr = args->evsel->core.nr_members;
1469 struct evsel *evsel, u64 len, int min_pcnt, int printed,
1505 annotation_line__print(queue, sym, start, evsel, len,
1555 if (evsel__is_group_event(evsel))
1556 width *= evsel->core.nr_members;
2265 struct evsel *leader, s64 len)
2268 struct evsel *evsel;
2280 for_each_group_evsel(evsel, leader) {
2281 struct hists *hists = evsel__hists(evsel);
2287 sym_hist = annotation__histogram(notes, evsel->core.idx);
2295 void symbol__calc_percent(struct symbol *sym, struct evsel *evsel)
2299 annotation__calc_percent(notes, evsel, symbol__size(sym));
2302 int symbol__annotate(struct map_symbol *ms, struct evsel *evsel,
2308 .evsel = evsel,
2311 struct perf_env *env = evsel__env(evsel);
2470 static void symbol__annotate_hits(struct symbol *sym, struct evsel *evsel)
2473 struct sym_hist *h = annotation__histogram(notes, evsel->core.idx);
2496 int symbol__annotate_printf(struct map_symbol *ms, struct evsel *evsel,
2504 const char *evsel_name = evsel__name(evsel);
2506 struct sym_hist *h = annotation__histogram(notes, evsel->core.idx);
2528 if (evsel__is_group_event(evsel)) {
2529 width *= evsel->core.nr_members;
2530 evsel__group_desc(evsel, buf, sizeof(buf));
2545 symbol__annotate_hits(sym, evsel);
2557 err = annotation_line__print(pos, sym, start, evsel, len,
2662 int map_symbol__annotation_dump(struct map_symbol *ms, struct evsel *evsel,
2665 const char *ev_name = evsel__name(evsel);
2678 if (evsel__is_group_event(evsel)) {
2679 evsel__group_desc(evsel, buf, sizeof(buf));
2926 int symbol__tty_annotate2(struct map_symbol *ms, struct evsel *evsel,
2932 struct hists *hists = evsel__hists(evsel);
2936 err = symbol__annotate2(ms, evsel, opts, NULL);
2962 int symbol__tty_annotate(struct map_symbol *ms, struct evsel *evsel,
2970 err = symbol__annotate(ms, evsel, opts, NULL);
2980 symbol__calc_percent(sym, evsel);
2988 symbol__annotate_printf(ms, evsel, opts);
3242 int symbol__annotate2(struct map_symbol *ms, struct evsel *evsel,
3254 if (evsel__is_group_event(evsel))
3255 nr_pcnt = evsel->core.nr_members;
3257 err = symbol__annotate(ms, evsel, options, parch);
3263 symbol__calc_percent(sym, evsel);