Lines Matching refs:first

147 	struct evsel *first = evlist__first(evlist);  in evlist__set_id_pos()  local
149 evlist->id_pos = first->id_pos; in evlist__set_id_pos()
150 evlist->is_pos = first->is_pos; in evlist__set_id_pos()
668 struct evsel *first = evlist__first(evlist); in evlist__event2evsel() local
675 return first; in evlist__event2evsel()
677 if (!first->core.attr.sample_id_all && in evlist__event2evsel()
679 return first; in evlist__event2evsel()
686 return first; in evlist__event2evsel()
1279 struct evsel *first = evlist__first(evlist), *pos = first; in evlist__valid_read_format() local
1280 u64 read_format = first->core.attr.read_format; in evlist__valid_read_format()
1281 u64 sample_type = first->core.attr.sample_type; in evlist__valid_read_format()
1301 struct evsel *first = evlist__first(evlist); in evlist__id_hdr_size() local
1303 return first->core.attr.sample_id_all ? evsel__id_hdr_size(first) : 0; in evlist__id_hdr_size()
1308 struct evsel *first = evlist__first(evlist), *pos = first; in evlist__valid_sample_id_all() local
1311 if (first->core.attr.sample_id_all != pos->core.attr.sample_id_all) in evlist__valid_sample_id_all()
1320 struct evsel *first = evlist__first(evlist); in evlist__sample_id_all() local
1321 return first->core.attr.sample_id_all; in evlist__sample_id_all()
1633 struct evsel *first = evlist__first(evlist); in evlist__strerror_open() local
1639 if (first->core.attr.sample_freq < (u64)max_freq) in evlist__strerror_open()
1646 emsg, max_freq, first->core.attr.sample_freq); in evlist__strerror_open()
2244 static int parse_event_enable_time(const char *str, struct event_enable_time *range, bool first) in parse_event_enable_time() argument
2246 const char *fmt = first ? "%u - %u %n" : " , %u - %u %n"; in parse_event_enable_time()
2262 bool first = true; in parse_event_enable_times() local
2266 ret = parse_event_enable_time(str, range, first); in parse_event_enable_times()
2270 if (!first && range && range->start <= range[-1].end) in parse_event_enable_times()
2274 first = false; in parse_event_enable_times()
2476 bool first = true; in evlist__format_evsels() local
2487 if (!first) in evlist__format_evsels()
2498 first = false; in evlist__format_evsels()
2562 bool first = true; in evlist__disable_uniquify() local
2566 if (!first && counter->pmu != last_pmu) in evlist__disable_uniquify()
2568 first = false; in evlist__disable_uniquify()