Lines Matching refs:guest_session
76 struct guest_session { struct
133 struct guest_session guest_session; member
1030 static struct guest_vcpu *guest_session__vcpu(struct guest_session *gs, u32 vcpu) in guest_session__vcpu()
1037 static int guest_session__output_bytes(struct guest_session *gs, void *buf, size_t sz) in guest_session__output_bytes()
1049 struct guest_session *gs = container_of(tool, struct guest_session, tool); in guest_session__repipe()
1054 static int guest_session__map_tid(struct guest_session *gs, u32 tid, u32 vcpu) in guest_session__map_tid()
1074 struct guest_session *gs = data; in host_peek_vm_comms_cb()
1109 static int host_peek_vm_comms(struct perf_session *session, struct guest_session *gs) in host_peek_vm_comms()
1121 static u64 guest_session__allocate_new_id(struct guest_session *gs, struct evlist *host_evlist) in guest_session__allocate_new_id()
1130 static int guest_session__map_id(struct guest_session *gs, u64 id, u64 host_id, u32 vcpu) in guest_session__map_id()
1166 static int guest_session__map_ids(struct guest_session *gs, struct evlist *host_evlist) in guest_session__map_ids()
1194 static struct guest_id *guest_session__lookup_id(struct guest_session *gs, u64 id) in guest_session__lookup_id()
1219 static int guest_session__add_attr(struct guest_session *gs, struct evsel *evsel) in guest_session__add_attr()
1221 struct perf_inject *inject = container_of(gs, struct perf_inject, guest_session); in guest_session__add_attr()
1275 static int guest_session__add_attrs(struct guest_session *gs) in guest_session__add_attrs()
1301 static struct guest_tid *guest_session__lookup_tid(struct guest_session *gs, u32 tid) in guest_session__lookup_tid()
1376 struct guest_session *gs = data; in guest_session__add_build_ids_cb()
1377 struct perf_inject *inject = container_of(gs, struct perf_inject, guest_session); in guest_session__add_build_ids_cb()
1386 static int guest_session__add_build_ids(struct guest_session *gs) in guest_session__add_build_ids()
1388 struct perf_inject *inject = container_of(gs, struct perf_inject, guest_session); in guest_session__add_build_ids()
1403 struct guest_session *gs = container_of(tool, struct guest_session, tool); in guest_session__ksymbol_event()
1412 static int guest_session__start(struct guest_session *gs, const char *name, bool force) in guest_session__start()
1501 static void guest_session__exit(struct guest_session *gs) in guest_session__exit()
1529 static void guest_session__get_tc(struct guest_session *gs) in guest_session__get_tc()
1531 struct perf_inject *inject = container_of(gs, struct perf_inject, guest_session); in guest_session__get_tc()
1537 static void guest_session__convert_time(struct guest_session *gs, u64 guest_time, u64 *host_time) in guest_session__convert_time()
1564 static int guest_session__fetch(struct guest_session *gs) in guest_session__fetch()
1649 static int guest_session__inject_events(struct guest_session *gs, u64 timestamp) in guest_session__inject_events()
1651 struct perf_inject *inject = container_of(gs, struct perf_inject, guest_session); in guest_session__inject_events()
1757 static int guest_session__flush_events(struct guest_session *gs) in guest_session__flush_events()
1770 ret = guest_session__inject_events(&inject->guest_session, sample->time); in host__repipe()
1780 struct guest_session *gs = &inject->guest_session; in host__finished_init()
1846 ret = guest_session__inject_events(&inject->guest_session, timestamp); in host__finished_round()
1860 struct guest_session *gs = &inject->guest_session; in host__context_switch()
1960 struct guest_session *gs = &inject->guest_session; in parse_guest_data()
1986 if (!inject->guest_session.machine_pid) in parse_guest_data()
2141 static int guest_session__copy_kcore_dir(struct guest_session *gs) in guest_session__copy_kcore_dir()
2143 struct perf_inject *inject = container_of(gs, struct perf_inject, guest_session); in guest_session__copy_kcore_dir()
2165 struct guest_session *gs = &inject->guest_session; in __cmd_inject()
2610 guest_session__exit(&inject.guest_session); in cmd_inject()
2621 free(inject.guest_session.ev.event_buf); in cmd_inject()