Lines Matching refs:session

48 	struct perf_session		*session;  member
190 int fd = perf_data__fd(speq->spe->session->data); in arm_spe_get_trace()
466 ret = perf_session__deliver_synth_event(spe->session, event, sample); in arm_spe_deliver_synth_event()
859 cpuid = perf_env__cpuid(perf_session__env(spe->session)); in arm_spe__synth_ds()
1173 struct evlist *evlist = spe->session->evlist; in arm_spe__is_timeless_decoding()
1282 static int arm_spe_process_event(struct perf_session *session, in arm_spe_process_event() argument
1289 struct arm_spe *spe = container_of(session->auxtrace, in arm_spe_process_event()
1331 static int arm_spe_process_auxtrace_event(struct perf_session *session, in arm_spe_process_auxtrace_event() argument
1335 struct arm_spe *spe = container_of(session->auxtrace, struct arm_spe, in arm_spe_process_auxtrace_event()
1341 int fd = perf_data__fd(session->data); in arm_spe_process_auxtrace_event()
1344 if (perf_data__is_pipe(session->data)) { in arm_spe_process_auxtrace_event()
1352 err = auxtrace_queues__add_event(&spe->queues, session, event, in arm_spe_process_auxtrace_event()
1370 static int arm_spe_flush(struct perf_session *session __maybe_unused, in arm_spe_flush()
1373 struct arm_spe *spe = container_of(session->auxtrace, struct arm_spe, in arm_spe_flush()
1482 static void arm_spe_free_events(struct perf_session *session) in arm_spe_free_events() argument
1484 struct arm_spe *spe = container_of(session->auxtrace, struct arm_spe, in arm_spe_free_events()
1496 static void arm_spe_free(struct perf_session *session) in arm_spe_free() argument
1498 struct arm_spe *spe = container_of(session->auxtrace, struct arm_spe, in arm_spe_free()
1502 arm_spe_free_events(session); in arm_spe_free()
1503 session->auxtrace = NULL; in arm_spe_free()
1508 static bool arm_spe_evsel_is_auxtrace(struct perf_session *session, in arm_spe_evsel_is_auxtrace() argument
1511 struct arm_spe *spe = container_of(session->auxtrace, struct arm_spe, auxtrace); in arm_spe_evsel_is_auxtrace()
1588 arm_spe_synth_events(struct arm_spe *spe, struct perf_session *session) in arm_spe_synth_events() argument
1590 struct evlist *evlist = session->evlist; in arm_spe_synth_events()
1642 err = perf_session__deliver_synth_attr_event(session, &attr, id); in arm_spe_synth_events()
1650 err = perf_session__deliver_synth_attr_event(session, &attr, id); in arm_spe_synth_events()
1662 err = perf_session__deliver_synth_attr_event(session, &attr, id); in arm_spe_synth_events()
1670 err = perf_session__deliver_synth_attr_event(session, &attr, id); in arm_spe_synth_events()
1682 err = perf_session__deliver_synth_attr_event(session, &attr, id); in arm_spe_synth_events()
1690 err = perf_session__deliver_synth_attr_event(session, &attr, id); in arm_spe_synth_events()
1715 err = perf_session__deliver_synth_attr_event(session, &attr, id); in arm_spe_synth_events()
1727 err = perf_session__deliver_synth_attr_event(session, &attr, id); in arm_spe_synth_events()
1738 err = perf_session__deliver_synth_attr_event(session, &attr, id); in arm_spe_synth_events()
1759 err = perf_session__deliver_synth_attr_event(session, &attr, id); in arm_spe_synth_events()
1795 struct perf_session *session) in arm_spe_process_auxtrace_info() argument
1799 struct perf_record_time_conv *tc = &session->time_conv; in arm_spe_process_auxtrace_info()
1826 spe->session = session; in arm_spe_process_auxtrace_info()
1827 spe->machine = &session->machines.host; /* No kvm support */ in arm_spe_process_auxtrace_info()
1867 session->auxtrace = &spe->auxtrace; in arm_spe_process_auxtrace_info()
1874 if (session->itrace_synth_opts && session->itrace_synth_opts->set) in arm_spe_process_auxtrace_info()
1875 spe->synth_opts = *session->itrace_synth_opts; in arm_spe_process_auxtrace_info()
1879 err = arm_spe_synth_events(spe, session); in arm_spe_process_auxtrace_info()
1883 err = auxtrace_queues__process_index(&spe->queues, session); in arm_spe_process_auxtrace_info()
1894 session->auxtrace = NULL; in arm_spe_process_auxtrace_info()