Searched refs:switch_evsel (Results 1 – 3 of 3) sorted by relevance
64 struct evsel *switch_evsel; member140 if (evsel == switch_tracking->switch_evsel) { in process_sample_event()344 struct evsel *switch_evsel, *tracking_evsel; in test__switch_tracking() local393 switch_evsel = evlist__add_sched_switch(evlist, true); in test__switch_tracking()394 if (IS_ERR(switch_evsel)) { in test__switch_tracking()395 err = PTR_ERR(switch_evsel); in test__switch_tracking()400 switch_evsel->immediate = true; in test__switch_tracking()537 switch_tracking.switch_evsel = switch_evsel; in test__switch_tracking()
805 struct evsel *switch_evsel; in intel_pt_recording_options() local807 switch_evsel = evlist__add_dummy_on_all_cpus(evlist); in intel_pt_recording_options()808 if (!switch_evsel) in intel_pt_recording_options()811 switch_evsel->core.attr.context_switch = 1; in intel_pt_recording_options()812 switch_evsel->immediate = true; in intel_pt_recording_options()814 evsel__set_sample_bit(switch_evsel, TID); in intel_pt_recording_options()815 evsel__set_sample_bit(switch_evsel, TIME); in intel_pt_recording_options()816 evsel__set_sample_bit(switch_evsel, CPU); in intel_pt_recording_options()817 evsel__reset_sample_bit(switch_evsel, BRANCH_STACK); in intel_pt_recording_options()
68 struct evsel *switch_evsel; member3220 if (evsel != pt->switch_evsel) in intel_pt_process_switch()3512 if (pt->switch_evsel && event->header.type == PERF_RECORD_SAMPLE) in intel_pt_process_event()4366 pt->switch_evsel = intel_pt_find_sched_switch(session->evlist); in intel_pt_process_auxtrace_info()4367 if (!pt->switch_evsel) { in intel_pt_process_auxtrace_info()