Lines Matching refs:sid
602 struct perf_sample_id *sid; in evlist__id2sid() local
608 hlist_for_each_entry(sid, head, node) in evlist__id2sid()
609 if (sid->id == id) in evlist__id2sid()
610 return sid; in evlist__id2sid()
617 struct perf_sample_id *sid; in evlist__id2evsel() local
622 sid = evlist__id2sid(evlist, id); in evlist__id2evsel()
623 if (sid) in evlist__id2evsel()
624 return container_of(sid->evsel, struct evsel, core); in evlist__id2evsel()
634 struct perf_sample_id *sid; in evlist__id2evsel_strict() local
639 sid = evlist__id2sid(evlist, id); in evlist__id2evsel_strict()
640 if (sid) in evlist__id2evsel_strict()
641 return container_of(sid->evsel, struct evsel, core); in evlist__id2evsel_strict()
670 struct perf_sample_id *sid; in evlist__event2evsel() local
691 hlist_for_each_entry(sid, head, node) { in evlist__event2evsel()
692 if (sid->id == id) in evlist__event2evsel()
693 return container_of(sid->evsel, struct evsel, core); in evlist__event2evsel()
1586 struct perf_sample_id *sid = evlist__id2sid(evlist, sample->id); in evlist__parse_sample() local
1588 if (sid) { in evlist__parse_sample()
1589 sample->machine_pid = sid->machine_pid; in evlist__parse_sample()
1590 sample->vcpu = sid->vcpu.cpu; in evlist__parse_sample()