Lines Matching defs:evsel

32 #include "evsel.h"
959 struct evsel *evsel, u64 addr,
967 src = symbol__hists(sym, evsel->evlist->core.nr_entries);
968 return src ? __symbol__inc_addr_samples(ms, src, evsel->idx, addr, sample) : 0;
1110 struct evsel *evsel)
1112 return symbol__inc_addr_samples(&ams->ms, evsel, ams->al_addr, sample);
1116 struct evsel *evsel, u64 ip)
1118 return symbol__inc_addr_samples(&he->ms, evsel, ip, sample);
1163 struct evsel *evsel;
1209 if (evsel__is_group_event(args->evsel))
1210 nr = args->evsel->core.nr_members;
1367 struct evsel *evsel, u64 len, int min_pcnt, int printed,
1404 annotation_line__print(queue, sym, start, evsel, len,
1455 if (evsel__is_group_event(evsel))
1456 width *= evsel->core.nr_members;
2138 struct evsel *leader, s64 len)
2141 struct evsel *evsel;
2153 for_each_group_evsel(evsel, leader) {
2154 struct hists *hists = evsel__hists(evsel);
2160 sym_hist = annotation__histogram(notes, evsel->idx);
2168 void symbol__calc_percent(struct symbol *sym, struct evsel *evsel)
2172 annotation__calc_percent(notes, evsel, symbol__size(sym));
2175 int symbol__annotate(struct map_symbol *ms, struct evsel *evsel,
2181 .evsel = evsel,
2184 struct perf_env *env = evsel__env(evsel);
2340 static void symbol__annotate_hits(struct symbol *sym, struct evsel *evsel)
2343 struct sym_hist *h = annotation__histogram(notes, evsel->idx);
2366 int symbol__annotate_printf(struct map_symbol *ms, struct evsel *evsel,
2374 const char *evsel_name = evsel__name(evsel);
2376 struct sym_hist *h = annotation__histogram(notes, evsel->idx);
2398 if (evsel__is_group_event(evsel)) {
2399 width *= evsel->core.nr_members;
2400 evsel__group_desc(evsel, buf, sizeof(buf));
2415 symbol__annotate_hits(sym, evsel);
2427 err = annotation_line__print(pos, sym, start, evsel, len,
2532 int map_symbol__annotation_dump(struct map_symbol *ms, struct evsel *evsel,
2535 const char *ev_name = evsel__name(evsel);
2548 if (evsel__is_group_event(evsel)) {
2549 evsel__group_desc(evsel, buf, sizeof(buf));
2782 int symbol__tty_annotate2(struct map_symbol *ms, struct evsel *evsel,
2788 struct hists *hists = evsel__hists(evsel);
2791 if (symbol__annotate2(ms, evsel, opts, NULL) < 0)
2810 int symbol__tty_annotate(struct map_symbol *ms, struct evsel *evsel,
2817 if (symbol__annotate(ms, evsel, opts, NULL) < 0)
2820 symbol__calc_percent(sym, evsel);
2828 symbol__annotate_printf(ms, evsel, opts);
3082 int symbol__annotate2(struct map_symbol *ms, struct evsel *evsel,
3094 if (evsel__is_group_event(evsel))
3095 nr_pcnt = evsel->core.nr_members;
3097 err = symbol__annotate(ms, evsel, options, parch);
3103 symbol__calc_percent(sym, evsel);