Lines Matching refs:sid
603 struct perf_sample_id *sid; in evlist__id2sid() local
609 hlist_for_each_entry(sid, head, node) in evlist__id2sid()
610 if (sid->id == id) in evlist__id2sid()
611 return sid; in evlist__id2sid()
618 struct perf_sample_id *sid; in evlist__id2evsel() local
623 sid = evlist__id2sid(evlist, id); in evlist__id2evsel()
624 if (sid) in evlist__id2evsel()
625 return container_of(sid->evsel, struct evsel, core); in evlist__id2evsel()
635 struct perf_sample_id *sid; in evlist__id2evsel_strict() local
640 sid = evlist__id2sid(evlist, id); in evlist__id2evsel_strict()
641 if (sid) in evlist__id2evsel_strict()
642 return container_of(sid->evsel, struct evsel, core); in evlist__id2evsel_strict()
671 struct perf_sample_id *sid; in evlist__event2evsel() local
692 hlist_for_each_entry(sid, head, node) { in evlist__event2evsel()
693 if (sid->id == id) in evlist__event2evsel()
694 return container_of(sid->evsel, struct evsel, core); in evlist__event2evsel()