Lines Matching defs:session

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