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()
792 struct evsel *switch_evsel; in intel_pt_recording_options() local794 switch_evsel = evlist__add_dummy_on_all_cpus(evlist); in intel_pt_recording_options()795 if (!switch_evsel) in intel_pt_recording_options()798 switch_evsel->core.attr.context_switch = 1; in intel_pt_recording_options()799 switch_evsel->immediate = true; in intel_pt_recording_options()801 evsel__set_sample_bit(switch_evsel, TID); in intel_pt_recording_options()802 evsel__set_sample_bit(switch_evsel, TIME); in intel_pt_recording_options()803 evsel__set_sample_bit(switch_evsel, CPU); in intel_pt_recording_options()804 evsel__reset_sample_bit(switch_evsel, BRANCH_STACK); in intel_pt_recording_options()
68 struct evsel *switch_evsel; member3216 if (evsel != pt->switch_evsel) in intel_pt_process_switch()3508 if (pt->switch_evsel && event->header.type == PERF_RECORD_SAMPLE) in intel_pt_process_event()4362 pt->switch_evsel = intel_pt_find_sched_switch(session->evlist); in intel_pt_process_auxtrace_info()4363 if (!pt->switch_evsel) { in intel_pt_process_auxtrace_info()