Lines Matching refs:evsel
118 struct perf_evsel *evsel, *intel_bts_evsel = NULL; in intel_bts_recording_options() local
125 evlist__for_each(evlist, evsel) { in intel_bts_recording_options()
126 if (evsel->attr.type == intel_bts_pmu->type) { in intel_bts_recording_options()
131 evsel->attr.freq = 0; in intel_bts_recording_options()
132 evsel->attr.sample_period = 1; in intel_bts_recording_options()
133 intel_bts_evsel = evsel; in intel_bts_recording_options()
326 struct perf_evsel *evsel; in intel_bts_snapshot_start() local
328 evlist__for_each(btsr->evlist, evsel) { in intel_bts_snapshot_start()
329 if (evsel->attr.type == btsr->intel_bts_pmu->type) in intel_bts_snapshot_start()
330 return perf_evlist__disable_event(btsr->evlist, evsel); in intel_bts_snapshot_start()
339 struct perf_evsel *evsel; in intel_bts_snapshot_finish() local
341 evlist__for_each(btsr->evlist, evsel) { in intel_bts_snapshot_finish()
342 if (evsel->attr.type == btsr->intel_bts_pmu->type) in intel_bts_snapshot_finish()
343 return perf_evlist__enable_event(btsr->evlist, evsel); in intel_bts_snapshot_finish()
421 struct perf_evsel *evsel; in intel_bts_read_finish() local
423 evlist__for_each(btsr->evlist, evsel) { in intel_bts_read_finish()
424 if (evsel->attr.type == btsr->intel_bts_pmu->type) in intel_bts_read_finish()
426 evsel, idx); in intel_bts_read_finish()