Lines Matching refs:session

56 	struct perf_session		*session;  member
147 err = perf_session__deliver_synth_event(bts->session, &event, NULL); in intel_bts_lost()
310 ret = perf_session__deliver_synth_event(bts->session, &event, &sample); in intel_bts_synth_branch_sample()
370 err = perf_session__deliver_synth_event(bts->session, &event, NULL); in intel_bts_synth_error()
500 int fd = perf_data__fd(btsq->bts->session->data); in intel_bts_process_queue()
607 static int intel_bts_process_event(struct perf_session *session, in intel_bts_process_event() argument
612 struct intel_bts *bts = container_of(session->auxtrace, struct intel_bts, in intel_bts_process_event()
651 static int intel_bts_process_auxtrace_event(struct perf_session *session, in intel_bts_process_auxtrace_event() argument
655 struct intel_bts *bts = container_of(session->auxtrace, struct intel_bts, in intel_bts_process_auxtrace_event()
664 int fd = perf_data__fd(session->data); in intel_bts_process_auxtrace_event()
667 if (perf_data__is_pipe(session->data)) { in intel_bts_process_auxtrace_event()
675 err = auxtrace_queues__add_event(&bts->queues, session, event, in intel_bts_process_auxtrace_event()
693 static int intel_bts_flush(struct perf_session *session, in intel_bts_flush() argument
696 struct intel_bts *bts = container_of(session->auxtrace, struct intel_bts, in intel_bts_flush()
722 static void intel_bts_free_events(struct perf_session *session) in intel_bts_free_events() argument
724 struct intel_bts *bts = container_of(session->auxtrace, struct intel_bts, in intel_bts_free_events()
736 static void intel_bts_free(struct perf_session *session) in intel_bts_free() argument
738 struct intel_bts *bts = container_of(session->auxtrace, struct intel_bts, in intel_bts_free()
742 intel_bts_free_events(session); in intel_bts_free()
743 session->auxtrace = NULL; in intel_bts_free()
749 struct perf_session *session; member
760 return perf_session__deliver_synth_event(intel_bts_synth->session, in intel_bts_event_synth()
764 static int intel_bts_synth_event(struct perf_session *session, in intel_bts_synth_event() argument
770 intel_bts_synth.session = session; in intel_bts_synth_event()
777 struct perf_session *session) in intel_bts_synth_events() argument
779 struct perf_evlist *evlist = session->evlist; in intel_bts_synth_events()
824 err = intel_bts_synth_event(session, &attr, id); in intel_bts_synth_events()
865 struct perf_session *session) in intel_bts_process_auxtrace_info() argument
884 bts->session = session; in intel_bts_process_auxtrace_info()
885 bts->machine = &session->machines.host; /* No kvm support */ in intel_bts_process_auxtrace_info()
902 session->auxtrace = &bts->auxtrace; in intel_bts_process_auxtrace_info()
910 if (session->itrace_synth_opts && session->itrace_synth_opts->set) { in intel_bts_process_auxtrace_info()
911 bts->synth_opts = *session->itrace_synth_opts; in intel_bts_process_auxtrace_info()
914 if (session->itrace_synth_opts) in intel_bts_process_auxtrace_info()
916 session->itrace_synth_opts->thread_stack; in intel_bts_process_auxtrace_info()
926 err = intel_bts_synth_events(bts, session); in intel_bts_process_auxtrace_info()
930 err = auxtrace_queues__process_index(&bts->queues, session); in intel_bts_process_auxtrace_info()
941 session->auxtrace = NULL; in intel_bts_process_auxtrace_info()