Home
last modified time | relevance | path

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

/openbmc/linux/tools/perf/tests/
H A Dswitch-tracking.c64 struct evsel *switch_evsel; member
140 if (evsel == switch_tracking->switch_evsel) { in process_sample_event()
344 struct evsel *switch_evsel, *tracking_evsel; in test__switch_tracking() local
393 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()
/openbmc/linux/tools/perf/arch/x86/util/
H A Dintel-pt.c792 struct evsel *switch_evsel; in intel_pt_recording_options() local
794 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()
/openbmc/linux/tools/perf/util/
H A Dintel-pt.c68 struct evsel *switch_evsel; member
3220 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()