Searched refs:switch_evsel (Results 1 – 3 of 3) sorted by relevance
63 struct evsel *switch_evsel; member139 if (evsel == switch_tracking->switch_evsel) { in process_sample_event()343 struct evsel *switch_evsel, *tracking_evsel; in test__switch_tracking() local402 switch_evsel = evlist__add_sched_switch(evlist, true); in test__switch_tracking()403 if (IS_ERR(switch_evsel)) { in test__switch_tracking()404 err = PTR_ERR(switch_evsel); in test__switch_tracking()409 switch_evsel->immediate = true; in test__switch_tracking()546 switch_tracking.switch_evsel = switch_evsel; in test__switch_tracking()
807 struct evsel *switch_evsel; in intel_pt_recording_options() local809 switch_evsel = evlist__add_dummy_on_all_cpus(evlist); in intel_pt_recording_options()810 if (!switch_evsel) in intel_pt_recording_options()813 switch_evsel->core.attr.context_switch = 1; in intel_pt_recording_options()814 switch_evsel->immediate = true; in intel_pt_recording_options()816 evsel__set_sample_bit(switch_evsel, TID); in intel_pt_recording_options()817 evsel__set_sample_bit(switch_evsel, TIME); in intel_pt_recording_options()818 evsel__set_sample_bit(switch_evsel, CPU); in intel_pt_recording_options()819 evsel__reset_sample_bit(switch_evsel, BRANCH_STACK); in intel_pt_recording_options()
67 struct evsel *switch_evsel; member3152 if (evsel != pt->switch_evsel) in intel_pt_process_switch()3436 if (pt->switch_evsel && event->header.type == PERF_RECORD_SAMPLE) in intel_pt_process_event()4279 pt->switch_evsel = intel_pt_find_sched_switch(session->evlist); in intel_pt_process_auxtrace_info()4280 if (!pt->switch_evsel) { in intel_pt_process_auxtrace_info()