Home
last modified time | relevance | path

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

/linux-4.4.14/tools/perf/tests/
Dswitch-tracking.c52 struct perf_evsel *switch_evsel; member
128 if (evsel == switch_tracking->switch_evsel) { in process_sample_event()
325 struct perf_evsel *switch_evsel, *tracking_evsel; in test__switch_tracking() local
380 switch_evsel = perf_evlist__last(evlist); in test__switch_tracking()
382 perf_evsel__set_sample_bit(switch_evsel, CPU); in test__switch_tracking()
383 perf_evsel__set_sample_bit(switch_evsel, TIME); in test__switch_tracking()
385 switch_evsel->system_wide = true; in test__switch_tracking()
386 switch_evsel->no_aux_samples = true; in test__switch_tracking()
387 switch_evsel->immediate = true; in test__switch_tracking()
524 switch_tracking.switch_evsel = switch_evsel; in test__switch_tracking()
/linux-4.4.14/tools/perf/arch/x86/util/
Dintel-pt.c632 struct perf_evsel *switch_evsel; in intel_pt_recording_options() local
638 switch_evsel = perf_evlist__last(evlist); in intel_pt_recording_options()
640 switch_evsel->attr.freq = 0; in intel_pt_recording_options()
641 switch_evsel->attr.sample_period = 1; in intel_pt_recording_options()
642 switch_evsel->attr.context_switch = 1; in intel_pt_recording_options()
644 switch_evsel->system_wide = true; in intel_pt_recording_options()
645 switch_evsel->no_aux_samples = true; in intel_pt_recording_options()
646 switch_evsel->immediate = true; in intel_pt_recording_options()
648 perf_evsel__set_sample_bit(switch_evsel, TID); in intel_pt_recording_options()
649 perf_evsel__set_sample_bit(switch_evsel, TIME); in intel_pt_recording_options()
[all …]
/linux-4.4.14/tools/perf/util/
Dintel-pt.c57 struct perf_evsel *switch_evsel; member
1562 if (evsel != pt->switch_evsel) in intel_pt_process_switch()
1686 if (pt->switch_evsel && event->header.type == PERF_RECORD_SAMPLE) in intel_pt_process_event()
2090 pt->switch_evsel = intel_pt_find_sched_switch(session->evlist); in intel_pt_process_auxtrace_info()
2091 if (!pt->switch_evsel) { in intel_pt_process_auxtrace_info()