Lines Matching refs:first
140 struct evsel *first = evlist__first(evlist);
142 evlist->id_pos = first->id_pos;
143 evlist->is_pos = first->is_pos;
715 struct evsel *first = evlist__first(evlist);
722 return first;
724 if (!first->core.attr.sample_id_all &&
726 return first;
733 return first;
1265 struct evsel *first = evlist__first(evlist), *pos = first;
1266 u64 read_format = first->core.attr.read_format;
1267 u64 sample_type = first->core.attr.sample_type;
1287 struct evsel *first = evlist__first(evlist);
1289 return first->core.attr.sample_id_all ? evsel__id_hdr_size(first) : 0;
1294 struct evsel *first = evlist__first(evlist), *pos = first;
1297 if (first->core.attr.sample_id_all != pos->core.attr.sample_id_all)
1306 struct evsel *first = evlist__first(evlist);
1307 return first->core.attr.sample_id_all;
1606 struct evsel *first = evlist__first(evlist);
1612 if (first->core.attr.sample_freq < (u64)max_freq)
1619 emsg, max_freq, first->core.attr.sample_freq);
1815 * include the first entry.
2199 static int parse_event_enable_time(const char *str, struct event_enable_time *range, bool first)
2201 const char *fmt = first ? "%u - %u %n" : " , %u - %u %n";
2217 bool first = true;
2221 ret = parse_event_enable_time(str, range, first);
2225 if (!first && range && range->start <= range[-1].end)
2229 first = false;