• Home
  • Raw
  • Download

Lines Matching refs:session

44 	struct perf_session		*session;  member
158 int fd = perf_data__fd(speq->spe->session->data); in arm_spe_get_trace()
268 ret = perf_session__deliver_synth_event(spe->session, event, sample); in arm_spe_deliver_synth_event()
472 struct evlist *evlist = spe->session->evlist; in arm_spe__is_timeless_decoding()
582 static int arm_spe_process_event(struct perf_session *session, in arm_spe_process_event() argument
589 struct arm_spe *spe = container_of(session->auxtrace, in arm_spe_process_event()
628 static int arm_spe_process_auxtrace_event(struct perf_session *session, in arm_spe_process_auxtrace_event() argument
632 struct arm_spe *spe = container_of(session->auxtrace, struct arm_spe, in arm_spe_process_auxtrace_event()
638 int fd = perf_data__fd(session->data); in arm_spe_process_auxtrace_event()
641 if (perf_data__is_pipe(session->data)) { in arm_spe_process_auxtrace_event()
649 err = auxtrace_queues__add_event(&spe->queues, session, event, in arm_spe_process_auxtrace_event()
667 static int arm_spe_flush(struct perf_session *session __maybe_unused, in arm_spe_flush()
670 struct arm_spe *spe = container_of(session->auxtrace, struct arm_spe, in arm_spe_flush()
703 static void arm_spe_free_events(struct perf_session *session) in arm_spe_free_events() argument
705 struct arm_spe *spe = container_of(session->auxtrace, struct arm_spe, in arm_spe_free_events()
717 static void arm_spe_free(struct perf_session *session) in arm_spe_free() argument
719 struct arm_spe *spe = container_of(session->auxtrace, struct arm_spe, in arm_spe_free()
723 arm_spe_free_events(session); in arm_spe_free()
724 session->auxtrace = NULL; in arm_spe_free()
728 static bool arm_spe_evsel_is_auxtrace(struct perf_session *session, in arm_spe_evsel_is_auxtrace() argument
731 struct arm_spe *spe = container_of(session->auxtrace, struct arm_spe, auxtrace); in arm_spe_evsel_is_auxtrace()
750 struct perf_session *session; member
761 return perf_session__deliver_synth_event(arm_spe_synth->session, in arm_spe_event_synth()
765 static int arm_spe_synth_event(struct perf_session *session, in arm_spe_synth_event() argument
771 arm_spe_synth.session = session; in arm_spe_synth_event()
793 arm_spe_synth_events(struct arm_spe *spe, struct perf_session *session) in arm_spe_synth_events() argument
795 struct evlist *evlist = session->evlist; in arm_spe_synth_events()
845 err = arm_spe_synth_event(session, &attr, id); in arm_spe_synth_events()
853 err = arm_spe_synth_event(session, &attr, id); in arm_spe_synth_events()
865 err = arm_spe_synth_event(session, &attr, id); in arm_spe_synth_events()
873 err = arm_spe_synth_event(session, &attr, id); in arm_spe_synth_events()
885 err = arm_spe_synth_event(session, &attr, id); in arm_spe_synth_events()
893 err = arm_spe_synth_event(session, &attr, id); in arm_spe_synth_events()
905 err = arm_spe_synth_event(session, &attr, id); in arm_spe_synth_events()
917 err = arm_spe_synth_event(session, &attr, id); in arm_spe_synth_events()
929 struct perf_session *session) in arm_spe_process_auxtrace_info() argument
948 spe->session = session; in arm_spe_process_auxtrace_info()
949 spe->machine = &session->machines.host; /* No kvm support */ in arm_spe_process_auxtrace_info()
960 session->auxtrace = &spe->auxtrace; in arm_spe_process_auxtrace_info()
967 if (session->itrace_synth_opts && session->itrace_synth_opts->set) in arm_spe_process_auxtrace_info()
968 spe->synth_opts = *session->itrace_synth_opts; in arm_spe_process_auxtrace_info()
972 err = arm_spe_synth_events(spe, session); in arm_spe_process_auxtrace_info()
976 err = auxtrace_queues__process_index(&spe->queues, session); in arm_spe_process_auxtrace_info()
987 session->auxtrace = NULL; in arm_spe_process_auxtrace_info()