Home
last modified time | relevance | path

Searched refs:switch_evsel (Results 1 – 3 of 3) sorted by relevance

/tools/perf/tests/
A Dswitch-tracking.c64 struct evsel *switch_evsel; member
142 if (evsel == switch_tracking->switch_evsel) { in process_sample_event()
350 struct evsel *switch_evsel, *tracking_evsel; in test__switch_tracking() local
399 switch_evsel = evlist__add_sched_switch(evlist, true); in test__switch_tracking()
400 if (IS_ERR(switch_evsel)) { in test__switch_tracking()
401 err = PTR_ERR(switch_evsel); in test__switch_tracking()
406 switch_evsel->immediate = true; in test__switch_tracking()
543 switch_tracking.switch_evsel = switch_evsel; in test__switch_tracking()
/tools/perf/arch/x86/util/
A Dintel-pt.c800 struct evsel *switch_evsel; in intel_pt_recording_options() local
802 switch_evsel = evlist__add_dummy_on_all_cpus(evlist); in intel_pt_recording_options()
803 if (!switch_evsel) in intel_pt_recording_options()
806 switch_evsel->core.attr.context_switch = 1; in intel_pt_recording_options()
807 switch_evsel->immediate = true; in intel_pt_recording_options()
809 evsel__set_sample_bit(switch_evsel, TID); in intel_pt_recording_options()
810 evsel__set_sample_bit(switch_evsel, TIME); in intel_pt_recording_options()
811 evsel__set_sample_bit(switch_evsel, CPU); in intel_pt_recording_options()
812 evsel__reset_sample_bit(switch_evsel, BRANCH_STACK); in intel_pt_recording_options()
/tools/perf/util/
A Dintel-pt.c68 struct evsel *switch_evsel; member
3426 if (evsel != pt->switch_evsel) in intel_pt_process_switch()
3762 if (pt->switch_evsel && event->header.type == PERF_RECORD_SAMPLE) in intel_pt_process_event()
4595 pt->switch_evsel = intel_pt_find_sched_switch(session->evlist); in intel_pt_process_auxtrace_info()
4596 if (!pt->switch_evsel) { in intel_pt_process_auxtrace_info()

Completed in 16 milliseconds