Lines Matching refs:session

44 	struct perf_session		*session;  member
157 int fd = perf_data__fd(speq->spe->session->data); in arm_spe_get_trace()
255 ret = perf_session__deliver_synth_event(spe->session, event, sample); in arm_spe_deliver_synth_event()
459 struct evlist *evlist = spe->session->evlist; in arm_spe__is_timeless_decoding()
569 static int arm_spe_process_event(struct perf_session *session, in arm_spe_process_event() argument
576 struct arm_spe *spe = container_of(session->auxtrace, in arm_spe_process_event()
615 static int arm_spe_process_auxtrace_event(struct perf_session *session, in arm_spe_process_auxtrace_event() argument
619 struct arm_spe *spe = container_of(session->auxtrace, struct arm_spe, in arm_spe_process_auxtrace_event()
625 int fd = perf_data__fd(session->data); in arm_spe_process_auxtrace_event()
628 if (perf_data__is_pipe(session->data)) { in arm_spe_process_auxtrace_event()
636 err = auxtrace_queues__add_event(&spe->queues, session, event, in arm_spe_process_auxtrace_event()
654 static int arm_spe_flush(struct perf_session *session __maybe_unused, in arm_spe_flush()
657 struct arm_spe *spe = container_of(session->auxtrace, struct arm_spe, in arm_spe_flush()
690 static void arm_spe_free_events(struct perf_session *session) in arm_spe_free_events() argument
692 struct arm_spe *spe = container_of(session->auxtrace, struct arm_spe, in arm_spe_free_events()
704 static void arm_spe_free(struct perf_session *session) in arm_spe_free() argument
706 struct arm_spe *spe = container_of(session->auxtrace, struct arm_spe, in arm_spe_free()
710 arm_spe_free_events(session); in arm_spe_free()
711 session->auxtrace = NULL; in arm_spe_free()
715 static bool arm_spe_evsel_is_auxtrace(struct perf_session *session, in arm_spe_evsel_is_auxtrace() argument
718 struct arm_spe *spe = container_of(session->auxtrace, struct arm_spe, auxtrace); in arm_spe_evsel_is_auxtrace()
737 struct perf_session *session; member
748 return perf_session__deliver_synth_event(arm_spe_synth->session, in arm_spe_event_synth()
752 static int arm_spe_synth_event(struct perf_session *session, in arm_spe_synth_event() argument
758 arm_spe_synth.session = session; in arm_spe_synth_event()
780 arm_spe_synth_events(struct arm_spe *spe, struct perf_session *session) in arm_spe_synth_events() argument
782 struct evlist *evlist = session->evlist; in arm_spe_synth_events()
830 err = arm_spe_synth_event(session, &attr, id); in arm_spe_synth_events()
838 err = arm_spe_synth_event(session, &attr, id); in arm_spe_synth_events()
850 err = arm_spe_synth_event(session, &attr, id); in arm_spe_synth_events()
858 err = arm_spe_synth_event(session, &attr, id); in arm_spe_synth_events()
870 err = arm_spe_synth_event(session, &attr, id); in arm_spe_synth_events()
878 err = arm_spe_synth_event(session, &attr, id); in arm_spe_synth_events()
890 err = arm_spe_synth_event(session, &attr, id); in arm_spe_synth_events()
902 err = arm_spe_synth_event(session, &attr, id); in arm_spe_synth_events()
914 struct perf_session *session) in arm_spe_process_auxtrace_info() argument
933 spe->session = session; in arm_spe_process_auxtrace_info()
934 spe->machine = &session->machines.host; /* No kvm support */ in arm_spe_process_auxtrace_info()
945 session->auxtrace = &spe->auxtrace; in arm_spe_process_auxtrace_info()
952 if (session->itrace_synth_opts && session->itrace_synth_opts->set) in arm_spe_process_auxtrace_info()
953 spe->synth_opts = *session->itrace_synth_opts; in arm_spe_process_auxtrace_info()
957 err = arm_spe_synth_events(spe, session); in arm_spe_process_auxtrace_info()
961 err = auxtrace_queues__process_index(&spe->queues, session); in arm_spe_process_auxtrace_info()
972 session->auxtrace = NULL; in arm_spe_process_auxtrace_info()